aws-sdk-workspaces 1.180.0 → 1.182.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -528,6 +528,96 @@ module Aws::WorkSpaces
528
528
  req.send_request(options)
529
529
  end
530
530
 
531
+ # Adds models from the supported model catalog to your account's model
532
+ # list. The operation ignores models that are already on the list. You
533
+ # can specify up to 25 models in a request. If a model isn't in the
534
+ # supported model catalog, the operation returns an error. If the
535
+ # request would exceed the maximum number of models on your account's
536
+ # model list, the operation returns `ServiceQuotaExceededException`.
537
+ #
538
+ # @option params [required, Array<String>] :model_ids
539
+ # The identifiers of the models to add to your account's model list.
540
+ #
541
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
542
+ #
543
+ #
544
+ # @example Example: Example – Adding models to an account's model list
545
+ #
546
+ # # The following example adds three models to the account's model list.
547
+ #
548
+ # resp = client.associate_account_models({
549
+ # model_ids: [
550
+ # "anthropic.claude-sonnet-5-5",
551
+ # "anthropic.claude-opus-5-5",
552
+ # "anthropic.claude-haiku-5-5",
553
+ # ],
554
+ # })
555
+ #
556
+ # resp.to_h outputs the following:
557
+ # {
558
+ # }
559
+ #
560
+ # @example Request syntax with placeholder values
561
+ #
562
+ # resp = client.associate_account_models({
563
+ # model_ids: ["ModelId"], # required
564
+ # })
565
+ #
566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateAccountModels AWS API Documentation
567
+ #
568
+ # @overload associate_account_models(params = {})
569
+ # @param [Hash] params ({})
570
+ def associate_account_models(params = {}, options = {})
571
+ req = build_request(:associate_account_models, params)
572
+ req.send_request(options)
573
+ end
574
+
575
+ # Associates an agent-enforced policy with the specified WorkSpace,
576
+ # replacing its current agent-enforced policy. If the WorkSpace can't
577
+ # apply the policy, the policy stays associated and the operation
578
+ # returns `PolicyApplyFailedException`. If the WorkSpace is in a state
579
+ # that doesn't allow the change, the policy is being deleted, or
580
+ # another request changed the WorkSpace's agent-enforced policy at the
581
+ # same time, the operation returns `ConflictException`.
582
+ #
583
+ # @option params [required, String] :workspace_id
584
+ # The identifier of the WorkSpace.
585
+ #
586
+ # @option params [required, String] :policy_id
587
+ # The identifier of the policy.
588
+ #
589
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
590
+ #
591
+ #
592
+ # @example Example: Example – Applying an agent-enforced policy to a WorkSpace
593
+ #
594
+ # # The following example applies an agent-enforced policy to a WorkSpace.
595
+ #
596
+ # resp = client.associate_agent_enforced_policy({
597
+ # policy_id: "wsae-a1b2c3d4",
598
+ # workspace_id: "ws-dk1example1",
599
+ # })
600
+ #
601
+ # resp.to_h outputs the following:
602
+ # {
603
+ # }
604
+ #
605
+ # @example Request syntax with placeholder values
606
+ #
607
+ # resp = client.associate_agent_enforced_policy({
608
+ # workspace_id: "WorkspaceId", # required
609
+ # policy_id: "AgentEnforcedPolicyId", # required
610
+ # })
611
+ #
612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateAgentEnforcedPolicy AWS API Documentation
613
+ #
614
+ # @overload associate_agent_enforced_policy(params = {})
615
+ # @param [Hash] params ({})
616
+ def associate_agent_enforced_policy(params = {}, options = {})
617
+ req = build_request(:associate_agent_enforced_policy, params)
618
+ req.send_request(options)
619
+ end
620
+
531
621
  # Associates the specified connection alias with the specified directory
532
622
  # to enable cross-Region redirection. For more information, see [
533
623
  # Cross-Region Redirection for Amazon WorkSpaces][1].
@@ -601,6 +691,99 @@ module Aws::WorkSpaces
601
691
  req.send_request(options)
602
692
  end
603
693
 
694
+ # Associates agentic connectors with the specified WorkSpace. The
695
+ # operation ignores connectors that are already associated with the
696
+ # WorkSpace. The connectors must be activated for your account. To
697
+ # activate a connector, call `UpdateAgenticConnectorActivationStatus`. A
698
+ # WorkSpace can have up to 25 connectors. If the request would exceed
699
+ # this limit, the operation returns `ServiceQuotaExceededException`.
700
+ #
701
+ # @option params [required, String] :workspace_id
702
+ # The identifier of the WorkSpace.
703
+ #
704
+ # @option params [required, Array<String>] :agentic_connector_ids
705
+ # The identifiers of the connectors to associate.
706
+ #
707
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
708
+ #
709
+ #
710
+ # @example Example: Example – Adding a connector to a WorkSpace
711
+ #
712
+ # # The following example adds an activated connector to an agentic WorkSpace.
713
+ #
714
+ # resp = client.associate_workspace_agentic_connectors({
715
+ # agentic_connector_ids: [
716
+ # "wsacn-jira",
717
+ # ],
718
+ # workspace_id: "ws-dk1example1",
719
+ # })
720
+ #
721
+ # resp.to_h outputs the following:
722
+ # {
723
+ # }
724
+ #
725
+ # @example Request syntax with placeholder values
726
+ #
727
+ # resp = client.associate_workspace_agentic_connectors({
728
+ # workspace_id: "WorkspaceId", # required
729
+ # agentic_connector_ids: ["AgenticConnectorId"], # required
730
+ # })
731
+ #
732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateWorkspaceAgenticConnectors AWS API Documentation
733
+ #
734
+ # @overload associate_workspace_agentic_connectors(params = {})
735
+ # @param [Hash] params ({})
736
+ def associate_workspace_agentic_connectors(params = {}, options = {})
737
+ req = build_request(:associate_workspace_agentic_connectors, params)
738
+ req.send_request(options)
739
+ end
740
+
741
+ # Associates agentic contexts with the specified WorkSpace. The
742
+ # operation ignores contexts that are already associated with the
743
+ # WorkSpace. A WorkSpace can have up to 50 contexts. If the request
744
+ # would exceed this limit, the operation returns
745
+ # `ServiceQuotaExceededException`.
746
+ #
747
+ # @option params [required, String] :workspace_id
748
+ # The identifier of the WorkSpace.
749
+ #
750
+ # @option params [required, Array<String>] :agentic_context_ids
751
+ # The identifiers of the contexts to associate.
752
+ #
753
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
754
+ #
755
+ #
756
+ # @example Example: Example – Adding a context to a WorkSpace
757
+ #
758
+ # # The following example adds a context to an agentic WorkSpace.
759
+ #
760
+ # resp = client.associate_workspace_agentic_contexts({
761
+ # agentic_context_ids: [
762
+ # "wsactx-e5f6g7h8",
763
+ # ],
764
+ # workspace_id: "ws-dk1example1",
765
+ # })
766
+ #
767
+ # resp.to_h outputs the following:
768
+ # {
769
+ # }
770
+ #
771
+ # @example Request syntax with placeholder values
772
+ #
773
+ # resp = client.associate_workspace_agentic_contexts({
774
+ # workspace_id: "WorkspaceId", # required
775
+ # agentic_context_ids: ["AgenticContextId"], # required
776
+ # })
777
+ #
778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateWorkspaceAgenticContexts AWS API Documentation
779
+ #
780
+ # @overload associate_workspace_agentic_contexts(params = {})
781
+ # @param [Hash] params ({})
782
+ def associate_workspace_agentic_contexts(params = {}, options = {})
783
+ req = build_request(:associate_workspace_agentic_contexts, params)
784
+ req.send_request(options)
785
+ end
786
+
604
787
  # Associates the specified application to the specified WorkSpace.
605
788
  #
606
789
  # @option params [required, String] :workspace_id
@@ -640,6 +823,99 @@ module Aws::WorkSpaces
640
823
  req.send_request(options)
641
824
  end
642
825
 
826
+ # Associates a WorkSpace-enforced policy with the specified WorkSpace,
827
+ # replacing its current WorkSpace-enforced policy. If the WorkSpace
828
+ # can't apply the policy, the policy stays associated and the operation
829
+ # returns `PolicyApplyFailedException`. If the WorkSpace is in a state
830
+ # that doesn't allow the change, the policy is being deleted, or
831
+ # another request changed the WorkSpace's WorkSpace-enforced policy at
832
+ # the same time, the operation returns `ConflictException`.
833
+ #
834
+ # @option params [required, String] :workspace_id
835
+ # The identifier of the WorkSpace.
836
+ #
837
+ # @option params [required, String] :policy_id
838
+ # The identifier of the policy.
839
+ #
840
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
841
+ #
842
+ #
843
+ # @example Example: Example – Applying a WorkSpace-enforced policy to a WorkSpace
844
+ #
845
+ # # The following example applies a WorkSpace-enforced policy to a WorkSpace.
846
+ #
847
+ # resp = client.associate_workspace_enforced_policy({
848
+ # policy_id: "wsep-a1b2c3d4",
849
+ # workspace_id: "ws-dk1example1",
850
+ # })
851
+ #
852
+ # resp.to_h outputs the following:
853
+ # {
854
+ # }
855
+ #
856
+ # @example Request syntax with placeholder values
857
+ #
858
+ # resp = client.associate_workspace_enforced_policy({
859
+ # workspace_id: "WorkspaceId", # required
860
+ # policy_id: "WorkspaceEnforcedPolicyId", # required
861
+ # })
862
+ #
863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateWorkspaceEnforcedPolicy AWS API Documentation
864
+ #
865
+ # @overload associate_workspace_enforced_policy(params = {})
866
+ # @param [Hash] params ({})
867
+ def associate_workspace_enforced_policy(params = {}, options = {})
868
+ req = build_request(:associate_workspace_enforced_policy, params)
869
+ req.send_request(options)
870
+ end
871
+
872
+ # Associates models with the specified WorkSpace. The models must be on
873
+ # your account's model list. The operation ignores models that are
874
+ # already associated with the WorkSpace. A WorkSpace can have up to 25
875
+ # models. If the request would exceed this limit, the operation returns
876
+ # `ServiceQuotaExceededException`.
877
+ #
878
+ # @option params [required, String] :workspace_id
879
+ # The identifier of the WorkSpace.
880
+ #
881
+ # @option params [required, Array<String>] :model_ids
882
+ # The identifiers of the models to associate.
883
+ #
884
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
885
+ #
886
+ #
887
+ # @example Example: Example – Adding a model to a WorkSpace
888
+ #
889
+ # # The following example adds a model to an agentic WorkSpace. The model must already be on your account's model list. To
890
+ # # add it, call AssociateAccountModels.
891
+ #
892
+ # resp = client.associate_workspace_models({
893
+ # model_ids: [
894
+ # "anthropic.claude-opus-5-5",
895
+ # ],
896
+ # workspace_id: "ws-dk1example1",
897
+ # })
898
+ #
899
+ # resp.to_h outputs the following:
900
+ # {
901
+ # }
902
+ #
903
+ # @example Request syntax with placeholder values
904
+ #
905
+ # resp = client.associate_workspace_models({
906
+ # workspace_id: "WorkspaceId", # required
907
+ # model_ids: ["ModelId"], # required
908
+ # })
909
+ #
910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateWorkspaceModels AWS API Documentation
911
+ #
912
+ # @overload associate_workspace_models(params = {})
913
+ # @param [Hash] params ({})
914
+ def associate_workspace_models(params = {}, options = {})
915
+ req = build_request(:associate_workspace_models, params)
916
+ req.send_request(options)
917
+ end
918
+
643
919
  # Adds one or more rules to the specified IP access control group.
644
920
  #
645
921
  # This action gives users permission to access their WorkSpaces from the
@@ -674,6 +950,519 @@ module Aws::WorkSpaces
674
950
  req.send_request(options)
675
951
  end
676
952
 
953
+ # Describes the specified agent-enforced policies.
954
+ #
955
+ # @option params [required, Array<String>] :policy_ids
956
+ # The identifiers of the policies to describe. If you specify an
957
+ # identifier more than once, the response includes it only once.
958
+ #
959
+ # @return [Types::BatchGetAgentEnforcedPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
960
+ #
961
+ # * {Types::BatchGetAgentEnforcedPolicyResult#policies #policies} => Array&lt;Types::AgentEnforcedPolicy&gt;
962
+ # * {Types::BatchGetAgentEnforcedPolicyResult#errors #errors} => Array&lt;Types::AgentEnforcedPolicyError&gt;
963
+ #
964
+ #
965
+ # @example Example: Example – Getting an agent-enforced policy
966
+ #
967
+ # # The following example gets an agent-enforced policy, including its policy document.
968
+ #
969
+ # resp = client.batch_get_agent_enforced_policy({
970
+ # policy_ids: [
971
+ # "wsae-a1b2c3d4",
972
+ # ],
973
+ # })
974
+ #
975
+ # resp.to_h outputs the following:
976
+ # {
977
+ # errors: [
978
+ # ],
979
+ # policies: [
980
+ # {
981
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
982
+ # id: "wsae-a1b2c3d4",
983
+ # name: "no-user-extensions",
984
+ # owner: "SELF",
985
+ # policy_body: "{\"allowUserExtensions\":false}",
986
+ # },
987
+ # ],
988
+ # }
989
+ #
990
+ # @example Request syntax with placeholder values
991
+ #
992
+ # resp = client.batch_get_agent_enforced_policy({
993
+ # policy_ids: ["AgentEnforcedPolicyId"], # required
994
+ # })
995
+ #
996
+ # @example Response structure
997
+ #
998
+ # resp.policies #=> Array
999
+ # resp.policies[0].id #=> String
1000
+ # resp.policies[0].name #=> String
1001
+ # resp.policies[0].policy_body #=> String
1002
+ # resp.policies[0].created_at #=> Time
1003
+ # resp.policies[0].owner #=> String, one of "SELF", "AMAZON"
1004
+ # resp.errors #=> Array
1005
+ # resp.errors[0].policy_id #=> String
1006
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND"
1007
+ # resp.errors[0].message #=> String
1008
+ #
1009
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/BatchGetAgentEnforcedPolicy AWS API Documentation
1010
+ #
1011
+ # @overload batch_get_agent_enforced_policy(params = {})
1012
+ # @param [Hash] params ({})
1013
+ def batch_get_agent_enforced_policy(params = {}, options = {})
1014
+ req = build_request(:batch_get_agent_enforced_policy, params)
1015
+ req.send_request(options)
1016
+ end
1017
+
1018
+ # Describes the specified agent runtimes.
1019
+ #
1020
+ # @option params [required, Array<String>] :agent_runtime_ids
1021
+ # The identifiers of the agent runtimes to describe. If you specify an
1022
+ # identifier more than once, the response includes it only once.
1023
+ #
1024
+ # @return [Types::BatchGetAgentRuntimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1025
+ #
1026
+ # * {Types::BatchGetAgentRuntimeResult#agent_runtimes #agent_runtimes} => Array&lt;Types::AgentRuntime&gt;
1027
+ # * {Types::BatchGetAgentRuntimeResult#errors #errors} => Array&lt;Types::AgentRuntimeError&gt;
1028
+ #
1029
+ #
1030
+ # @example Example: Example – Getting details for an agent runtime
1031
+ #
1032
+ # # The following example gets the name of an agent runtime.
1033
+ #
1034
+ # resp = client.batch_get_agent_runtime({
1035
+ # agent_runtime_ids: [
1036
+ # "wsart-claudecode",
1037
+ # ],
1038
+ # })
1039
+ #
1040
+ # resp.to_h outputs the following:
1041
+ # {
1042
+ # agent_runtimes: [
1043
+ # {
1044
+ # id: "wsart-claudecode",
1045
+ # name: "Claude Code",
1046
+ # },
1047
+ # ],
1048
+ # errors: [
1049
+ # ],
1050
+ # }
1051
+ #
1052
+ # @example Request syntax with placeholder values
1053
+ #
1054
+ # resp = client.batch_get_agent_runtime({
1055
+ # agent_runtime_ids: ["AgentRuntimeId"], # required
1056
+ # })
1057
+ #
1058
+ # @example Response structure
1059
+ #
1060
+ # resp.agent_runtimes #=> Array
1061
+ # resp.agent_runtimes[0].id #=> String
1062
+ # resp.agent_runtimes[0].name #=> String
1063
+ # resp.errors #=> Array
1064
+ # resp.errors[0].agent_runtime_id #=> String
1065
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND"
1066
+ # resp.errors[0].message #=> String
1067
+ #
1068
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/BatchGetAgentRuntime AWS API Documentation
1069
+ #
1070
+ # @overload batch_get_agent_runtime(params = {})
1071
+ # @param [Hash] params ({})
1072
+ def batch_get_agent_runtime(params = {}, options = {})
1073
+ req = build_request(:batch_get_agent_runtime, params)
1074
+ req.send_request(options)
1075
+ end
1076
+
1077
+ # Describes the specified agentic connectors.
1078
+ #
1079
+ # @option params [required, Array<String>] :agentic_connector_ids
1080
+ # The identifiers of the connectors to describe. If you specify an
1081
+ # identifier more than once, the response includes it only once.
1082
+ #
1083
+ # @return [Types::BatchGetAgenticConnectorResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1084
+ #
1085
+ # * {Types::BatchGetAgenticConnectorResult#connectors #connectors} => Array&lt;Types::AgenticConnector&gt;
1086
+ # * {Types::BatchGetAgenticConnectorResult#errors #errors} => Array&lt;Types::AgenticConnectorError&gt;
1087
+ #
1088
+ #
1089
+ # @example Example: Example – Getting details for a connector
1090
+ #
1091
+ # # The following example gets the configuration of a connector.
1092
+ #
1093
+ # resp = client.batch_get_agentic_connector({
1094
+ # agentic_connector_ids: [
1095
+ # "wsacn-github",
1096
+ # ],
1097
+ # })
1098
+ #
1099
+ # resp.to_h outputs the following:
1100
+ # {
1101
+ # connectors: [
1102
+ # {
1103
+ # activation_status: "ACTIVATED",
1104
+ # auth_type: "OAUTH",
1105
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
1106
+ # description: "Repositories, issues and pull requests on github.com.",
1107
+ # id: "wsacn-github",
1108
+ # name: "github",
1109
+ # server_type: "HOSTED",
1110
+ # updated_at: Time.parse("2026-11-02T09:30:00Z"),
1111
+ # url: "https://api.githubcopilot.com/mcp/",
1112
+ # },
1113
+ # ],
1114
+ # errors: [
1115
+ # ],
1116
+ # }
1117
+ #
1118
+ # @example Request syntax with placeholder values
1119
+ #
1120
+ # resp = client.batch_get_agentic_connector({
1121
+ # agentic_connector_ids: ["AgenticConnectorId"], # required
1122
+ # })
1123
+ #
1124
+ # @example Response structure
1125
+ #
1126
+ # resp.connectors #=> Array
1127
+ # resp.connectors[0].id #=> String
1128
+ # resp.connectors[0].name #=> String
1129
+ # resp.connectors[0].description #=> String
1130
+ # resp.connectors[0].server_type #=> String, one of "HOSTED", "LOCAL"
1131
+ # resp.connectors[0].url #=> String
1132
+ # resp.connectors[0].command #=> String
1133
+ # resp.connectors[0].args #=> Array
1134
+ # resp.connectors[0].args[0] #=> String
1135
+ # resp.connectors[0].auth_type #=> String, one of "OAUTH", "API_KEY", "NONE"
1136
+ # resp.connectors[0].o_auth_config.client_id #=> String
1137
+ # resp.connectors[0].o_auth_config.client_secret_arn #=> String
1138
+ # resp.connectors[0].o_auth_config.scopes #=> Array
1139
+ # resp.connectors[0].o_auth_config.scopes[0] #=> String
1140
+ # resp.connectors[0].o_auth_config.authorization_url #=> String
1141
+ # resp.connectors[0].o_auth_config.token_url #=> String
1142
+ # resp.connectors[0].api_key_secret_arn #=> String
1143
+ # resp.connectors[0].allowed_tools #=> Array
1144
+ # resp.connectors[0].allowed_tools[0] #=> String
1145
+ # resp.connectors[0].blocked_tools #=> Array
1146
+ # resp.connectors[0].blocked_tools[0] #=> String
1147
+ # resp.connectors[0].created_at #=> Time
1148
+ # resp.connectors[0].updated_at #=> Time
1149
+ # resp.connectors[0].activation_status #=> String, one of "ACTIVATED", "DEACTIVATED", "PENDING", "PENDING_DELETE", "ACTIVATION_ERROR", "DEACTIVATION_ERROR"
1150
+ # resp.errors #=> Array
1151
+ # resp.errors[0].agentic_connector_id #=> String
1152
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND"
1153
+ # resp.errors[0].message #=> String
1154
+ #
1155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/BatchGetAgenticConnector AWS API Documentation
1156
+ #
1157
+ # @overload batch_get_agentic_connector(params = {})
1158
+ # @param [Hash] params ({})
1159
+ def batch_get_agentic_connector(params = {}, options = {})
1160
+ req = build_request(:batch_get_agentic_connector, params)
1161
+ req.send_request(options)
1162
+ end
1163
+
1164
+ # Describes the specified agentic contexts, without their bodies. To get
1165
+ # the body of a context, call `GetAgenticContext`. If you don't have
1166
+ # permission to describe any one of the specified contexts, the
1167
+ # operation returns `AccessDeniedException` and no results.
1168
+ #
1169
+ # @option params [required, Array<String>] :agentic_context_ids
1170
+ # The identifiers of the contexts to describe. If you specify an
1171
+ # identifier more than once, the response includes it only once.
1172
+ #
1173
+ # @return [Types::BatchGetAgenticContextMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1174
+ #
1175
+ # * {Types::BatchGetAgenticContextMetadataResult#agentic_context_metadata #agentic_context_metadata} => Array&lt;Types::AgenticContextMetadata&gt;
1176
+ # * {Types::BatchGetAgenticContextMetadataResult#errors #errors} => Array&lt;Types::AgenticContextError&gt;
1177
+ #
1178
+ #
1179
+ # @example Example: Example – Getting metadata for several contexts
1180
+ #
1181
+ # # The following example gets the metadata, without the body, of two contexts.
1182
+ #
1183
+ # resp = client.batch_get_agentic_context_metadata({
1184
+ # agentic_context_ids: [
1185
+ # "wsactx-a1b2c3d4",
1186
+ # "wsactx-e5f6g7h8",
1187
+ # ],
1188
+ # })
1189
+ #
1190
+ # resp.to_h outputs the following:
1191
+ # {
1192
+ # agentic_context_metadata: [
1193
+ # {
1194
+ # context_body_size_bytes: 54,
1195
+ # context_type: "STEERING",
1196
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
1197
+ # id: "wsactx-a1b2c3d4",
1198
+ # name: "coding-standards",
1199
+ # target_file_path: "coding-standards.md",
1200
+ # updated_at: Time.parse("2026-11-01T17:00:00Z"),
1201
+ # },
1202
+ # {
1203
+ # context_body_size_bytes: 1024,
1204
+ # context_type: "WORKFLOW",
1205
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
1206
+ # id: "wsactx-e5f6g7h8",
1207
+ # name: "release-checklist",
1208
+ # target_file_path: "release-checklist.md",
1209
+ # updated_at: Time.parse("2026-11-02T09:30:00Z"),
1210
+ # },
1211
+ # ],
1212
+ # errors: [
1213
+ # ],
1214
+ # }
1215
+ #
1216
+ # @example Request syntax with placeholder values
1217
+ #
1218
+ # resp = client.batch_get_agentic_context_metadata({
1219
+ # agentic_context_ids: ["AgenticContextId"], # required
1220
+ # })
1221
+ #
1222
+ # @example Response structure
1223
+ #
1224
+ # resp.agentic_context_metadata #=> Array
1225
+ # resp.agentic_context_metadata[0].id #=> String
1226
+ # resp.agentic_context_metadata[0].name #=> String
1227
+ # resp.agentic_context_metadata[0].description #=> String
1228
+ # resp.agentic_context_metadata[0].context_type #=> String, one of "STEERING", "SKILL", "WORKFLOW"
1229
+ # resp.agentic_context_metadata[0].target_file_path #=> String
1230
+ # resp.agentic_context_metadata[0].context_body_size_bytes #=> Integer
1231
+ # resp.agentic_context_metadata[0].created_at #=> Time
1232
+ # resp.agentic_context_metadata[0].updated_at #=> Time
1233
+ # resp.errors #=> Array
1234
+ # resp.errors[0].agentic_context_id #=> String
1235
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND"
1236
+ # resp.errors[0].message #=> String
1237
+ #
1238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/BatchGetAgenticContextMetadata AWS API Documentation
1239
+ #
1240
+ # @overload batch_get_agentic_context_metadata(params = {})
1241
+ # @param [Hash] params ({})
1242
+ def batch_get_agentic_context_metadata(params = {}, options = {})
1243
+ req = build_request(:batch_get_agentic_context_metadata, params)
1244
+ req.send_request(options)
1245
+ end
1246
+
1247
+ # Describes the specified agentic persona configurations. If you don't
1248
+ # have permission to describe any one of the specified persona
1249
+ # configurations, the operation returns `AccessDeniedException` and no
1250
+ # results.
1251
+ #
1252
+ # @option params [required, Array<String>] :agentic_persona_configuration_ids
1253
+ # The identifiers of the persona configurations to describe. If you
1254
+ # specify an identifier more than once, the response includes it only
1255
+ # once.
1256
+ #
1257
+ # @return [Types::BatchGetAgenticPersonaConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1258
+ #
1259
+ # * {Types::BatchGetAgenticPersonaConfigurationResult#agentic_persona_configurations #agentic_persona_configurations} => Array&lt;Types::AgenticPersonaConfiguration&gt;
1260
+ # * {Types::BatchGetAgenticPersonaConfigurationResult#errors #errors} => Array&lt;Types::AgenticPersonaConfigurationError&gt;
1261
+ #
1262
+ #
1263
+ # @example Example: Example – Getting a persona configuration
1264
+ #
1265
+ # # The following example gets a persona configuration.
1266
+ #
1267
+ # resp = client.batch_get_agentic_persona_configuration({
1268
+ # agentic_persona_configuration_ids: [
1269
+ # "wsapc-a1b2c3d4",
1270
+ # ],
1271
+ # })
1272
+ #
1273
+ # resp.to_h outputs the following:
1274
+ # {
1275
+ # agentic_persona_configurations: [
1276
+ # {
1277
+ # agent_enforced_policy_id: "wsae-a1b2c3d4",
1278
+ # agent_runtime_id: "wsart-claudecode",
1279
+ # agentic_connector_ids: [
1280
+ # "wsacn-github",
1281
+ # ],
1282
+ # agentic_context_ids: [
1283
+ # "wsactx-a1b2c3d4",
1284
+ # ],
1285
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
1286
+ # description: "Persona for backend developers.",
1287
+ # id: "wsapc-a1b2c3d4",
1288
+ # model_ids: [
1289
+ # "anthropic.claude-sonnet-5-5",
1290
+ # "anthropic.claude-opus-5-5",
1291
+ # ],
1292
+ # name: "backend-developer",
1293
+ # workspace_enforced_policy_id: "wsep-a1b2c3d4",
1294
+ # },
1295
+ # ],
1296
+ # errors: [
1297
+ # ],
1298
+ # }
1299
+ #
1300
+ # @example Request syntax with placeholder values
1301
+ #
1302
+ # resp = client.batch_get_agentic_persona_configuration({
1303
+ # agentic_persona_configuration_ids: ["AgenticPersonaConfigurationId"], # required
1304
+ # })
1305
+ #
1306
+ # @example Response structure
1307
+ #
1308
+ # resp.agentic_persona_configurations #=> Array
1309
+ # resp.agentic_persona_configurations[0].id #=> String
1310
+ # resp.agentic_persona_configurations[0].name #=> String
1311
+ # resp.agentic_persona_configurations[0].description #=> String
1312
+ # resp.agentic_persona_configurations[0].agent_runtime_id #=> String
1313
+ # resp.agentic_persona_configurations[0].model_ids #=> Array
1314
+ # resp.agentic_persona_configurations[0].model_ids[0] #=> String
1315
+ # resp.agentic_persona_configurations[0].agentic_connector_ids #=> Array
1316
+ # resp.agentic_persona_configurations[0].agentic_connector_ids[0] #=> String
1317
+ # resp.agentic_persona_configurations[0].agentic_context_ids #=> Array
1318
+ # resp.agentic_persona_configurations[0].agentic_context_ids[0] #=> String
1319
+ # resp.agentic_persona_configurations[0].created_at #=> Time
1320
+ # resp.agentic_persona_configurations[0].workspace_enforced_policy_id #=> String
1321
+ # resp.agentic_persona_configurations[0].agent_enforced_policy_id #=> String
1322
+ # resp.errors #=> Array
1323
+ # resp.errors[0].agentic_persona_configuration_id #=> String
1324
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND"
1325
+ # resp.errors[0].message #=> String
1326
+ #
1327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/BatchGetAgenticPersonaConfiguration AWS API Documentation
1328
+ #
1329
+ # @overload batch_get_agentic_persona_configuration(params = {})
1330
+ # @param [Hash] params ({})
1331
+ def batch_get_agentic_persona_configuration(params = {}, options = {})
1332
+ req = build_request(:batch_get_agentic_persona_configuration, params)
1333
+ req.send_request(options)
1334
+ end
1335
+
1336
+ # Describes the specified models from the supported model catalog.
1337
+ #
1338
+ # @option params [required, Array<String>] :model_ids
1339
+ # The identifiers of the models to describe. If you specify an
1340
+ # identifier more than once, the response includes it only once.
1341
+ #
1342
+ # @return [Types::BatchGetModelResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1343
+ #
1344
+ # * {Types::BatchGetModelResult#models #models} => Array&lt;Types::Model&gt;
1345
+ # * {Types::BatchGetModelResult#errors #errors} => Array&lt;Types::ModelError&gt;
1346
+ #
1347
+ #
1348
+ # @example Example: Example – Getting details for several models
1349
+ #
1350
+ # # The following example gets two models. The second model ID doesn't exist, so it's returned in Errors.
1351
+ #
1352
+ # resp = client.batch_get_model({
1353
+ # model_ids: [
1354
+ # "anthropic.claude-sonnet-5-5",
1355
+ # "example.unknown-model",
1356
+ # ],
1357
+ # })
1358
+ #
1359
+ # resp.to_h outputs the following:
1360
+ # {
1361
+ # errors: [
1362
+ # {
1363
+ # error_code: "NOT_FOUND",
1364
+ # message: "The model example.unknown-model was not found.",
1365
+ # model_id: "example.unknown-model",
1366
+ # },
1367
+ # ],
1368
+ # models: [
1369
+ # {
1370
+ # model_id: "anthropic.claude-sonnet-5-5",
1371
+ # name: "Claude Sonnet 5.5",
1372
+ # },
1373
+ # ],
1374
+ # }
1375
+ #
1376
+ # @example Request syntax with placeholder values
1377
+ #
1378
+ # resp = client.batch_get_model({
1379
+ # model_ids: ["ModelId"], # required
1380
+ # })
1381
+ #
1382
+ # @example Response structure
1383
+ #
1384
+ # resp.models #=> Array
1385
+ # resp.models[0].model_id #=> String
1386
+ # resp.models[0].name #=> String
1387
+ # resp.errors #=> Array
1388
+ # resp.errors[0].model_id #=> String
1389
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND"
1390
+ # resp.errors[0].message #=> String
1391
+ #
1392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/BatchGetModel AWS API Documentation
1393
+ #
1394
+ # @overload batch_get_model(params = {})
1395
+ # @param [Hash] params ({})
1396
+ def batch_get_model(params = {}, options = {})
1397
+ req = build_request(:batch_get_model, params)
1398
+ req.send_request(options)
1399
+ end
1400
+
1401
+ # Describes the specified WorkSpace-enforced policies.
1402
+ #
1403
+ # @option params [required, Array<String>] :policy_ids
1404
+ # The identifiers of the policies to describe. If you specify an
1405
+ # identifier more than once, the response includes it only once.
1406
+ #
1407
+ # @return [Types::BatchGetWorkspaceEnforcedPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1408
+ #
1409
+ # * {Types::BatchGetWorkspaceEnforcedPolicyResult#policies #policies} => Array&lt;Types::WorkspaceEnforcedPolicy&gt;
1410
+ # * {Types::BatchGetWorkspaceEnforcedPolicyResult#errors #errors} => Array&lt;Types::WorkspaceEnforcedPolicyError&gt;
1411
+ #
1412
+ #
1413
+ # @example Example: Example – Getting a WorkSpace-enforced policy
1414
+ #
1415
+ # # The following example gets a WorkSpace-enforced policy, including its policy document.
1416
+ #
1417
+ # resp = client.batch_get_workspace_enforced_policy({
1418
+ # policy_ids: [
1419
+ # "wsep-a1b2c3d4",
1420
+ # ],
1421
+ # })
1422
+ #
1423
+ # resp.to_h outputs the following:
1424
+ # {
1425
+ # errors: [
1426
+ # ],
1427
+ # policies: [
1428
+ # {
1429
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
1430
+ # id: "wsep-a1b2c3d4",
1431
+ # name: "default-network",
1432
+ # owner: "SELF",
1433
+ # policy_body: "{\"disableInternetAccess\":false,\"deniedPaths\":[]}",
1434
+ # },
1435
+ # ],
1436
+ # }
1437
+ #
1438
+ # @example Request syntax with placeholder values
1439
+ #
1440
+ # resp = client.batch_get_workspace_enforced_policy({
1441
+ # policy_ids: ["WorkspaceEnforcedPolicyId"], # required
1442
+ # })
1443
+ #
1444
+ # @example Response structure
1445
+ #
1446
+ # resp.policies #=> Array
1447
+ # resp.policies[0].id #=> String
1448
+ # resp.policies[0].name #=> String
1449
+ # resp.policies[0].policy_body #=> String
1450
+ # resp.policies[0].created_at #=> Time
1451
+ # resp.policies[0].owner #=> String, one of "SELF", "AMAZON"
1452
+ # resp.errors #=> Array
1453
+ # resp.errors[0].policy_id #=> String
1454
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND"
1455
+ # resp.errors[0].message #=> String
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/BatchGetWorkspaceEnforcedPolicy AWS API Documentation
1458
+ #
1459
+ # @overload batch_get_workspace_enforced_policy(params = {})
1460
+ # @param [Hash] params ({})
1461
+ def batch_get_workspace_enforced_policy(params = {}, options = {})
1462
+ req = build_request(:batch_get_workspace_enforced_policy, params)
1463
+ req.send_request(options)
1464
+ end
1465
+
677
1466
  # Copies the specified image from the specified Region to the current
678
1467
  # Region. For more information about copying images, see [ Copy a Custom
679
1468
  # WorkSpaces Image][1].
@@ -779,6 +1568,328 @@ module Aws::WorkSpaces
779
1568
  req.send_request(options)
780
1569
  end
781
1570
 
1571
+ # Creates an agent-enforced policy, which the agent on the WorkSpace
1572
+ # applies. The name must be unique among the agent-enforced policies in
1573
+ # your account. If it isn't, the operation returns `ConflictException`,
1574
+ # and its `ResourceId` identifies the existing policy. If your account
1575
+ # would exceed its maximum number of agent-enforced policies, the
1576
+ # operation returns `ServiceQuotaExceededException`.
1577
+ #
1578
+ # @option params [String] :client_token
1579
+ # A unique, case-sensitive identifier that you provide to ensure that
1580
+ # the operation completes no more than one time. If this token matches a
1581
+ # previous request with the same parameters, the service returns the
1582
+ # result of that request and doesn't create another agent-enforced
1583
+ # policy.
1584
+ #
1585
+ # If you reuse the token with different parameters, the operation
1586
+ # returns `ValidationException`. If you deleted the policy created with
1587
+ # this token, the operation returns `ConflictException`.
1588
+ #
1589
+ # **A suitable default value is auto-generated.** You should normally
1590
+ # not need to pass this option.**
1591
+ #
1592
+ # @option params [required, String] :name
1593
+ # The name of the agent-enforced policy.
1594
+ #
1595
+ # @option params [required, String] :policy_body
1596
+ # Specifies the policy document, in JSON format, that defines the
1597
+ # enforced policy. It can be up to 65,536 characters long and can't
1598
+ # contain control characters other than tab, line feed, and carriage
1599
+ # return.
1600
+ #
1601
+ # @option params [Array<Types::Tag>] :tags
1602
+ # The tags to add to the agent-enforced policy. Each tag key can appear
1603
+ # only once.
1604
+ #
1605
+ # @return [Types::CreateAgentEnforcedPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1606
+ #
1607
+ # * {Types::CreateAgentEnforcedPolicyResult#policy_summary #policy_summary} => Types::AgentEnforcedPolicySummary
1608
+ #
1609
+ #
1610
+ # @example Example: Example – Creating an agent-enforced policy
1611
+ #
1612
+ # # The following example creates an agent-enforced policy that blocks user-installed extensions.
1613
+ #
1614
+ # resp = client.create_agent_enforced_policy({
1615
+ # client_token: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
1616
+ # name: "no-user-extensions",
1617
+ # policy_body: "{\"allowUserExtensions\":false}",
1618
+ # })
1619
+ #
1620
+ # resp.to_h outputs the following:
1621
+ # {
1622
+ # policy_summary: {
1623
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
1624
+ # id: "wsae-a1b2c3d4",
1625
+ # name: "no-user-extensions",
1626
+ # owner: "SELF",
1627
+ # },
1628
+ # }
1629
+ #
1630
+ # @example Request syntax with placeholder values
1631
+ #
1632
+ # resp = client.create_agent_enforced_policy({
1633
+ # client_token: "IdempotencyToken",
1634
+ # name: "EnforcedPolicyName", # required
1635
+ # policy_body: "EnforcedPolicyBody", # required
1636
+ # tags: [
1637
+ # {
1638
+ # key: "TagKey", # required
1639
+ # value: "TagValue",
1640
+ # },
1641
+ # ],
1642
+ # })
1643
+ #
1644
+ # @example Response structure
1645
+ #
1646
+ # resp.policy_summary.id #=> String
1647
+ # resp.policy_summary.name #=> String
1648
+ # resp.policy_summary.created_at #=> Time
1649
+ # resp.policy_summary.owner #=> String, one of "SELF", "AMAZON"
1650
+ #
1651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAgentEnforcedPolicy AWS API Documentation
1652
+ #
1653
+ # @overload create_agent_enforced_policy(params = {})
1654
+ # @param [Hash] params ({})
1655
+ def create_agent_enforced_policy(params = {}, options = {})
1656
+ req = build_request(:create_agent_enforced_policy, params)
1657
+ req.send_request(options)
1658
+ end
1659
+
1660
+ # Creates an agentic context, which is Markdown content that the service
1661
+ # writes to a file on the WorkSpace for the agent to use. The name must
1662
+ # be unique among the contexts in your account. If it isn't, the
1663
+ # operation returns `ConflictException`, and its `ResourceId` identifies
1664
+ # the existing context. If the tags would exceed the limit of 50 tags
1665
+ # per resource, the operation returns `ServiceQuotaExceededException`.
1666
+ #
1667
+ # @option params [String] :client_token
1668
+ # A unique, case-sensitive identifier that you provide to ensure that
1669
+ # the operation completes no more than one time. If this token matches a
1670
+ # previous request with the same parameters, the service returns the
1671
+ # result of that request and doesn't create another context.
1672
+ #
1673
+ # If you reuse the token with different parameters, the operation
1674
+ # returns `ValidationException`. If you deleted the context created with
1675
+ # this token, the operation returns `ResourceNotFoundException`.
1676
+ #
1677
+ # **A suitable default value is auto-generated.** You should normally
1678
+ # not need to pass this option.**
1679
+ #
1680
+ # @option params [required, String] :name
1681
+ # The name of the context.
1682
+ #
1683
+ # @option params [String] :description
1684
+ # The description of the context.
1685
+ #
1686
+ # @option params [required, String] :context_type
1687
+ # The type of the context. Valid values:
1688
+ #
1689
+ # * `STEERING` – Guidance that shapes how the agent behaves.
1690
+ #
1691
+ # * `SKILL` – A reusable capability that the agent can use.
1692
+ #
1693
+ # * `WORKFLOW` – A multi-step procedure that the agent follows.
1694
+ #
1695
+ # @option params [required, String] :target_file_path
1696
+ # The name of the Markdown file that the context is written to on the
1697
+ # WorkSpace, for example `code-review.md`. This is a file name, not a
1698
+ # path. It can contain letters, digits, periods (.), underscores (\_),
1699
+ # and hyphens (-), can be 1–255 characters long, and can't be `.` or
1700
+ # `..`.
1701
+ #
1702
+ # @option params [String] :context_body
1703
+ # The Markdown content of the context, up to 1 MiB of UTF-8 text.
1704
+ # Currently, you must specify this field.
1705
+ #
1706
+ # @option params [Array<Types::Tag>] :tags
1707
+ # The tags to add to the context. Each tag key can appear only once.
1708
+ #
1709
+ # @return [Types::CreateAgenticContextResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1710
+ #
1711
+ # * {Types::CreateAgenticContextResult#agentic_context_id #agentic_context_id} => String
1712
+ #
1713
+ #
1714
+ # @example Example: Example – Creating a steering context
1715
+ #
1716
+ # # The following example creates a steering context that agents read from the file coding-standards.md.
1717
+ #
1718
+ # resp = client.create_agentic_context({
1719
+ # client_token: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
1720
+ # context_body: "# Coding standards\n\nWrite unit tests for every change.",
1721
+ # context_type: "STEERING",
1722
+ # description: "Team coding standards for agents.",
1723
+ # name: "coding-standards",
1724
+ # tags: [
1725
+ # {
1726
+ # key: "team",
1727
+ # value: "platform",
1728
+ # },
1729
+ # ],
1730
+ # target_file_path: "coding-standards.md",
1731
+ # })
1732
+ #
1733
+ # resp.to_h outputs the following:
1734
+ # {
1735
+ # agentic_context_id: "wsactx-a1b2c3d4",
1736
+ # }
1737
+ #
1738
+ # @example Request syntax with placeholder values
1739
+ #
1740
+ # resp = client.create_agentic_context({
1741
+ # client_token: "IdempotencyToken",
1742
+ # name: "AgenticContextName", # required
1743
+ # description: "AgenticContextDescription",
1744
+ # context_type: "STEERING", # required, accepts STEERING, SKILL, WORKFLOW
1745
+ # target_file_path: "AgenticContextTargetFilePath", # required
1746
+ # context_body: "AgenticContextBody",
1747
+ # tags: [
1748
+ # {
1749
+ # key: "TagKey", # required
1750
+ # value: "TagValue",
1751
+ # },
1752
+ # ],
1753
+ # })
1754
+ #
1755
+ # @example Response structure
1756
+ #
1757
+ # resp.agentic_context_id #=> String
1758
+ #
1759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAgenticContext AWS API Documentation
1760
+ #
1761
+ # @overload create_agentic_context(params = {})
1762
+ # @param [Hash] params ({})
1763
+ def create_agentic_context(params = {}, options = {})
1764
+ req = build_request(:create_agentic_context, params)
1765
+ req.send_request(options)
1766
+ end
1767
+
1768
+ # Creates an Amazon WorkSpaces agentic persona configuration with the
1769
+ # specified models, connectors, contexts, and enforced policies. The
1770
+ # name must be unique among the persona configurations in your account.
1771
+ #
1772
+ # If the name is in use, the operation returns `ConflictException`, and
1773
+ # its `ResourceId` identifies the existing persona configuration. If you
1774
+ # exceed the persona or tag limit, it returns
1775
+ # `ServiceQuotaExceededException`.
1776
+ #
1777
+ # @option params [String] :client_token
1778
+ # A unique, case-sensitive identifier that you provide to ensure that
1779
+ # the operation completes no more than one time. If this token matches a
1780
+ # previous request with the same parameters, the service returns the
1781
+ # result of that request and doesn't create another persona
1782
+ # configuration.
1783
+ #
1784
+ # If you reuse the token with different parameters, the operation
1785
+ # returns `ValidationException`. If you deleted the persona
1786
+ # configuration created with this token, the operation returns
1787
+ # `ResourceNotFoundException`.
1788
+ #
1789
+ # **A suitable default value is auto-generated.** You should normally
1790
+ # not need to pass this option.**
1791
+ #
1792
+ # @option params [required, String] :name
1793
+ # The name of the persona configuration.
1794
+ #
1795
+ # @option params [String] :description
1796
+ # The description of the persona configuration.
1797
+ #
1798
+ # @option params [required, Array<String>] :model_ids
1799
+ # The identifiers of the models that WorkSpaces created with this
1800
+ # configuration can use. Specify 1–25 models. The models must be on your
1801
+ # account's model list.
1802
+ #
1803
+ # @option params [Array<String>] :agentic_connector_ids
1804
+ # The identifiers of the connectors to add to WorkSpaces created with
1805
+ # this configuration. The connectors must be activated for your account.
1806
+ #
1807
+ # @option params [Array<String>] :agentic_context_ids
1808
+ # The identifiers of the contexts to add to WorkSpaces created with this
1809
+ # configuration.
1810
+ #
1811
+ # @option params [String] :workspace_enforced_policy_id
1812
+ # The identifier of the WorkSpace-enforced policy to apply to WorkSpaces
1813
+ # created with this configuration.
1814
+ #
1815
+ # @option params [String] :agent_enforced_policy_id
1816
+ # The identifier of the agent-enforced policy to apply to WorkSpaces
1817
+ # created with this configuration.
1818
+ #
1819
+ # @option params [Array<Types::Tag>] :tags
1820
+ # The tags to add to the persona configuration.
1821
+ #
1822
+ # @return [Types::CreateAgenticPersonaConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1823
+ #
1824
+ # * {Types::CreateAgenticPersonaConfigurationResult#agentic_persona_configuration_id #agentic_persona_configuration_id} => String
1825
+ #
1826
+ #
1827
+ # @example Example: Example – Creating a persona configuration
1828
+ #
1829
+ # # The following example creates a persona configuration with two models, a connector, a context, and both enforced
1830
+ # # policies.
1831
+ #
1832
+ # resp = client.create_agentic_persona_configuration({
1833
+ # agent_enforced_policy_id: "wsae-a1b2c3d4",
1834
+ # agentic_connector_ids: [
1835
+ # "wsacn-github",
1836
+ # ],
1837
+ # agentic_context_ids: [
1838
+ # "wsactx-a1b2c3d4",
1839
+ # ],
1840
+ # client_token: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
1841
+ # description: "Persona for backend developers.",
1842
+ # model_ids: [
1843
+ # "anthropic.claude-sonnet-5-5",
1844
+ # "anthropic.claude-opus-5-5",
1845
+ # ],
1846
+ # name: "backend-developer",
1847
+ # tags: [
1848
+ # {
1849
+ # key: "team",
1850
+ # value: "platform",
1851
+ # },
1852
+ # ],
1853
+ # workspace_enforced_policy_id: "wsep-a1b2c3d4",
1854
+ # })
1855
+ #
1856
+ # resp.to_h outputs the following:
1857
+ # {
1858
+ # agentic_persona_configuration_id: "wsapc-a1b2c3d4",
1859
+ # }
1860
+ #
1861
+ # @example Request syntax with placeholder values
1862
+ #
1863
+ # resp = client.create_agentic_persona_configuration({
1864
+ # client_token: "IdempotencyToken",
1865
+ # name: "AgenticPersonaConfigurationName", # required
1866
+ # description: "AgenticPersonaConfigurationDescription",
1867
+ # model_ids: ["ModelId"], # required
1868
+ # agentic_connector_ids: ["AgenticConnectorId"],
1869
+ # agentic_context_ids: ["AgenticContextId"],
1870
+ # workspace_enforced_policy_id: "WorkspaceEnforcedPolicyId",
1871
+ # agent_enforced_policy_id: "AgentEnforcedPolicyId",
1872
+ # tags: [
1873
+ # {
1874
+ # key: "TagKey", # required
1875
+ # value: "TagValue",
1876
+ # },
1877
+ # ],
1878
+ # })
1879
+ #
1880
+ # @example Response structure
1881
+ #
1882
+ # resp.agentic_persona_configuration_id #=> String
1883
+ #
1884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAgenticPersonaConfiguration AWS API Documentation
1885
+ #
1886
+ # @overload create_agentic_persona_configuration(params = {})
1887
+ # @param [Hash] params ({})
1888
+ def create_agentic_persona_configuration(params = {}, options = {})
1889
+ req = build_request(:create_agentic_persona_configuration, params)
1890
+ req.send_request(options)
1891
+ end
1892
+
782
1893
  # Creates a client-add-in for Connect Customer within a directory. You
783
1894
  # can create only one Connect Customer client add-in within a directory.
784
1895
  #
@@ -998,7 +2109,9 @@ module Aws::WorkSpaces
998
2109
  # @option params [required, String] :resource_id
999
2110
  # The identifier of the WorkSpaces resource. The supported resource
1000
2111
  # types are WorkSpaces, registered directories, images, custom bundles,
1001
- # IP access control groups, and connection aliases.
2112
+ # IP access control groups, connection aliases, agentic persona
2113
+ # configurations, agentic contexts (Markdown content files for agents),
2114
+ # WorkSpace-enforced policies, and agent-enforced policies.
1002
2115
  #
1003
2116
  # @option params [required, Array<Types::Tag>] :tags
1004
2117
  # The tags. Each WorkSpaces resource can have a maximum of 50 tags.
@@ -1176,12 +2289,101 @@ module Aws::WorkSpaces
1176
2289
  # resp.workspace_bundle.state #=> String, one of "AVAILABLE", "PENDING", "ERROR"
1177
2290
  # resp.workspace_bundle.bundle_type #=> String, one of "REGULAR", "STANDBY"
1178
2291
  #
1179
- # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundle AWS API Documentation
2292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundle AWS API Documentation
2293
+ #
2294
+ # @overload create_workspace_bundle(params = {})
2295
+ # @param [Hash] params ({})
2296
+ def create_workspace_bundle(params = {}, options = {})
2297
+ req = build_request(:create_workspace_bundle, params)
2298
+ req.send_request(options)
2299
+ end
2300
+
2301
+ # Creates a WorkSpace-enforced policy, which the WorkSpace applies. The
2302
+ # name must be unique among the WorkSpace-enforced policies in your
2303
+ # account. If it isn't, the operation returns `ConflictException`, and
2304
+ # its `ResourceId` identifies the existing policy. If your account would
2305
+ # exceed its maximum number of WorkSpace-enforced policies, the
2306
+ # operation returns `ServiceQuotaExceededException`.
2307
+ #
2308
+ # @option params [String] :client_token
2309
+ # A unique, case-sensitive identifier that you provide to ensure that
2310
+ # the operation completes no more than one time. If this token matches a
2311
+ # previous request with the same parameters, the service returns the
2312
+ # result of that request and doesn't create another WorkSpace-enforced
2313
+ # policy.
2314
+ #
2315
+ # If you reuse the token with different parameters, the operation
2316
+ # returns `ValidationException`. If you deleted the policy created with
2317
+ # this token, the operation returns `ConflictException`.
2318
+ #
2319
+ # **A suitable default value is auto-generated.** You should normally
2320
+ # not need to pass this option.**
2321
+ #
2322
+ # @option params [required, String] :name
2323
+ # The name of the WorkSpace-enforced policy.
2324
+ #
2325
+ # @option params [required, String] :policy_body
2326
+ # Specifies the policy document, in JSON format, that defines the
2327
+ # enforced policy. It can be up to 65,536 characters long and can't
2328
+ # contain control characters other than tab, line feed, and carriage
2329
+ # return.
2330
+ #
2331
+ # @option params [Array<Types::Tag>] :tags
2332
+ # The tags to add to the WorkSpace-enforced policy. Each tag key can
2333
+ # appear only once.
2334
+ #
2335
+ # @return [Types::CreateWorkspaceEnforcedPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2336
+ #
2337
+ # * {Types::CreateWorkspaceEnforcedPolicyResult#policy_summary #policy_summary} => Types::WorkspaceEnforcedPolicySummary
2338
+ #
2339
+ #
2340
+ # @example Example: Example – Creating a WorkSpace-enforced policy
2341
+ #
2342
+ # # The following example creates a WorkSpace-enforced policy that keeps internet access on.
2343
+ #
2344
+ # resp = client.create_workspace_enforced_policy({
2345
+ # client_token: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
2346
+ # name: "default-network",
2347
+ # policy_body: "{\"disableInternetAccess\":false,\"deniedPaths\":[]}",
2348
+ # })
2349
+ #
2350
+ # resp.to_h outputs the following:
2351
+ # {
2352
+ # policy_summary: {
2353
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
2354
+ # id: "wsep-a1b2c3d4",
2355
+ # name: "default-network",
2356
+ # owner: "SELF",
2357
+ # },
2358
+ # }
2359
+ #
2360
+ # @example Request syntax with placeholder values
2361
+ #
2362
+ # resp = client.create_workspace_enforced_policy({
2363
+ # client_token: "IdempotencyToken",
2364
+ # name: "EnforcedPolicyName", # required
2365
+ # policy_body: "EnforcedPolicyBody", # required
2366
+ # tags: [
2367
+ # {
2368
+ # key: "TagKey", # required
2369
+ # value: "TagValue",
2370
+ # },
2371
+ # ],
2372
+ # })
2373
+ #
2374
+ # @example Response structure
1180
2375
  #
1181
- # @overload create_workspace_bundle(params = {})
2376
+ # resp.policy_summary.id #=> String
2377
+ # resp.policy_summary.name #=> String
2378
+ # resp.policy_summary.created_at #=> Time
2379
+ # resp.policy_summary.owner #=> String, one of "SELF", "AMAZON"
2380
+ #
2381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceEnforcedPolicy AWS API Documentation
2382
+ #
2383
+ # @overload create_workspace_enforced_policy(params = {})
1182
2384
  # @param [Hash] params ({})
1183
- def create_workspace_bundle(params = {}, options = {})
1184
- req = build_request(:create_workspace_bundle, params)
2385
+ def create_workspace_enforced_policy(params = {}, options = {})
2386
+ req = build_request(:create_workspace_enforced_policy, params)
1185
2387
  req.send_request(options)
1186
2388
  end
1187
2389
 
@@ -1314,6 +2516,7 @@ module Aws::WorkSpaces
1314
2516
  # ],
1315
2517
  # workspace_name: "WorkspaceName",
1316
2518
  # ipv_6_address: "Ipv6Address",
2519
+ # agentic_persona_configuration_id: "AgenticPersonaConfigurationId",
1317
2520
  # },
1318
2521
  # ],
1319
2522
  # })
@@ -1343,6 +2546,7 @@ module Aws::WorkSpaces
1343
2546
  # resp.failed_requests[0].workspace_request.tags[0].value #=> String
1344
2547
  # resp.failed_requests[0].workspace_request.workspace_name #=> String
1345
2548
  # resp.failed_requests[0].workspace_request.ipv_6_address #=> String
2549
+ # resp.failed_requests[0].workspace_request.agentic_persona_configuration_id #=> String
1346
2550
  # resp.failed_requests[0].error_code #=> String
1347
2551
  # resp.failed_requests[0].error_message #=> String
1348
2552
  # resp.pending_requests #=> Array
@@ -1386,6 +2590,7 @@ module Aws::WorkSpaces
1386
2590
  # resp.pending_requests[0].standby_workspaces_properties[0].standby_workspace_id #=> String
1387
2591
  # resp.pending_requests[0].standby_workspaces_properties[0].data_replication #=> String, one of "NO_REPLICATION", "PRIMARY_AS_SOURCE"
1388
2592
  # resp.pending_requests[0].standby_workspaces_properties[0].recovery_snapshot_time #=> Time
2593
+ # resp.pending_requests[0].workspace_category #=> String, one of "PERSONAL", "AGENTIC"
1389
2594
  #
1390
2595
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces AWS API Documentation
1391
2596
  #
@@ -1539,6 +2744,123 @@ module Aws::WorkSpaces
1539
2744
  req.send_request(options)
1540
2745
  end
1541
2746
 
2747
+ # Deletes an agent-enforced policy that you created. You can't undo
2748
+ # this action. You can't delete a policy that Amazon owns. If you try,
2749
+ # the operation returns `ValidationException`. You can't delete a
2750
+ # policy that a persona configuration or a WorkSpace uses. If you try,
2751
+ # the operation returns `ConflictException`, and its `ResourceId`
2752
+ # identifies a persona configuration or WorkSpace that uses the policy.
2753
+ #
2754
+ # @option params [required, String] :policy_id
2755
+ # The identifier of the policy.
2756
+ #
2757
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2758
+ #
2759
+ #
2760
+ # @example Example: Example – Deleting an agent-enforced policy
2761
+ #
2762
+ # # The following example deletes an agent-enforced policy.
2763
+ #
2764
+ # resp = client.delete_agent_enforced_policy({
2765
+ # policy_id: "wsae-a1b2c3d4",
2766
+ # })
2767
+ #
2768
+ # resp.to_h outputs the following:
2769
+ # {
2770
+ # }
2771
+ #
2772
+ # @example Request syntax with placeholder values
2773
+ #
2774
+ # resp = client.delete_agent_enforced_policy({
2775
+ # policy_id: "AgentEnforcedPolicyId", # required
2776
+ # })
2777
+ #
2778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAgentEnforcedPolicy AWS API Documentation
2779
+ #
2780
+ # @overload delete_agent_enforced_policy(params = {})
2781
+ # @param [Hash] params ({})
2782
+ def delete_agent_enforced_policy(params = {}, options = {})
2783
+ req = build_request(:delete_agent_enforced_policy, params)
2784
+ req.send_request(options)
2785
+ end
2786
+
2787
+ # Deletes an agentic context. You can't undo this action. You can't
2788
+ # delete a context that a persona configuration or WorkSpace uses. If
2789
+ # you try, the operation returns `ConflictException`, and its
2790
+ # `ResourceId` identifies a persona configuration or WorkSpace that uses
2791
+ # the context.
2792
+ #
2793
+ # @option params [required, String] :agentic_context_id
2794
+ # The identifier of the context.
2795
+ #
2796
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2797
+ #
2798
+ #
2799
+ # @example Example: Example – Deleting a context
2800
+ #
2801
+ # # The following example deletes a context.
2802
+ #
2803
+ # resp = client.delete_agentic_context({
2804
+ # agentic_context_id: "wsactx-e5f6g7h8",
2805
+ # })
2806
+ #
2807
+ # resp.to_h outputs the following:
2808
+ # {
2809
+ # }
2810
+ #
2811
+ # @example Request syntax with placeholder values
2812
+ #
2813
+ # resp = client.delete_agentic_context({
2814
+ # agentic_context_id: "AgenticContextId", # required
2815
+ # })
2816
+ #
2817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAgenticContext AWS API Documentation
2818
+ #
2819
+ # @overload delete_agentic_context(params = {})
2820
+ # @param [Hash] params ({})
2821
+ def delete_agentic_context(params = {}, options = {})
2822
+ req = build_request(:delete_agentic_context, params)
2823
+ req.send_request(options)
2824
+ end
2825
+
2826
+ # Deletes an agentic persona configuration. You can't undo this action.
2827
+ # Deleting a persona configuration doesn't affect WorkSpaces that you
2828
+ # already created with it. If another request is already deleting the
2829
+ # persona configuration, the operation returns `ConflictException`.
2830
+ #
2831
+ # @option params [required, String] :agentic_persona_configuration_id
2832
+ # The identifier of the persona configuration.
2833
+ #
2834
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2835
+ #
2836
+ #
2837
+ # @example Example: Example – Deleting a persona configuration
2838
+ #
2839
+ # # The following example deletes a persona configuration.
2840
+ #
2841
+ # resp = client.delete_agentic_persona_configuration({
2842
+ # agentic_persona_configuration_id: "wsapc-a1b2c3d4",
2843
+ # })
2844
+ #
2845
+ # resp.to_h outputs the following:
2846
+ # {
2847
+ # }
2848
+ #
2849
+ # @example Request syntax with placeholder values
2850
+ #
2851
+ # resp = client.delete_agentic_persona_configuration({
2852
+ # agentic_persona_configuration_id: "AgenticPersonaConfigurationId", # required
2853
+ # })
2854
+ #
2855
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAgenticPersonaConfiguration AWS API Documentation
2856
+ #
2857
+ # @overload delete_agentic_persona_configuration(params = {})
2858
+ # @param [Hash] params ({})
2859
+ def delete_agentic_persona_configuration(params = {}, options = {})
2860
+ req = build_request(:delete_agentic_persona_configuration, params)
2861
+ req.send_request(options)
2862
+ end
2863
+
1542
2864
  # Deletes customized client branding. Client branding allows you to
1543
2865
  # customize your WorkSpace's client login portal. You can tailor your
1544
2866
  # login portal company logo, the support email address, support link,
@@ -1673,7 +2995,9 @@ module Aws::WorkSpaces
1673
2995
  # @option params [required, String] :resource_id
1674
2996
  # The identifier of the WorkSpaces resource. The supported resource
1675
2997
  # types are WorkSpaces, registered directories, images, custom bundles,
1676
- # IP access control groups, and connection aliases.
2998
+ # IP access control groups, connection aliases, agentic persona
2999
+ # configurations, agentic contexts (Markdown content files for agents),
3000
+ # WorkSpace-enforced policies, and agent-enforced policies.
1677
3001
  #
1678
3002
  # @option params [required, Array<String>] :tag_keys
1679
3003
  # The tag keys.
@@ -1724,6 +3048,46 @@ module Aws::WorkSpaces
1724
3048
  req.send_request(options)
1725
3049
  end
1726
3050
 
3051
+ # Deletes a WorkSpace-enforced policy that you created. You can't undo
3052
+ # this action. You can't delete a policy that Amazon owns. If you try,
3053
+ # the operation returns `ValidationException`. You can't delete a
3054
+ # policy that a persona configuration or a WorkSpace uses. If you try,
3055
+ # the operation returns `ConflictException`, and its `ResourceId`
3056
+ # identifies a persona configuration or WorkSpace that uses the policy.
3057
+ #
3058
+ # @option params [required, String] :policy_id
3059
+ # The identifier of the policy.
3060
+ #
3061
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3062
+ #
3063
+ #
3064
+ # @example Example: Example – Deleting a WorkSpace-enforced policy
3065
+ #
3066
+ # # The following example deletes a WorkSpace-enforced policy.
3067
+ #
3068
+ # resp = client.delete_workspace_enforced_policy({
3069
+ # policy_id: "wsep-a1b2c3d4",
3070
+ # })
3071
+ #
3072
+ # resp.to_h outputs the following:
3073
+ # {
3074
+ # }
3075
+ #
3076
+ # @example Request syntax with placeholder values
3077
+ #
3078
+ # resp = client.delete_workspace_enforced_policy({
3079
+ # policy_id: "WorkspaceEnforcedPolicyId", # required
3080
+ # })
3081
+ #
3082
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceEnforcedPolicy AWS API Documentation
3083
+ #
3084
+ # @overload delete_workspace_enforced_policy(params = {})
3085
+ # @param [Hash] params ({})
3086
+ def delete_workspace_enforced_policy(params = {}, options = {})
3087
+ req = build_request(:delete_workspace_enforced_policy, params)
3088
+ req.send_request(options)
3089
+ end
3090
+
1727
3091
  # Deletes the specified image from your account. To delete an image, you
1728
3092
  # must first delete any bundles that are associated with the image and
1729
3093
  # unshare the image if it is shared with other accounts.
@@ -2472,7 +3836,9 @@ module Aws::WorkSpaces
2472
3836
  # @option params [required, String] :resource_id
2473
3837
  # The identifier of the WorkSpaces resource. The supported resource
2474
3838
  # types are WorkSpaces, registered directories, images, custom bundles,
2475
- # IP access control groups, and connection aliases.
3839
+ # IP access control groups, connection aliases, agentic persona
3840
+ # configurations, agentic contexts (Markdown content files for agents),
3841
+ # WorkSpace-enforced policies, and agent-enforced policies.
2476
3842
  #
2477
3843
  # @return [Types::DescribeTagsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2478
3844
  #
@@ -2965,6 +4331,7 @@ module Aws::WorkSpaces
2965
4331
  # resp.workspaces[0].standby_workspaces_properties[0].standby_workspace_id #=> String
2966
4332
  # resp.workspaces[0].standby_workspaces_properties[0].data_replication #=> String, one of "NO_REPLICATION", "PRIMARY_AS_SOURCE"
2967
4333
  # resp.workspaces[0].standby_workspaces_properties[0].recovery_snapshot_time #=> Time
4334
+ # resp.workspaces[0].workspace_category #=> String, one of "PERSONAL", "AGENTIC"
2968
4335
  # resp.next_token #=> String
2969
4336
  #
2970
4337
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces AWS API Documentation
@@ -3166,6 +4533,50 @@ module Aws::WorkSpaces
3166
4533
  req.send_request(options)
3167
4534
  end
3168
4535
 
4536
+ # Removes models from your account's model list. The operation ignores
4537
+ # models that aren't on the list. WorkSpaces and persona configurations
4538
+ # that use a removed model continue to reference it in their
4539
+ # configuration, but the service blocks requests to the model. Your
4540
+ # account must keep at least one model. If the request would remove the
4541
+ # last model, the operation returns `ValidationException`.
4542
+ #
4543
+ # @option params [required, Array<String>] :model_ids
4544
+ # The identifiers of the models to remove from your account's model
4545
+ # list.
4546
+ #
4547
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4548
+ #
4549
+ #
4550
+ # @example Example: Example – Removing models from an account
4551
+ #
4552
+ # # The following example removes two models from the account's model list.
4553
+ #
4554
+ # resp = client.disassociate_account_models({
4555
+ # model_ids: [
4556
+ # "anthropic.claude-opus-5-5",
4557
+ # "anthropic.claude-haiku-5-5",
4558
+ # ],
4559
+ # })
4560
+ #
4561
+ # resp.to_h outputs the following:
4562
+ # {
4563
+ # }
4564
+ #
4565
+ # @example Request syntax with placeholder values
4566
+ #
4567
+ # resp = client.disassociate_account_models({
4568
+ # model_ids: ["ModelId"], # required
4569
+ # })
4570
+ #
4571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateAccountModels AWS API Documentation
4572
+ #
4573
+ # @overload disassociate_account_models(params = {})
4574
+ # @param [Hash] params ({})
4575
+ def disassociate_account_models(params = {}, options = {})
4576
+ req = build_request(:disassociate_account_models, params)
4577
+ req.send_request(options)
4578
+ end
4579
+
3169
4580
  # Disassociates a connection alias from a directory. Disassociating a
3170
4581
  # connection alias disables cross-Region redirection between two
3171
4582
  # directories in different Regions. For more information, see [
@@ -3229,6 +4640,96 @@ module Aws::WorkSpaces
3229
4640
  req.send_request(options)
3230
4641
  end
3231
4642
 
4643
+ # Disassociates agentic connectors from the specified WorkSpace. The
4644
+ # operation ignores connectors that aren't associated with the
4645
+ # WorkSpace. If the WorkSpace is in a state that doesn't allow the
4646
+ # change, the operation returns `ConflictException`.
4647
+ #
4648
+ # @option params [required, String] :workspace_id
4649
+ # The identifier of the WorkSpace.
4650
+ #
4651
+ # @option params [required, Array<String>] :agentic_connector_ids
4652
+ # The identifiers of the connectors to disassociate.
4653
+ #
4654
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4655
+ #
4656
+ #
4657
+ # @example Example: Example – Removing a connector from a WorkSpace
4658
+ #
4659
+ # # The following example removes a connector from an agentic WorkSpace.
4660
+ #
4661
+ # resp = client.disassociate_workspace_agentic_connectors({
4662
+ # agentic_connector_ids: [
4663
+ # "wsacn-jira",
4664
+ # ],
4665
+ # workspace_id: "ws-dk1example1",
4666
+ # })
4667
+ #
4668
+ # resp.to_h outputs the following:
4669
+ # {
4670
+ # }
4671
+ #
4672
+ # @example Request syntax with placeholder values
4673
+ #
4674
+ # resp = client.disassociate_workspace_agentic_connectors({
4675
+ # workspace_id: "WorkspaceId", # required
4676
+ # agentic_connector_ids: ["AgenticConnectorId"], # required
4677
+ # })
4678
+ #
4679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateWorkspaceAgenticConnectors AWS API Documentation
4680
+ #
4681
+ # @overload disassociate_workspace_agentic_connectors(params = {})
4682
+ # @param [Hash] params ({})
4683
+ def disassociate_workspace_agentic_connectors(params = {}, options = {})
4684
+ req = build_request(:disassociate_workspace_agentic_connectors, params)
4685
+ req.send_request(options)
4686
+ end
4687
+
4688
+ # Disassociates agentic contexts from the specified WorkSpace. The
4689
+ # operation ignores contexts that aren't associated with the WorkSpace.
4690
+ # If the WorkSpace is in a state that doesn't allow the change, the
4691
+ # operation returns `ConflictException`.
4692
+ #
4693
+ # @option params [required, String] :workspace_id
4694
+ # The identifier of the WorkSpace.
4695
+ #
4696
+ # @option params [required, Array<String>] :agentic_context_ids
4697
+ # The identifiers of the contexts to disassociate.
4698
+ #
4699
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4700
+ #
4701
+ #
4702
+ # @example Example: Example – Removing a context from a WorkSpace
4703
+ #
4704
+ # # The following example removes a context from an agentic WorkSpace.
4705
+ #
4706
+ # resp = client.disassociate_workspace_agentic_contexts({
4707
+ # agentic_context_ids: [
4708
+ # "wsactx-e5f6g7h8",
4709
+ # ],
4710
+ # workspace_id: "ws-dk1example1",
4711
+ # })
4712
+ #
4713
+ # resp.to_h outputs the following:
4714
+ # {
4715
+ # }
4716
+ #
4717
+ # @example Request syntax with placeholder values
4718
+ #
4719
+ # resp = client.disassociate_workspace_agentic_contexts({
4720
+ # workspace_id: "WorkspaceId", # required
4721
+ # agentic_context_ids: ["AgenticContextId"], # required
4722
+ # })
4723
+ #
4724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateWorkspaceAgenticContexts AWS API Documentation
4725
+ #
4726
+ # @overload disassociate_workspace_agentic_contexts(params = {})
4727
+ # @param [Hash] params ({})
4728
+ def disassociate_workspace_agentic_contexts(params = {}, options = {})
4729
+ req = build_request(:disassociate_workspace_agentic_contexts, params)
4730
+ req.send_request(options)
4731
+ end
4732
+
3232
4733
  # Disassociates the specified application from a WorkSpace.
3233
4734
  #
3234
4735
  # @option params [required, String] :workspace_id
@@ -3250,56 +4751,304 @@ module Aws::WorkSpaces
3250
4751
  #
3251
4752
  # @example Response structure
3252
4753
  #
3253
- # resp.association.associated_resource_id #=> String
3254
- # resp.association.associated_resource_type #=> String, one of "APPLICATION"
3255
- # resp.association.created #=> Time
3256
- # resp.association.last_updated_time #=> Time
3257
- # resp.association.state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
3258
- # resp.association.state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable", "ValidationError.ApplicationOldVersionExists"
3259
- # resp.association.state_reason.error_message #=> String
3260
- # resp.association.workspace_id #=> String
4754
+ # resp.association.associated_resource_id #=> String
4755
+ # resp.association.associated_resource_type #=> String, one of "APPLICATION"
4756
+ # resp.association.created #=> Time
4757
+ # resp.association.last_updated_time #=> Time
4758
+ # resp.association.state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
4759
+ # resp.association.state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable", "ValidationError.ApplicationOldVersionExists"
4760
+ # resp.association.state_reason.error_message #=> String
4761
+ # resp.association.workspace_id #=> String
4762
+ #
4763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateWorkspaceApplication AWS API Documentation
4764
+ #
4765
+ # @overload disassociate_workspace_application(params = {})
4766
+ # @param [Hash] params ({})
4767
+ def disassociate_workspace_application(params = {}, options = {})
4768
+ req = build_request(:disassociate_workspace_application, params)
4769
+ req.send_request(options)
4770
+ end
4771
+
4772
+ # Disassociates models from the specified WorkSpace. The operation
4773
+ # ignores models that aren't associated with the WorkSpace. A WorkSpace
4774
+ # must keep at least one model. If the request would remove the last
4775
+ # model, the operation returns `ValidationException`. If the WorkSpace
4776
+ # is in a state that doesn't allow the change, the operation returns
4777
+ # `ConflictException`.
4778
+ #
4779
+ # @option params [required, String] :workspace_id
4780
+ # The identifier of the WorkSpace.
4781
+ #
4782
+ # @option params [required, Array<String>] :model_ids
4783
+ # The identifiers of the models to disassociate.
4784
+ #
4785
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4786
+ #
4787
+ #
4788
+ # @example Example: Example – Removing a model from a WorkSpace
4789
+ #
4790
+ # # The following example removes a model from an agentic WorkSpace.
4791
+ #
4792
+ # resp = client.disassociate_workspace_models({
4793
+ # model_ids: [
4794
+ # "anthropic.claude-opus-5-5",
4795
+ # ],
4796
+ # workspace_id: "ws-dk1example1",
4797
+ # })
4798
+ #
4799
+ # resp.to_h outputs the following:
4800
+ # {
4801
+ # }
4802
+ #
4803
+ # @example Request syntax with placeholder values
4804
+ #
4805
+ # resp = client.disassociate_workspace_models({
4806
+ # workspace_id: "WorkspaceId", # required
4807
+ # model_ids: ["ModelId"], # required
4808
+ # })
4809
+ #
4810
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateWorkspaceModels AWS API Documentation
4811
+ #
4812
+ # @overload disassociate_workspace_models(params = {})
4813
+ # @param [Hash] params ({})
4814
+ def disassociate_workspace_models(params = {}, options = {})
4815
+ req = build_request(:disassociate_workspace_models, params)
4816
+ req.send_request(options)
4817
+ end
4818
+
4819
+ # Retrieves account link information.
4820
+ #
4821
+ # @option params [String] :link_id
4822
+ # The identifier of the account to link.
4823
+ #
4824
+ # @option params [String] :linked_account_id
4825
+ # The identifier of the account link
4826
+ #
4827
+ # @return [Types::GetAccountLinkResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4828
+ #
4829
+ # * {Types::GetAccountLinkResult#account_link #account_link} => Types::AccountLink
4830
+ #
4831
+ # @example Request syntax with placeholder values
4832
+ #
4833
+ # resp = client.get_account_link({
4834
+ # link_id: "LinkId",
4835
+ # linked_account_id: "AwsAccount",
4836
+ # })
4837
+ #
4838
+ # @example Response structure
4839
+ #
4840
+ # resp.account_link.account_link_id #=> String
4841
+ # resp.account_link.account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
4842
+ # resp.account_link.source_account_id #=> String
4843
+ # resp.account_link.target_account_id #=> String
4844
+ #
4845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAccountLink AWS API Documentation
4846
+ #
4847
+ # @overload get_account_link(params = {})
4848
+ # @param [Hash] params ({})
4849
+ def get_account_link(params = {}, options = {})
4850
+ req = build_request(:get_account_link, params)
4851
+ req.send_request(options)
4852
+ end
4853
+
4854
+ # Describes the agentic setup of your account in the current Region. If
4855
+ # you haven't set up your account, the status is `NOT_SET_UP`.
4856
+ #
4857
+ # @return [Types::GetAgenticAccountSetupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4858
+ #
4859
+ # * {Types::GetAgenticAccountSetupResult#agentic_account_setup #agentic_account_setup} => Types::AgenticAccountSetup
4860
+ #
4861
+ #
4862
+ # @example Example: Example – Checking the agentic setup status of an account
4863
+ #
4864
+ # # The following example returns the agentic setup status of the calling account.
4865
+ #
4866
+ # resp = client.get_agentic_account_setup({
4867
+ # })
4868
+ #
4869
+ # resp.to_h outputs the following:
4870
+ # {
4871
+ # agentic_account_setup: {
4872
+ # status: "READY",
4873
+ # },
4874
+ # }
4875
+ #
4876
+ # @example Response structure
4877
+ #
4878
+ # resp.agentic_account_setup.status #=> String, one of "NOT_SET_UP", "SETTING_UP", "READY", "SETUP_FAILED", "FAILED", "UPDATING", "UPDATE_FAILED"
4879
+ # resp.agentic_account_setup.error_code #=> String, one of "INFERENCE_PROVIDER_ACCESS_DENIED", "GATEWAY_FAILED", "ROLE_NOT_ASSUMABLE", "INSUFFICIENT_CAPACITY", "UNKNOWN", "INTERNAL_ERROR"
4880
+ # resp.agentic_account_setup.error_message #=> String
4881
+ #
4882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAgenticAccountSetup AWS API Documentation
4883
+ #
4884
+ # @overload get_agentic_account_setup(params = {})
4885
+ # @param [Hash] params ({})
4886
+ def get_agentic_account_setup(params = {}, options = {})
4887
+ req = build_request(:get_agentic_account_setup, params)
4888
+ req.send_request(options)
4889
+ end
4890
+
4891
+ # Describes an agentic context, including its body.
4892
+ #
4893
+ # @option params [required, String] :agentic_context_id
4894
+ # The identifier of the context.
4895
+ #
4896
+ # @return [Types::GetAgenticContextResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4897
+ #
4898
+ # * {Types::GetAgenticContextResult#agentic_context #agentic_context} => Types::AgenticContext
4899
+ #
4900
+ #
4901
+ # @example Example: Example – Getting a context
4902
+ #
4903
+ # # The following example gets a context, including its body.
4904
+ #
4905
+ # resp = client.get_agentic_context({
4906
+ # agentic_context_id: "wsactx-a1b2c3d4",
4907
+ # })
4908
+ #
4909
+ # resp.to_h outputs the following:
4910
+ # {
4911
+ # agentic_context: {
4912
+ # context_body: "# Coding standards\n\nWrite unit tests for every change.",
4913
+ # context_body_size_bytes: 54,
4914
+ # context_type: "STEERING",
4915
+ # created_at: Time.parse("2026-11-01T17:00:00Z"),
4916
+ # description: "Team coding standards for agents.",
4917
+ # id: "wsactx-a1b2c3d4",
4918
+ # name: "coding-standards",
4919
+ # target_file_path: "coding-standards.md",
4920
+ # updated_at: Time.parse("2026-11-01T17:00:00Z"),
4921
+ # },
4922
+ # }
4923
+ #
4924
+ # @example Request syntax with placeholder values
4925
+ #
4926
+ # resp = client.get_agentic_context({
4927
+ # agentic_context_id: "AgenticContextId", # required
4928
+ # })
4929
+ #
4930
+ # @example Response structure
4931
+ #
4932
+ # resp.agentic_context.id #=> String
4933
+ # resp.agentic_context.name #=> String
4934
+ # resp.agentic_context.description #=> String
4935
+ # resp.agentic_context.context_type #=> String, one of "STEERING", "SKILL", "WORKFLOW"
4936
+ # resp.agentic_context.target_file_path #=> String
4937
+ # resp.agentic_context.context_body #=> String
4938
+ # resp.agentic_context.context_body_size_bytes #=> Integer
4939
+ # resp.agentic_context.created_at #=> Time
4940
+ # resp.agentic_context.updated_at #=> Time
3261
4941
  #
3262
- # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateWorkspaceApplication AWS API Documentation
4942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAgenticContext AWS API Documentation
3263
4943
  #
3264
- # @overload disassociate_workspace_application(params = {})
4944
+ # @overload get_agentic_context(params = {})
3265
4945
  # @param [Hash] params ({})
3266
- def disassociate_workspace_application(params = {}, options = {})
3267
- req = build_request(:disassociate_workspace_application, params)
4946
+ def get_agentic_context(params = {}, options = {})
4947
+ req = build_request(:get_agentic_context, params)
3268
4948
  req.send_request(options)
3269
4949
  end
3270
4950
 
3271
- # Retrieves account link information.
4951
+ # Describes the agentic configuration of the specified WorkSpace,
4952
+ # including its models, agent runtime, connectors, contexts, enforced
4953
+ # policies, and agent health.
3272
4954
  #
3273
- # @option params [String] :link_id
3274
- # The identifier of the account to link.
4955
+ # @option params [required, String] :workspace_id
4956
+ # The identifier of the WorkSpace.
3275
4957
  #
3276
- # @option params [String] :linked_account_id
3277
- # The identifier of the account link
4958
+ # @return [Types::GetAgenticWorkspaceConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3278
4959
  #
3279
- # @return [Types::GetAccountLinkResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4960
+ # * {Types::GetAgenticWorkspaceConfigurationResult#agentic_workspace_configuration #agentic_workspace_configuration} => Types::AgenticWorkspaceConfiguration
3280
4961
  #
3281
- # * {Types::GetAccountLinkResult#account_link #account_link} => Types::AccountLink
3282
4962
  #
3283
- # @example Request syntax with placeholder values
4963
+ # @example Example: Example – Getting the agentic configuration of a WorkSpace
3284
4964
  #
3285
- # resp = client.get_account_link({
3286
- # link_id: "LinkId",
3287
- # linked_account_id: "AwsAccount",
4965
+ # # The following example gets the models, agent runtime, connectors, contexts, enforced policies, and agent health of a
4966
+ # # WorkSpace.
4967
+ #
4968
+ # resp = client.get_agentic_workspace_configuration({
4969
+ # workspace_id: "ws-dk1example1",
3288
4970
  # })
3289
4971
  #
3290
- # @example Response structure
4972
+ # resp.to_h outputs the following:
4973
+ # {
4974
+ # agentic_workspace_configuration: {
4975
+ # agent_enforced_policy: {
4976
+ # policy_id: "wsae-a1b2c3d4",
4977
+ # sync_status: "IN_SYNC",
4978
+ # },
4979
+ # agent_runtime: {
4980
+ # id: "wsart-claudecode",
4981
+ # name: "Claude Code",
4982
+ # },
4983
+ # agentic_runtime_state: {
4984
+ # status: "AVAILABLE",
4985
+ # },
4986
+ # connectors: [
4987
+ # {
4988
+ # id: "wsacn-github",
4989
+ # name: "github",
4990
+ # },
4991
+ # ],
4992
+ # contexts: [
4993
+ # {
4994
+ # context_type: "STEERING",
4995
+ # file_name: "coding-standards.md",
4996
+ # id: "wsactx-a1b2c3d4",
4997
+ # name: "coding-standards",
4998
+ # },
4999
+ # ],
5000
+ # models: [
5001
+ # {
5002
+ # id: "anthropic.claude-sonnet-5-5",
5003
+ # name: "Claude Sonnet 5.5",
5004
+ # },
5005
+ # ],
5006
+ # workspace_enforced_policy: {
5007
+ # policy_id: "wsep-a1b2c3d4",
5008
+ # sync_status: "IN_SYNC",
5009
+ # },
5010
+ # },
5011
+ # }
3291
5012
  #
3292
- # resp.account_link.account_link_id #=> String
3293
- # resp.account_link.account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
3294
- # resp.account_link.source_account_id #=> String
3295
- # resp.account_link.target_account_id #=> String
5013
+ # @example Request syntax with placeholder values
3296
5014
  #
3297
- # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAccountLink AWS API Documentation
5015
+ # resp = client.get_agentic_workspace_configuration({
5016
+ # workspace_id: "WorkspaceId", # required
5017
+ # })
3298
5018
  #
3299
- # @overload get_account_link(params = {})
5019
+ # @example Response structure
5020
+ #
5021
+ # resp.agentic_workspace_configuration.models #=> Array
5022
+ # resp.agentic_workspace_configuration.models[0].id #=> String
5023
+ # resp.agentic_workspace_configuration.models[0].name #=> String
5024
+ # resp.agentic_workspace_configuration.agent_runtime.id #=> String
5025
+ # resp.agentic_workspace_configuration.agent_runtime.name #=> String
5026
+ # resp.agentic_workspace_configuration.connectors #=> Array
5027
+ # resp.agentic_workspace_configuration.connectors[0].id #=> String
5028
+ # resp.agentic_workspace_configuration.connectors[0].name #=> String
5029
+ # resp.agentic_workspace_configuration.contexts #=> Array
5030
+ # resp.agentic_workspace_configuration.contexts[0].id #=> String
5031
+ # resp.agentic_workspace_configuration.contexts[0].name #=> String
5032
+ # resp.agentic_workspace_configuration.contexts[0].context_type #=> String, one of "STEERING", "SKILL", "WORKFLOW"
5033
+ # resp.agentic_workspace_configuration.contexts[0].file_name #=> String
5034
+ # resp.agentic_workspace_configuration.workspace_enforced_policy.policy_id #=> String
5035
+ # resp.agentic_workspace_configuration.workspace_enforced_policy.sync_status #=> String, one of "PENDING_UPDATE", "IN_SYNC", "FAILED"
5036
+ # resp.agentic_workspace_configuration.workspace_enforced_policy.error_code #=> String, one of "POLICY_APPLY_FAILED"
5037
+ # resp.agentic_workspace_configuration.workspace_enforced_policy.error_message #=> String
5038
+ # resp.agentic_workspace_configuration.agent_enforced_policy.policy_id #=> String
5039
+ # resp.agentic_workspace_configuration.agent_enforced_policy.sync_status #=> String, one of "PENDING_UPDATE", "IN_SYNC", "FAILED"
5040
+ # resp.agentic_workspace_configuration.agent_enforced_policy.error_code #=> String, one of "POLICY_APPLY_FAILED"
5041
+ # resp.agentic_workspace_configuration.agent_enforced_policy.error_message #=> String
5042
+ # resp.agentic_workspace_configuration.agentic_runtime_state.status #=> String, one of "AVAILABLE", "PENDING", "IMPAIRED", "ERROR", "UNKNOWN"
5043
+ # resp.agentic_workspace_configuration.agentic_runtime_state.error_code #=> String, one of "BOOT", "INSTALL", "RECONCILE", "SELF_UPDATE", "ROLLBACK", "AGENT_UPDATE_REQUIRED", "CREDENTIAL_REFRESH_FAILING", "PERMISSION_DENIED", "SESSION_CAPACITY_EXHAUSTED", "BOOT_TIMED_OUT", "RECONCILE_TIMED_OUT", "CODING_AGENT_BINARY_MISSING", "CODING_AGENT_BINARY_CORRUPT", "CREDENTIALS_EXPIRED", "CONFIG_APPLY_FAILED", "DCV_CHANNEL_UNAVAILABLE", "WORKSPACE_NOT_RUNNING", "AGENT_UNREACHABLE"
5044
+ # resp.agentic_workspace_configuration.agentic_runtime_state.error_message #=> String
5045
+ #
5046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAgenticWorkspaceConfiguration AWS API Documentation
5047
+ #
5048
+ # @overload get_agentic_workspace_configuration(params = {})
3300
5049
  # @param [Hash] params ({})
3301
- def get_account_link(params = {}, options = {})
3302
- req = build_request(:get_account_link, params)
5050
+ def get_agentic_workspace_configuration(params = {}, options = {})
5051
+ req = build_request(:get_agentic_workspace_configuration, params)
3303
5052
  req.send_request(options)
3304
5053
  end
3305
5054
 
@@ -3545,158 +5294,503 @@ module Aws::WorkSpaces
3545
5294
  #
3546
5295
  # @example Response structure
3547
5296
  #
3548
- # resp.image_id #=> String
3549
- # resp.state #=> String, one of "PENDING", "IN_PROGRESS", "PROCESSING_SOURCE_IMAGE", "IMAGE_TESTING_START", "UPDATING_OPERATING_SYSTEM", "IMAGE_COMPATIBILITY_CHECKING", "IMAGE_TESTING_GENERALIZATION", "CREATING_TEST_INSTANCE", "INSTALLING_COMPONENTS", "GENERALIZING", "VALIDATING", "PUBLISHING", "COMPLETED", "ERROR"
5297
+ # resp.image_id #=> String
5298
+ # resp.state #=> String, one of "PENDING", "IN_PROGRESS", "PROCESSING_SOURCE_IMAGE", "IMAGE_TESTING_START", "UPDATING_OPERATING_SYSTEM", "IMAGE_COMPATIBILITY_CHECKING", "IMAGE_TESTING_GENERALIZATION", "CREATING_TEST_INSTANCE", "INSTALLING_COMPONENTS", "GENERALIZING", "VALIDATING", "PUBLISHING", "COMPLETED", "ERROR"
5299
+ #
5300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportCustomWorkspaceImage AWS API Documentation
5301
+ #
5302
+ # @overload import_custom_workspace_image(params = {})
5303
+ # @param [Hash] params ({})
5304
+ def import_custom_workspace_image(params = {}, options = {})
5305
+ req = build_request(:import_custom_workspace_image, params)
5306
+ req.send_request(options)
5307
+ end
5308
+
5309
+ # Imports the specified Windows 10 or 11 Bring Your Own License (BYOL)
5310
+ # image into Amazon WorkSpaces. The image must be an already licensed
5311
+ # Amazon EC2 image that is in your Amazon Web Services account, and you
5312
+ # must own the image. For more information about creating BYOL images,
5313
+ # see [ Bring Your Own Windows Desktop Licenses][1].
5314
+ #
5315
+ #
5316
+ #
5317
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
5318
+ #
5319
+ # @option params [required, String] :ec2_image_id
5320
+ # The identifier of the EC2 image.
5321
+ #
5322
+ # @option params [required, String] :ingestion_process
5323
+ # The ingestion process to be used when importing the image, depending
5324
+ # on which protocol you want to use for your BYOL Workspace image,
5325
+ # either PCoIP, WSP, or bring your own protocol (BYOP). To use DCV,
5326
+ # specify a value that ends in `_WSP`. To use PCoIP, specify a value
5327
+ # that does not end in `_WSP`. To use BYOP, specify a value that ends in
5328
+ # `_BYOP`.
5329
+ #
5330
+ # For non-GPU-enabled bundles (bundles other than Graphics or
5331
+ # GraphicsPro), specify `BYOL_REGULAR`, `BYOL_REGULAR_WSP`, or
5332
+ # `BYOL_REGULAR_BYOP`, depending on the protocol.
5333
+ #
5334
+ # <note markdown="1"> The `BYOL_REGULAR_BYOP` and `BYOL_GRAPHICS_G4DN_BYOP` values are only
5335
+ # supported by Amazon WorkSpaces Core. Contact your account team to be
5336
+ # allow-listed to use these values. For more information, see [Amazon
5337
+ # WorkSpaces Core][1].
5338
+ #
5339
+ # </note>
5340
+ #
5341
+ #
5342
+ #
5343
+ # [1]: http://aws.amazon.com/workspaces/core/
5344
+ #
5345
+ # @option params [required, String] :image_name
5346
+ # The name of the WorkSpace image.
5347
+ #
5348
+ # @option params [required, String] :image_description
5349
+ # The description of the WorkSpace image.
5350
+ #
5351
+ # @option params [Array<Types::Tag>] :tags
5352
+ # The tags. Each WorkSpaces resource can have a maximum of 50 tags.
5353
+ #
5354
+ # @option params [Array<String>] :applications
5355
+ # If specified, the version of Microsoft Office to subscribe to. Valid
5356
+ # only for Windows 10 and 11 BYOL images. For more information about
5357
+ # subscribing to Office for BYOL images, see [ Bring Your Own Windows
5358
+ # Desktop Licenses][1].
5359
+ #
5360
+ # <note markdown="1"> * Although this parameter is an array, only one item is allowed at
5361
+ # this time.
5362
+ #
5363
+ # * During the image import process, non-GPU DCV (formerly WSP)
5364
+ # WorkSpaces with Windows 11 support only `Microsoft_Office_2019`. GPU
5365
+ # DCV (formerly WSP) WorkSpaces with Windows 11 do not support Office
5366
+ # installation.
5367
+ #
5368
+ # </note>
5369
+ #
5370
+ #
5371
+ #
5372
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
5373
+ #
5374
+ # @return [Types::ImportWorkspaceImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5375
+ #
5376
+ # * {Types::ImportWorkspaceImageResult#image_id #image_id} => String
5377
+ #
5378
+ # @example Request syntax with placeholder values
5379
+ #
5380
+ # resp = client.import_workspace_image({
5381
+ # ec2_image_id: "Ec2ImageId", # required
5382
+ # ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO, BYOL_GRAPHICS_G4DN, BYOL_REGULAR_WSP, BYOL_GRAPHICS_G4DN_WSP, BYOL_REGULAR_BYOP, BYOL_GRAPHICS_G4DN_BYOP
5383
+ # image_name: "WorkspaceImageName", # required
5384
+ # image_description: "WorkspaceImageDescription", # required
5385
+ # tags: [
5386
+ # {
5387
+ # key: "TagKey", # required
5388
+ # value: "TagValue",
5389
+ # },
5390
+ # ],
5391
+ # applications: ["Microsoft_Office_2016"], # accepts Microsoft_Office_2016, Microsoft_Office_2019
5392
+ # })
5393
+ #
5394
+ # @example Response structure
5395
+ #
5396
+ # resp.image_id #=> String
5397
+ #
5398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImage AWS API Documentation
5399
+ #
5400
+ # @overload import_workspace_image(params = {})
5401
+ # @param [Hash] params ({})
5402
+ def import_workspace_image(params = {}, options = {})
5403
+ req = build_request(:import_workspace_image, params)
5404
+ req.send_request(options)
5405
+ end
5406
+
5407
+ # Lists all account links.
5408
+ #
5409
+ # @option params [Array<String>] :link_status_filter
5410
+ # Filters the account based on their link status.
5411
+ #
5412
+ # @option params [String] :next_token
5413
+ # The token to use to retrieve the next page of results. This value is
5414
+ # null when there are no more results to return.
5415
+ #
5416
+ # @option params [Integer] :max_results
5417
+ # The maximum number of accounts to return.
5418
+ #
5419
+ # @return [Types::ListAccountLinksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5420
+ #
5421
+ # * {Types::ListAccountLinksResult#account_links #account_links} => Array&lt;Types::AccountLink&gt;
5422
+ # * {Types::ListAccountLinksResult#next_token #next_token} => String
5423
+ #
5424
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5425
+ #
5426
+ # @example Request syntax with placeholder values
5427
+ #
5428
+ # resp = client.list_account_links({
5429
+ # link_status_filter: ["LINKED"], # accepts LINKED, LINKING_FAILED, LINK_NOT_FOUND, PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT, REJECTED
5430
+ # next_token: "PaginationToken",
5431
+ # max_results: 1,
5432
+ # })
5433
+ #
5434
+ # @example Response structure
5435
+ #
5436
+ # resp.account_links #=> Array
5437
+ # resp.account_links[0].account_link_id #=> String
5438
+ # resp.account_links[0].account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
5439
+ # resp.account_links[0].source_account_id #=> String
5440
+ # resp.account_links[0].target_account_id #=> String
5441
+ # resp.next_token #=> String
5442
+ #
5443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountLinks AWS API Documentation
5444
+ #
5445
+ # @overload list_account_links(params = {})
5446
+ # @param [Hash] params ({})
5447
+ def list_account_links(params = {}, options = {})
5448
+ req = build_request(:list_account_links, params)
5449
+ req.send_request(options)
5450
+ end
5451
+
5452
+ # Lists the models on your account's model list, sorted by model ID.
5453
+ # This operation is paginated. To get the next page, pass the
5454
+ # `NextToken` from the previous response.
5455
+ #
5456
+ # @option params [Integer] :max_results
5457
+ # The maximum number of items to return. Valid range: 1–100.
5458
+ #
5459
+ # @option params [String] :next_token
5460
+ # If you received a `NextToken` from a previous call that was paginated,
5461
+ # provide this token to receive the next set of results.
5462
+ #
5463
+ # @return [Types::ListAccountModelsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5464
+ #
5465
+ # * {Types::ListAccountModelsResult#models #models} => Array&lt;Types::AccountModel&gt;
5466
+ # * {Types::ListAccountModelsResult#next_token #next_token} => String
5467
+ #
5468
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5469
+ #
5470
+ #
5471
+ # @example Example: Example – Listing the models on an account's model list
5472
+ #
5473
+ # # The following example lists the models on the calling account's model list.
5474
+ #
5475
+ # resp = client.list_account_models({
5476
+ # max_results: 25,
5477
+ # })
5478
+ #
5479
+ # resp.to_h outputs the following:
5480
+ # {
5481
+ # models: [
5482
+ # {
5483
+ # model_id: "anthropic.claude-opus-5-5",
5484
+ # name: "Claude Opus 5.5",
5485
+ # status: "ASSOCIATED",
5486
+ # },
5487
+ # {
5488
+ # model_id: "anthropic.claude-sonnet-5-5",
5489
+ # name: "Claude Sonnet 5.5",
5490
+ # status: "ASSOCIATED",
5491
+ # },
5492
+ # ],
5493
+ # }
5494
+ #
5495
+ # @example Request syntax with placeholder values
5496
+ #
5497
+ # resp = client.list_account_models({
5498
+ # max_results: 1,
5499
+ # next_token: "PaginationToken",
5500
+ # })
5501
+ #
5502
+ # @example Response structure
5503
+ #
5504
+ # resp.models #=> Array
5505
+ # resp.models[0].model_id #=> String
5506
+ # resp.models[0].name #=> String
5507
+ # resp.models[0].status #=> String, one of "ASSOCIATED"
5508
+ # resp.next_token #=> String
5509
+ #
5510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountModels AWS API Documentation
5511
+ #
5512
+ # @overload list_account_models(params = {})
5513
+ # @param [Hash] params ({})
5514
+ def list_account_models(params = {}, options = {})
5515
+ req = build_request(:list_account_models, params)
5516
+ req.send_request(options)
5517
+ end
5518
+
5519
+ # Lists the agent-enforced policies that you can use, including policies
5520
+ # that Amazon owns. This operation is paginated. To get the next page,
5521
+ # pass the `NextToken` from the previous response.
5522
+ #
5523
+ # @option params [String] :owner
5524
+ # If you specify this field, the operation returns only policies with
5525
+ # this owner: `SELF` or `AMAZON`. Omit it to return both.
5526
+ #
5527
+ # @option params [Integer] :max_results
5528
+ # The maximum number of items to return. Valid range: 1–100.
5529
+ #
5530
+ # @option params [String] :next_token
5531
+ # If you received a `NextToken` from a previous call that was paginated,
5532
+ # provide this token to receive the next set of results.
5533
+ #
5534
+ # @return [Types::ListAgentEnforcedPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5535
+ #
5536
+ # * {Types::ListAgentEnforcedPoliciesResult#policy_summaries #policy_summaries} => Array&lt;Types::AgentEnforcedPolicyListSummary&gt;
5537
+ # * {Types::ListAgentEnforcedPoliciesResult#next_token #next_token} => String
5538
+ #
5539
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5540
+ #
5541
+ #
5542
+ # @example Example: Example – Listing your agent-enforced policies
5543
+ #
5544
+ # # The following example lists the agent-enforced policies that you created.
5545
+ #
5546
+ # resp = client.list_agent_enforced_policies({
5547
+ # max_results: 10,
5548
+ # owner: "SELF",
5549
+ # })
5550
+ #
5551
+ # resp.to_h outputs the following:
5552
+ # {
5553
+ # policy_summaries: [
5554
+ # {
5555
+ # id: "wsae-a1b2c3d4",
5556
+ # name: "no-user-extensions",
5557
+ # owner: "SELF",
5558
+ # },
5559
+ # ],
5560
+ # }
5561
+ #
5562
+ # @example Request syntax with placeholder values
5563
+ #
5564
+ # resp = client.list_agent_enforced_policies({
5565
+ # owner: "SELF", # accepts SELF, AMAZON
5566
+ # max_results: 1,
5567
+ # next_token: "PaginationToken",
5568
+ # })
5569
+ #
5570
+ # @example Response structure
5571
+ #
5572
+ # resp.policy_summaries #=> Array
5573
+ # resp.policy_summaries[0].id #=> String
5574
+ # resp.policy_summaries[0].name #=> String
5575
+ # resp.policy_summaries[0].owner #=> String, one of "SELF", "AMAZON"
5576
+ # resp.next_token #=> String
3550
5577
  #
3551
- # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportCustomWorkspaceImage AWS API Documentation
5578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAgentEnforcedPolicies AWS API Documentation
3552
5579
  #
3553
- # @overload import_custom_workspace_image(params = {})
5580
+ # @overload list_agent_enforced_policies(params = {})
3554
5581
  # @param [Hash] params ({})
3555
- def import_custom_workspace_image(params = {}, options = {})
3556
- req = build_request(:import_custom_workspace_image, params)
5582
+ def list_agent_enforced_policies(params = {}, options = {})
5583
+ req = build_request(:list_agent_enforced_policies, params)
3557
5584
  req.send_request(options)
3558
5585
  end
3559
5586
 
3560
- # Imports the specified Windows 10 or 11 Bring Your Own License (BYOL)
3561
- # image into Amazon WorkSpaces. The image must be an already licensed
3562
- # Amazon EC2 image that is in your Amazon Web Services account, and you
3563
- # must own the image. For more information about creating BYOL images,
3564
- # see [ Bring Your Own Windows Desktop Licenses][1].
5587
+ # Lists the agentic connectors available to your account, with their
5588
+ # activation status. This operation is paginated. To get the next page,
5589
+ # pass the `NextToken` from the previous response.
3565
5590
  #
5591
+ # @option params [String] :activation_status
5592
+ # If you specify this field, the operation returns only connectors with
5593
+ # this activation status. Omit it to return connectors in every status.
3566
5594
  #
5595
+ # @option params [Integer] :max_results
5596
+ # The maximum number of items to return. Valid range: 1–25. The default
5597
+ # is 25.
3567
5598
  #
3568
- # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
5599
+ # @option params [String] :next_token
5600
+ # If you received a `NextToken` from a previous call that was paginated,
5601
+ # provide this token to receive the next set of results.
3569
5602
  #
3570
- # @option params [required, String] :ec2_image_id
3571
- # The identifier of the EC2 image.
5603
+ # @return [Types::ListAgenticConnectorsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3572
5604
  #
3573
- # @option params [required, String] :ingestion_process
3574
- # The ingestion process to be used when importing the image, depending
3575
- # on which protocol you want to use for your BYOL Workspace image,
3576
- # either PCoIP, WSP, or bring your own protocol (BYOP). To use DCV,
3577
- # specify a value that ends in `_WSP`. To use PCoIP, specify a value
3578
- # that does not end in `_WSP`. To use BYOP, specify a value that ends in
3579
- # `_BYOP`.
5605
+ # * {Types::ListAgenticConnectorsResult#agentic_connector_summaries #agentic_connector_summaries} => Array&lt;Types::AgenticConnectorSummary&gt;
5606
+ # * {Types::ListAgenticConnectorsResult#next_token #next_token} => String
3580
5607
  #
3581
- # For non-GPU-enabled bundles (bundles other than Graphics or
3582
- # GraphicsPro), specify `BYOL_REGULAR`, `BYOL_REGULAR_WSP`, or
3583
- # `BYOL_REGULAR_BYOP`, depending on the protocol.
5608
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3584
5609
  #
3585
- # <note markdown="1"> The `BYOL_REGULAR_BYOP` and `BYOL_GRAPHICS_G4DN_BYOP` values are only
3586
- # supported by Amazon WorkSpaces Core. Contact your account team to be
3587
- # allow-listed to use these values. For more information, see [Amazon
3588
- # WorkSpaces Core][1].
3589
5610
  #
3590
- # </note>
5611
+ # @example Example: Example – Listing activated connectors
3591
5612
  #
5613
+ # # The following example lists the connectors that are activated in the account.
3592
5614
  #
5615
+ # resp = client.list_agentic_connectors({
5616
+ # activation_status: "ACTIVATED",
5617
+ # max_results: 25,
5618
+ # })
3593
5619
  #
3594
- # [1]: http://aws.amazon.com/workspaces/core/
5620
+ # resp.to_h outputs the following:
5621
+ # {
5622
+ # agentic_connector_summaries: [
5623
+ # {
5624
+ # activation_status: "ACTIVATED",
5625
+ # auth_type: "OAUTH",
5626
+ # description: "Repositories, issues and pull requests on github.com.",
5627
+ # id: "wsacn-github",
5628
+ # name: "github",
5629
+ # server_type: "HOSTED",
5630
+ # },
5631
+ # ],
5632
+ # }
3595
5633
  #
3596
- # @option params [required, String] :image_name
3597
- # The name of the WorkSpace image.
5634
+ # @example Request syntax with placeholder values
3598
5635
  #
3599
- # @option params [required, String] :image_description
3600
- # The description of the WorkSpace image.
5636
+ # resp = client.list_agentic_connectors({
5637
+ # activation_status: "ACTIVATED", # accepts ACTIVATED, DEACTIVATED, PENDING, PENDING_DELETE, ACTIVATION_ERROR, DEACTIVATION_ERROR
5638
+ # max_results: 1,
5639
+ # next_token: "PaginationToken",
5640
+ # })
3601
5641
  #
3602
- # @option params [Array<Types::Tag>] :tags
3603
- # The tags. Each WorkSpaces resource can have a maximum of 50 tags.
5642
+ # @example Response structure
3604
5643
  #
3605
- # @option params [Array<String>] :applications
3606
- # If specified, the version of Microsoft Office to subscribe to. Valid
3607
- # only for Windows 10 and 11 BYOL images. For more information about
3608
- # subscribing to Office for BYOL images, see [ Bring Your Own Windows
3609
- # Desktop Licenses][1].
5644
+ # resp.agentic_connector_summaries #=> Array
5645
+ # resp.agentic_connector_summaries[0].id #=> String
5646
+ # resp.agentic_connector_summaries[0].name #=> String
5647
+ # resp.agentic_connector_summaries[0].description #=> String
5648
+ # resp.agentic_connector_summaries[0].server_type #=> String, one of "HOSTED", "LOCAL"
5649
+ # resp.agentic_connector_summaries[0].auth_type #=> String, one of "OAUTH", "API_KEY", "NONE"
5650
+ # resp.agentic_connector_summaries[0].activation_status #=> String, one of "ACTIVATED", "DEACTIVATED", "PENDING", "PENDING_DELETE", "ACTIVATION_ERROR", "DEACTIVATION_ERROR"
5651
+ # resp.next_token #=> String
3610
5652
  #
3611
- # <note markdown="1"> * Although this parameter is an array, only one item is allowed at
3612
- # this time.
5653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAgenticConnectors AWS API Documentation
3613
5654
  #
3614
- # * During the image import process, non-GPU DCV (formerly WSP)
3615
- # WorkSpaces with Windows 11 support only `Microsoft_Office_2019`. GPU
3616
- # DCV (formerly WSP) WorkSpaces with Windows 11 do not support Office
3617
- # installation.
5655
+ # @overload list_agentic_connectors(params = {})
5656
+ # @param [Hash] params ({})
5657
+ def list_agentic_connectors(params = {}, options = {})
5658
+ req = build_request(:list_agentic_connectors, params)
5659
+ req.send_request(options)
5660
+ end
5661
+
5662
+ # Lists the agentic contexts in your account. This operation is
5663
+ # paginated. To get the next page, pass the `NextToken` from the
5664
+ # previous response.
3618
5665
  #
3619
- # </note>
5666
+ # @option params [String] :context_type
5667
+ # If you specify this field, the operation returns only contexts of this
5668
+ # type. Omit it to return contexts of every type. When you filter by
5669
+ # type, a page can contain fewer than `MaxResults` items, or none, even
5670
+ # when more results are available. Continue to call the operation until
5671
+ # the response doesn't include a `NextToken`.
3620
5672
  #
5673
+ # @option params [Integer] :max_results
5674
+ # The maximum number of items to return. Valid range: 1–100.
3621
5675
  #
5676
+ # @option params [String] :next_token
5677
+ # If you received a `NextToken` from a previous call that was paginated,
5678
+ # provide this token to receive the next set of results.
3622
5679
  #
3623
- # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
5680
+ # @return [Types::ListAgenticContextsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3624
5681
  #
3625
- # @return [Types::ImportWorkspaceImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5682
+ # * {Types::ListAgenticContextsResult#agentic_context_summaries #agentic_context_summaries} => Array&lt;Types::AgenticContextSummary&gt;
5683
+ # * {Types::ListAgenticContextsResult#next_token #next_token} => String
3626
5684
  #
3627
- # * {Types::ImportWorkspaceImageResult#image_id #image_id} => String
5685
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3628
5686
  #
3629
- # @example Request syntax with placeholder values
3630
5687
  #
3631
- # resp = client.import_workspace_image({
3632
- # ec2_image_id: "Ec2ImageId", # required
3633
- # ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO, BYOL_GRAPHICS_G4DN, BYOL_REGULAR_WSP, BYOL_GRAPHICS_G4DN_WSP, BYOL_REGULAR_BYOP, BYOL_GRAPHICS_G4DN_BYOP
3634
- # image_name: "WorkspaceImageName", # required
3635
- # image_description: "WorkspaceImageDescription", # required
3636
- # tags: [
5688
+ # @example Example: Example – Listing steering contexts
5689
+ #
5690
+ # # The following example lists the steering contexts in the account.
5691
+ #
5692
+ # resp = client.list_agentic_contexts({
5693
+ # context_type: "STEERING",
5694
+ # max_results: 10,
5695
+ # })
5696
+ #
5697
+ # resp.to_h outputs the following:
5698
+ # {
5699
+ # agentic_context_summaries: [
3637
5700
  # {
3638
- # key: "TagKey", # required
3639
- # value: "TagValue",
3640
- # },
3641
- # ],
3642
- # applications: ["Microsoft_Office_2016"], # accepts Microsoft_Office_2016, Microsoft_Office_2019
5701
+ # context_type: "STEERING",
5702
+ # description: "Team coding standards for agents.",
5703
+ # id: "wsactx-a1b2c3d4",
5704
+ # name: "coding-standards",
5705
+ # },
5706
+ # ],
5707
+ # }
5708
+ #
5709
+ # @example Request syntax with placeholder values
5710
+ #
5711
+ # resp = client.list_agentic_contexts({
5712
+ # context_type: "STEERING", # accepts STEERING, SKILL, WORKFLOW
5713
+ # max_results: 1,
5714
+ # next_token: "PaginationToken",
3643
5715
  # })
3644
5716
  #
3645
5717
  # @example Response structure
3646
5718
  #
3647
- # resp.image_id #=> String
5719
+ # resp.agentic_context_summaries #=> Array
5720
+ # resp.agentic_context_summaries[0].id #=> String
5721
+ # resp.agentic_context_summaries[0].name #=> String
5722
+ # resp.agentic_context_summaries[0].description #=> String
5723
+ # resp.agentic_context_summaries[0].context_type #=> String, one of "STEERING", "SKILL", "WORKFLOW"
5724
+ # resp.next_token #=> String
3648
5725
  #
3649
- # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImage AWS API Documentation
5726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAgenticContexts AWS API Documentation
3650
5727
  #
3651
- # @overload import_workspace_image(params = {})
5728
+ # @overload list_agentic_contexts(params = {})
3652
5729
  # @param [Hash] params ({})
3653
- def import_workspace_image(params = {}, options = {})
3654
- req = build_request(:import_workspace_image, params)
5730
+ def list_agentic_contexts(params = {}, options = {})
5731
+ req = build_request(:list_agentic_contexts, params)
3655
5732
  req.send_request(options)
3656
5733
  end
3657
5734
 
3658
- # Lists all account links.
5735
+ # Lists the agentic persona configurations in your account. This
5736
+ # operation is paginated. To get the next page, pass the `NextToken`
5737
+ # from the previous response.
3659
5738
  #
3660
- # @option params [Array<String>] :link_status_filter
3661
- # Filters the account based on their link status.
5739
+ # @option params [Integer] :max_results
5740
+ # The maximum number of items to return. Valid range: 1–100.
3662
5741
  #
3663
5742
  # @option params [String] :next_token
3664
- # The token to use to retrieve the next page of results. This value is
3665
- # null when there are no more results to return.
3666
- #
3667
- # @option params [Integer] :max_results
3668
- # The maximum number of accounts to return.
5743
+ # If you received a `NextToken` from a previous call that was paginated,
5744
+ # provide this token to receive the next set of results.
3669
5745
  #
3670
- # @return [Types::ListAccountLinksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5746
+ # @return [Types::ListAgenticPersonaConfigurationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3671
5747
  #
3672
- # * {Types::ListAccountLinksResult#account_links #account_links} => Array&lt;Types::AccountLink&gt;
3673
- # * {Types::ListAccountLinksResult#next_token #next_token} => String
5748
+ # * {Types::ListAgenticPersonaConfigurationsResult#agentic_persona_configuration_summaries #agentic_persona_configuration_summaries} => Array&lt;Types::AgenticPersonaConfigurationSummary&gt;
5749
+ # * {Types::ListAgenticPersonaConfigurationsResult#next_token #next_token} => String
3674
5750
  #
3675
5751
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3676
5752
  #
5753
+ #
5754
+ # @example Example: Example – Listing persona configurations
5755
+ #
5756
+ # # The following example lists the persona configurations in the account.
5757
+ #
5758
+ # resp = client.list_agentic_persona_configurations({
5759
+ # max_results: 10,
5760
+ # })
5761
+ #
5762
+ # resp.to_h outputs the following:
5763
+ # {
5764
+ # agentic_persona_configuration_summaries: [
5765
+ # {
5766
+ # description: "Persona for backend developers.",
5767
+ # id: "wsapc-a1b2c3d4",
5768
+ # name: "backend-developer",
5769
+ # },
5770
+ # ],
5771
+ # }
5772
+ #
3677
5773
  # @example Request syntax with placeholder values
3678
5774
  #
3679
- # resp = client.list_account_links({
3680
- # link_status_filter: ["LINKED"], # accepts LINKED, LINKING_FAILED, LINK_NOT_FOUND, PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT, REJECTED
3681
- # next_token: "PaginationToken",
5775
+ # resp = client.list_agentic_persona_configurations({
3682
5776
  # max_results: 1,
5777
+ # next_token: "PaginationToken",
3683
5778
  # })
3684
5779
  #
3685
5780
  # @example Response structure
3686
5781
  #
3687
- # resp.account_links #=> Array
3688
- # resp.account_links[0].account_link_id #=> String
3689
- # resp.account_links[0].account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
3690
- # resp.account_links[0].source_account_id #=> String
3691
- # resp.account_links[0].target_account_id #=> String
5782
+ # resp.agentic_persona_configuration_summaries #=> Array
5783
+ # resp.agentic_persona_configuration_summaries[0].id #=> String
5784
+ # resp.agentic_persona_configuration_summaries[0].name #=> String
5785
+ # resp.agentic_persona_configuration_summaries[0].description #=> String
3692
5786
  # resp.next_token #=> String
3693
5787
  #
3694
- # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountLinks AWS API Documentation
5788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAgenticPersonaConfigurations AWS API Documentation
3695
5789
  #
3696
- # @overload list_account_links(params = {})
5790
+ # @overload list_agentic_persona_configurations(params = {})
3697
5791
  # @param [Hash] params ({})
3698
- def list_account_links(params = {}, options = {})
3699
- req = build_request(:list_account_links, params)
5792
+ def list_agentic_persona_configurations(params = {}, options = {})
5793
+ req = build_request(:list_agentic_persona_configurations, params)
3700
5794
  req.send_request(options)
3701
5795
  end
3702
5796
 
@@ -3753,6 +5847,140 @@ module Aws::WorkSpaces
3753
5847
  req.send_request(options)
3754
5848
  end
3755
5849
 
5850
+ # Lists the models that you can add to your account's model list,
5851
+ # sorted by model ID. This operation is paginated. To get the next page,
5852
+ # pass the `NextToken` from the previous response.
5853
+ #
5854
+ # @option params [Integer] :max_results
5855
+ # The maximum number of items to return. Valid range: 1–100.
5856
+ #
5857
+ # @option params [String] :next_token
5858
+ # If you received a `NextToken` from a previous call that was paginated,
5859
+ # provide this token to receive the next set of results.
5860
+ #
5861
+ # @return [Types::ListSupportedModelsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5862
+ #
5863
+ # * {Types::ListSupportedModelsResult#model_summaries #model_summaries} => Array&lt;Types::ModelSummary&gt;
5864
+ # * {Types::ListSupportedModelsResult#next_token #next_token} => String
5865
+ #
5866
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5867
+ #
5868
+ #
5869
+ # @example Example: Example – Listing the models that Agentic WorkSpaces supports
5870
+ #
5871
+ # # The following example lists the first two models that you can add to your account's model list. To get the next page,
5872
+ # # call ListSupportedModels again with the returned NextToken.
5873
+ #
5874
+ # resp = client.list_supported_models({
5875
+ # max_results: 2,
5876
+ # })
5877
+ #
5878
+ # resp.to_h outputs the following:
5879
+ # {
5880
+ # model_summaries: [
5881
+ # {
5882
+ # model_id: "anthropic.claude-haiku-5-5",
5883
+ # name: "Claude Haiku 5.5",
5884
+ # },
5885
+ # {
5886
+ # model_id: "anthropic.claude-opus-5-5",
5887
+ # name: "Claude Opus 5.5",
5888
+ # },
5889
+ # ],
5890
+ # next_token: "eyJsYXN0IjoiYW50aHJvcGljLmNsYXVkZS1vcHVzLTUtNSJ9EXAMPLE",
5891
+ # }
5892
+ #
5893
+ # @example Request syntax with placeholder values
5894
+ #
5895
+ # resp = client.list_supported_models({
5896
+ # max_results: 1,
5897
+ # next_token: "PaginationToken",
5898
+ # })
5899
+ #
5900
+ # @example Response structure
5901
+ #
5902
+ # resp.model_summaries #=> Array
5903
+ # resp.model_summaries[0].model_id #=> String
5904
+ # resp.model_summaries[0].name #=> String
5905
+ # resp.next_token #=> String
5906
+ #
5907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListSupportedModels AWS API Documentation
5908
+ #
5909
+ # @overload list_supported_models(params = {})
5910
+ # @param [Hash] params ({})
5911
+ def list_supported_models(params = {}, options = {})
5912
+ req = build_request(:list_supported_models, params)
5913
+ req.send_request(options)
5914
+ end
5915
+
5916
+ # Lists the WorkSpace-enforced policies that you can use, including
5917
+ # policies that Amazon owns. This operation is paginated. To get the
5918
+ # next page, pass the `NextToken` from the previous response.
5919
+ #
5920
+ # @option params [String] :owner
5921
+ # If you specify this field, the operation returns only policies with
5922
+ # this owner: `SELF` or `AMAZON`. Omit it to return both.
5923
+ #
5924
+ # @option params [Integer] :max_results
5925
+ # The maximum number of items to return. Valid range: 1–100.
5926
+ #
5927
+ # @option params [String] :next_token
5928
+ # If you received a `NextToken` from a previous call that was paginated,
5929
+ # provide this token to receive the next set of results.
5930
+ #
5931
+ # @return [Types::ListWorkspaceEnforcedPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5932
+ #
5933
+ # * {Types::ListWorkspaceEnforcedPoliciesResult#policy_summaries #policy_summaries} => Array&lt;Types::WorkspaceEnforcedPolicyListSummary&gt;
5934
+ # * {Types::ListWorkspaceEnforcedPoliciesResult#next_token #next_token} => String
5935
+ #
5936
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5937
+ #
5938
+ #
5939
+ # @example Example: Example – Listing your WorkSpace-enforced policies
5940
+ #
5941
+ # # The following example lists the WorkSpace-enforced policies that you created.
5942
+ #
5943
+ # resp = client.list_workspace_enforced_policies({
5944
+ # max_results: 10,
5945
+ # owner: "SELF",
5946
+ # })
5947
+ #
5948
+ # resp.to_h outputs the following:
5949
+ # {
5950
+ # policy_summaries: [
5951
+ # {
5952
+ # id: "wsep-a1b2c3d4",
5953
+ # name: "default-network",
5954
+ # owner: "SELF",
5955
+ # },
5956
+ # ],
5957
+ # }
5958
+ #
5959
+ # @example Request syntax with placeholder values
5960
+ #
5961
+ # resp = client.list_workspace_enforced_policies({
5962
+ # owner: "SELF", # accepts SELF, AMAZON
5963
+ # max_results: 1,
5964
+ # next_token: "PaginationToken",
5965
+ # })
5966
+ #
5967
+ # @example Response structure
5968
+ #
5969
+ # resp.policy_summaries #=> Array
5970
+ # resp.policy_summaries[0].id #=> String
5971
+ # resp.policy_summaries[0].name #=> String
5972
+ # resp.policy_summaries[0].owner #=> String, one of "SELF", "AMAZON"
5973
+ # resp.next_token #=> String
5974
+ #
5975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListWorkspaceEnforcedPolicies AWS API Documentation
5976
+ #
5977
+ # @overload list_workspace_enforced_policies(params = {})
5978
+ # @param [Hash] params ({})
5979
+ def list_workspace_enforced_policies(params = {}, options = {})
5980
+ req = build_request(:list_workspace_enforced_policies, params)
5981
+ req.send_request(options)
5982
+ end
5983
+
3756
5984
  # Migrates a WorkSpace from one operating system or bundle type to
3757
5985
  # another, while retaining the data on the user volume.
3758
5986
  #
@@ -4553,6 +6781,63 @@ module Aws::WorkSpaces
4553
6781
  req.send_request(options)
4554
6782
  end
4555
6783
 
6784
+ # Starts setting up Agentic WorkSpaces for your account in the current
6785
+ # Region. Setup is asynchronous. To track its progress, call
6786
+ # `GetAgenticAccountSetup`. If setup fails, this operation doesn't
6787
+ # return an error. Instead, `GetAgenticAccountSetup` returns the
6788
+ # `SETUP_FAILED` status.
6789
+ #
6790
+ # @option params [String] :client_token
6791
+ # A unique, case-sensitive identifier that you provide to make the
6792
+ # request idempotent. A new token starts setup only when the status is
6793
+ # `NOT_SET_UP` or `SETUP_FAILED`; otherwise the current setup is
6794
+ # returned.
6795
+ #
6796
+ # **A suitable default value is auto-generated.** You should normally
6797
+ # not need to pass this option.**
6798
+ #
6799
+ # @return [Types::StartAgenticAccountSetupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6800
+ #
6801
+ # * {Types::StartAgenticAccountSetupResult#agentic_account_setup #agentic_account_setup} => Types::AgenticAccountSetup
6802
+ #
6803
+ #
6804
+ # @example Example: Example – Setting up an account for Agentic WorkSpaces
6805
+ #
6806
+ # # The following example starts agentic setup for the calling account. Setup runs asynchronously. To track its progress,
6807
+ # # call GetAgenticAccountSetup.
6808
+ #
6809
+ # resp = client.start_agentic_account_setup({
6810
+ # client_token: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
6811
+ # })
6812
+ #
6813
+ # resp.to_h outputs the following:
6814
+ # {
6815
+ # agentic_account_setup: {
6816
+ # status: "SETTING_UP",
6817
+ # },
6818
+ # }
6819
+ #
6820
+ # @example Request syntax with placeholder values
6821
+ #
6822
+ # resp = client.start_agentic_account_setup({
6823
+ # client_token: "IdempotencyToken",
6824
+ # })
6825
+ #
6826
+ # @example Response structure
6827
+ #
6828
+ # resp.agentic_account_setup.status #=> String, one of "NOT_SET_UP", "SETTING_UP", "READY", "SETUP_FAILED", "FAILED", "UPDATING", "UPDATE_FAILED"
6829
+ # resp.agentic_account_setup.error_code #=> String, one of "INFERENCE_PROVIDER_ACCESS_DENIED", "GATEWAY_FAILED", "ROLE_NOT_ASSUMABLE", "INSUFFICIENT_CAPACITY", "UNKNOWN", "INTERNAL_ERROR"
6830
+ # resp.agentic_account_setup.error_message #=> String
6831
+ #
6832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartAgenticAccountSetup AWS API Documentation
6833
+ #
6834
+ # @overload start_agentic_account_setup(params = {})
6835
+ # @param [Hash] params ({})
6836
+ def start_agentic_account_setup(params = {}, options = {})
6837
+ req = build_request(:start_agentic_account_setup, params)
6838
+ req.send_request(options)
6839
+ end
6840
+
4556
6841
  # Starts the specified WorkSpaces.
4557
6842
  #
4558
6843
  # You cannot start a WorkSpace unless it has a running mode of
@@ -4842,6 +7127,90 @@ module Aws::WorkSpaces
4842
7127
  req.send_request(options)
4843
7128
  end
4844
7129
 
7130
+ # Activates or deactivates an agentic connector for your account. Your
7131
+ # account setup must be `READY` first. The change is asynchronous. To
7132
+ # track it, check the connector's `ActivationStatus`. You can repeat
7133
+ # the same change safely. An account can have up to 25 activated
7134
+ # connectors. If activating a connector would exceed this limit, the
7135
+ # operation returns `ServiceQuotaExceededException`.
7136
+ #
7137
+ # @option params [required, String] :agentic_connector_id
7138
+ # The identifier of the connector.
7139
+ #
7140
+ # @option params [required, String] :activation_status
7141
+ # The activation status to set:
7142
+ #
7143
+ # * `ACTIVATED` – You activated the connector.
7144
+ #
7145
+ # * `DEACTIVATED` – You deactivated the connector.
7146
+ #
7147
+ # @return [Types::UpdateAgenticConnectorActivationStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7148
+ #
7149
+ # * {Types::UpdateAgenticConnectorActivationStatusResult#agentic_connector #agentic_connector} => Types::AgenticConnector
7150
+ #
7151
+ #
7152
+ # @example Example: Example – Activating a connector
7153
+ #
7154
+ # # The following example activates a connector so that it can be associated with WorkSpaces and persona configurations.
7155
+ #
7156
+ # resp = client.update_agentic_connector_activation_status({
7157
+ # activation_status: "ACTIVATED",
7158
+ # agentic_connector_id: "wsacn-github",
7159
+ # })
7160
+ #
7161
+ # resp.to_h outputs the following:
7162
+ # {
7163
+ # agentic_connector: {
7164
+ # activation_status: "PENDING",
7165
+ # auth_type: "OAUTH",
7166
+ # id: "wsacn-github",
7167
+ # name: "github",
7168
+ # server_type: "HOSTED",
7169
+ # },
7170
+ # }
7171
+ #
7172
+ # @example Request syntax with placeholder values
7173
+ #
7174
+ # resp = client.update_agentic_connector_activation_status({
7175
+ # agentic_connector_id: "AgenticConnectorId", # required
7176
+ # activation_status: "ACTIVATED", # required, accepts ACTIVATED, DEACTIVATED
7177
+ # })
7178
+ #
7179
+ # @example Response structure
7180
+ #
7181
+ # resp.agentic_connector.id #=> String
7182
+ # resp.agentic_connector.name #=> String
7183
+ # resp.agentic_connector.description #=> String
7184
+ # resp.agentic_connector.server_type #=> String, one of "HOSTED", "LOCAL"
7185
+ # resp.agentic_connector.url #=> String
7186
+ # resp.agentic_connector.command #=> String
7187
+ # resp.agentic_connector.args #=> Array
7188
+ # resp.agentic_connector.args[0] #=> String
7189
+ # resp.agentic_connector.auth_type #=> String, one of "OAUTH", "API_KEY", "NONE"
7190
+ # resp.agentic_connector.o_auth_config.client_id #=> String
7191
+ # resp.agentic_connector.o_auth_config.client_secret_arn #=> String
7192
+ # resp.agentic_connector.o_auth_config.scopes #=> Array
7193
+ # resp.agentic_connector.o_auth_config.scopes[0] #=> String
7194
+ # resp.agentic_connector.o_auth_config.authorization_url #=> String
7195
+ # resp.agentic_connector.o_auth_config.token_url #=> String
7196
+ # resp.agentic_connector.api_key_secret_arn #=> String
7197
+ # resp.agentic_connector.allowed_tools #=> Array
7198
+ # resp.agentic_connector.allowed_tools[0] #=> String
7199
+ # resp.agentic_connector.blocked_tools #=> Array
7200
+ # resp.agentic_connector.blocked_tools[0] #=> String
7201
+ # resp.agentic_connector.created_at #=> Time
7202
+ # resp.agentic_connector.updated_at #=> Time
7203
+ # resp.agentic_connector.activation_status #=> String, one of "ACTIVATED", "DEACTIVATED", "PENDING", "PENDING_DELETE", "ACTIVATION_ERROR", "DEACTIVATION_ERROR"
7204
+ #
7205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateAgenticConnectorActivationStatus AWS API Documentation
7206
+ #
7207
+ # @overload update_agentic_connector_activation_status(params = {})
7208
+ # @param [Hash] params ({})
7209
+ def update_agentic_connector_activation_status(params = {}, options = {})
7210
+ req = build_request(:update_agentic_connector_activation_status, params)
7211
+ req.send_request(options)
7212
+ end
7213
+
4845
7214
  # Updates a Connect Customer client add-in. Use this action to update
4846
7215
  # the name and endpoint URL of a Connect Customer client add-in.
4847
7216
  #
@@ -5184,7 +7553,7 @@ module Aws::WorkSpaces
5184
7553
  tracer: tracer
5185
7554
  )
5186
7555
  context[:gem_name] = 'aws-sdk-workspaces'
5187
- context[:gem_version] = '1.180.0'
7556
+ context[:gem_version] = '1.182.0'
5188
7557
  Seahorse::Client::Request.new(handlers, context)
5189
7558
  end
5190
7559