[ aws . workspaces ]
Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.
See also: AWS API Documentation
get-agentic-workspace-configuration
--workspace-id <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
[--help]
--workspace-id (string) [required]
The identifier of the WorkSpace.
Constraints:
- pattern:
^ws-[0-9a-z]{8,63}$
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
--help (boolean)
Display help for the command/subcommand.
AgenticWorkspaceConfiguration -> (structure)
The agentic configuration of the WorkSpace.
Models -> (list) [required]
The models associated with the WorkSpace.
Constraints:
- min:
1- max:
25(structure)
Describes a model associated with a WorkSpace.
Id -> (string) [required]
The identifier of the model.
Constraints:
- min:
1- max:
128- pattern:
^[a-z0-9][a-z0-9._:-]*$Name -> (string) [required]
The name of the model.
Constraints:
- min:
1- max:
256AgentRuntime -> (structure) [required]
The agent runtime of the WorkSpace.
Id -> (string) [required]
The identifier of the agent runtime.
Constraints:
- min:
8- max:
64- pattern:
^wsart-[0-9a-z]{2,58}$Name -> (string) [required]
The name of the agent runtime.
Constraints:
- min:
1- max:
64Connectors -> (list)
The connectors associated with the WorkSpace.
Constraints:
- min:
0- max:
25(structure)
Describes an agentic connector associated with a WorkSpace.
Id -> (string) [required]
The identifier of the connector.
Constraints:
- min:
10- max:
64- pattern:
^wsacn-[0-9a-z]{4,58}$Name -> (string) [required]
The name of the connector.
Constraints:
- min:
1- max:
64Contexts -> (list)
The contexts associated with the WorkSpace.
Constraints:
- min:
0- max:
50(structure)
Describes an agentic context associated with a WorkSpace.
Id -> (string) [required]
The identifier of the context.
Constraints:
- min:
15- max:
64- pattern:
^wsactx-[0-9a-z]{8,57}$Name -> (string) [required]
The name of the context.
Constraints:
- min:
1- max:
64ContextType -> (string) [required]
The type of the context. Valid values:
STEERING– Guidance that shapes how the agent behaves.SKILL– A reusable capability that the agent can use.WORKFLOW– A multi-step procedure that the agent follows.Possible values:
STEERINGSKILLWORKFLOWFileName -> (string) [required]
The name of the Markdown file that the context is written to on the WorkSpace.
Constraints:
- min:
1- max:
255- pattern:
^(?!\.\.?$)[A-Za-z0-9._-]+$WorkspaceEnforcedPolicy -> (structure)
The WorkSpace-enforced policy associated with the WorkSpace. This field is absent if none is associated.
PolicyId -> (string) [required]
The identifier of the policy.
Constraints:
- min:
13- max:
64- pattern:
^wsep-[0-9a-z]{8,59}$SyncStatus -> (string)
Whether the policy is applied:
PENDING_UPDATE– The WorkSpace hasn’t confirmed the policy yet.IN_SYNC– The policy is applied.FAILED– The policy isn’t applied.This field isn’t returned if the service can’t determine the status. Don’t treat a missing value as
IN_SYNC.Possible values:
PENDING_UPDATEIN_SYNCFAILEDErrorCode -> (string)
The reason that the policy wasn’t applied. This field is returned only when
SyncStatusisFAILEDbecause of this policy. IfSyncStatusisFAILEDand this field isn’t returned, the failure has another cause.Possible values:
POLICY_APPLY_FAILEDErrorMessage -> (string)
A description of why the policy wasn’t applied to the WorkSpace. This field is usually returned when
ErrorCodeis returned.Constraints:
- min:
1- max:
1024AgentEnforcedPolicy -> (structure)
The agent-enforced policy associated with the WorkSpace. This field is absent if none is associated.
PolicyId -> (string) [required]
The identifier of the policy.
Constraints:
- min:
13- max:
64- pattern:
^wsae-[0-9a-z]{8,59}$SyncStatus -> (string)
Whether the policy is applied:
PENDING_UPDATE– The WorkSpace hasn’t confirmed the policy yet.IN_SYNC– The policy is applied.FAILED– The policy isn’t applied.This field isn’t returned if the service can’t determine the status. Don’t treat a missing value as
IN_SYNC.Possible values:
PENDING_UPDATEIN_SYNCFAILEDErrorCode -> (string)
The reason that the policy wasn’t applied. This field is returned only when
SyncStatusisFAILEDbecause of this policy. IfSyncStatusisFAILEDand this field isn’t returned, the failure has another cause.Possible values:
POLICY_APPLY_FAILEDErrorMessage -> (string)
A description of why the policy wasn’t applied to the agent. This field is usually returned when
ErrorCodeis returned.Constraints:
- min:
1- max:
1024AgenticRuntimeState -> (structure)
The health of the agent on the WorkSpace. This field isn’t returned if the service can’t get the agent’s health.
Status -> (string) [required]
The health of the agent.
UNKNOWNindicates that the service couldn’t determine the agent’s health, for example, because the WorkSpace isn’t running.Possible values:
AVAILABLEPENDINGIMPAIREDERRORUNKNOWNErrorCode -> (string)
The check or operation that set the agent’s health status. This field isn’t returned when the health status is
AVAILABLE, and might not be returned for other statuses. The service can add values, so make sure that your code handles values that aren’t in the list of valid values.Possible values:
BOOTINSTALLRECONCILESELF_UPDATEROLLBACKAGENT_UPDATE_REQUIREDCREDENTIAL_REFRESH_FAILINGPERMISSION_DENIEDSESSION_CAPACITY_EXHAUSTEDBOOT_TIMED_OUTRECONCILE_TIMED_OUTCODING_AGENT_BINARY_MISSINGCODING_AGENT_BINARY_CORRUPTCREDENTIALS_EXPIREDCONFIG_APPLY_FAILEDDCV_CHANNEL_UNAVAILABLEWORKSPACE_NOT_RUNNINGAGENT_UNREACHABLEErrorMessage -> (string)
A description of the agent’s health status. This field isn’t returned when the health status is
AVAILABLE. It’s returned for every other status, even whenErrorCodeisn’t returned.Constraints:
- min:
1- max:
1024