aws-sdk-workspaces 1.106.0 → 1.108.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspaces/client.rb +498 -14
- data/lib/aws-sdk-workspaces/client_api.rb +386 -2
- data/lib/aws-sdk-workspaces/endpoints.rb +126 -0
- data/lib/aws-sdk-workspaces/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-workspaces/types.rb +804 -5
- data/lib/aws-sdk-workspaces.rb +1 -1
- data/sig/client.rbs +171 -8
- data/sig/types.rbs +232 -5
- metadata +2 -2
data/lib/aws-sdk-workspaces.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -344,7 +344,7 @@ module Aws
|
|
344
344
|
user_volume_size_gib: ::Integer?,
|
345
345
|
compute_type_name: ("VALUE" | "STANDARD" | "PERFORMANCE" | "POWER" | "GRAPHICS" | "POWERPRO" | "GRAPHICSPRO" | "GRAPHICS_G4DN" | "GRAPHICSPRO_G4DN")?,
|
346
346
|
protocols: Array[("PCOIP" | "WSP")]?,
|
347
|
-
operating_system_name: ("AMAZON_LINUX_2" | "UBUNTU_18_04" | "UBUNTU_20_04" | "UBUNTU_22_04" | "UNKNOWN" | "WINDOWS_10" | "WINDOWS_11" | "WINDOWS_7" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022")?
|
347
|
+
operating_system_name: ("AMAZON_LINUX_2" | "UBUNTU_18_04" | "UBUNTU_20_04" | "UBUNTU_22_04" | "UNKNOWN" | "WINDOWS_10" | "WINDOWS_11" | "WINDOWS_7" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022" | "RHEL_8")?
|
348
348
|
}?,
|
349
349
|
tags: Array[
|
350
350
|
{
|
@@ -358,6 +358,37 @@ module Aws
|
|
358
358
|
) -> _CreateWorkspacesResponseSuccess
|
359
359
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspacesResponseSuccess
|
360
360
|
|
361
|
+
interface _CreateWorkspacesPoolResponseSuccess
|
362
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspacesPoolResult]
|
363
|
+
def workspaces_pool: () -> Types::WorkspacesPool
|
364
|
+
end
|
365
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#create_workspaces_pool-instance_method
|
366
|
+
def create_workspaces_pool: (
|
367
|
+
pool_name: ::String,
|
368
|
+
description: ::String,
|
369
|
+
bundle_id: ::String,
|
370
|
+
directory_id: ::String,
|
371
|
+
capacity: {
|
372
|
+
desired_user_sessions: ::Integer
|
373
|
+
},
|
374
|
+
?tags: Array[
|
375
|
+
{
|
376
|
+
key: ::String,
|
377
|
+
value: ::String?
|
378
|
+
},
|
379
|
+
],
|
380
|
+
?application_settings: {
|
381
|
+
status: ("DISABLED" | "ENABLED"),
|
382
|
+
settings_group: ::String?
|
383
|
+
},
|
384
|
+
?timeout_settings: {
|
385
|
+
disconnect_timeout_in_seconds: ::Integer?,
|
386
|
+
idle_disconnect_timeout_in_seconds: ::Integer?,
|
387
|
+
max_user_duration_in_seconds: ::Integer?
|
388
|
+
}
|
389
|
+
) -> _CreateWorkspacesPoolResponseSuccess
|
390
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspacesPoolResponseSuccess
|
391
|
+
|
361
392
|
interface _DeleteAccountLinkInvitationResponseSuccess
|
362
393
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccountLinkInvitationResult]
|
363
394
|
def account_link: () -> Types::AccountLink
|
@@ -501,7 +532,7 @@ module Aws
|
|
501
532
|
?application_ids: Array[::String],
|
502
533
|
?compute_type_names: Array[("VALUE" | "STANDARD" | "PERFORMANCE" | "POWER" | "GRAPHICS" | "POWERPRO" | "GRAPHICSPRO" | "GRAPHICS_G4DN" | "GRAPHICSPRO_G4DN")],
|
503
534
|
?license_type: ("LICENSED" | "UNLICENSED"),
|
504
|
-
?operating_system_names: Array[("AMAZON_LINUX_2" | "UBUNTU_18_04" | "UBUNTU_20_04" | "UBUNTU_22_04" | "UNKNOWN" | "WINDOWS_10" | "WINDOWS_11" | "WINDOWS_7" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022")],
|
535
|
+
?operating_system_names: Array[("AMAZON_LINUX_2" | "UBUNTU_18_04" | "UBUNTU_20_04" | "UBUNTU_22_04" | "UNKNOWN" | "WINDOWS_10" | "WINDOWS_11" | "WINDOWS_7" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022" | "RHEL_8")],
|
505
536
|
?owner: ::String,
|
506
537
|
?max_results: ::Integer,
|
507
538
|
?next_token: ::String
|
@@ -651,6 +682,7 @@ module Aws
|
|
651
682
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#describe_workspace_directories-instance_method
|
652
683
|
def describe_workspace_directories: (
|
653
684
|
?directory_ids: Array[::String],
|
685
|
+
?workspace_directory_names: Array[::String],
|
654
686
|
?limit: ::Integer,
|
655
687
|
?next_token: ::String
|
656
688
|
) -> _DescribeWorkspaceDirectoriesResponseSuccess
|
@@ -724,6 +756,40 @@ module Aws
|
|
724
756
|
) -> _DescribeWorkspacesConnectionStatusResponseSuccess
|
725
757
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspacesConnectionStatusResponseSuccess
|
726
758
|
|
759
|
+
interface _DescribeWorkspacesPoolSessionsResponseSuccess
|
760
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkspacesPoolSessionsResult]
|
761
|
+
def sessions: () -> ::Array[Types::WorkspacesPoolSession]
|
762
|
+
def next_token: () -> ::String
|
763
|
+
end
|
764
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#describe_workspaces_pool_sessions-instance_method
|
765
|
+
def describe_workspaces_pool_sessions: (
|
766
|
+
pool_id: ::String,
|
767
|
+
?user_id: ::String,
|
768
|
+
?limit: ::Integer,
|
769
|
+
?next_token: ::String
|
770
|
+
) -> _DescribeWorkspacesPoolSessionsResponseSuccess
|
771
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspacesPoolSessionsResponseSuccess
|
772
|
+
|
773
|
+
interface _DescribeWorkspacesPoolsResponseSuccess
|
774
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkspacesPoolsResult]
|
775
|
+
def workspaces_pools: () -> ::Array[Types::WorkspacesPool]
|
776
|
+
def next_token: () -> ::String
|
777
|
+
end
|
778
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#describe_workspaces_pools-instance_method
|
779
|
+
def describe_workspaces_pools: (
|
780
|
+
?pool_ids: Array[::String],
|
781
|
+
?filters: Array[
|
782
|
+
{
|
783
|
+
name: ("PoolName"),
|
784
|
+
values: Array[::String],
|
785
|
+
operator: ("EQUALS" | "NOTEQUALS" | "CONTAINS" | "NOTCONTAINS")
|
786
|
+
},
|
787
|
+
],
|
788
|
+
?limit: ::Integer,
|
789
|
+
?next_token: ::String
|
790
|
+
) -> _DescribeWorkspacesPoolsResponseSuccess
|
791
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkspacesPoolsResponseSuccess
|
792
|
+
|
727
793
|
interface _DisassociateConnectionAliasResponseSuccess
|
728
794
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateConnectionAliasResult]
|
729
795
|
end
|
@@ -950,6 +1016,31 @@ module Aws
|
|
950
1016
|
) -> _ModifySelfservicePermissionsResponseSuccess
|
951
1017
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifySelfservicePermissionsResponseSuccess
|
952
1018
|
|
1019
|
+
interface _ModifyStreamingPropertiesResponseSuccess
|
1020
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyStreamingPropertiesResult]
|
1021
|
+
end
|
1022
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#modify_streaming_properties-instance_method
|
1023
|
+
def modify_streaming_properties: (
|
1024
|
+
resource_id: ::String,
|
1025
|
+
?streaming_properties: {
|
1026
|
+
streaming_experience_preferred_protocol: ("TCP" | "UDP")?,
|
1027
|
+
user_settings: Array[
|
1028
|
+
{
|
1029
|
+
action: ("CLIPBOARD_COPY_FROM_LOCAL_DEVICE" | "CLIPBOARD_COPY_TO_LOCAL_DEVICE" | "PRINTING_TO_LOCAL_DEVICE" | "SMART_CARD"),
|
1030
|
+
permission: ("ENABLED" | "DISABLED"),
|
1031
|
+
maximum_length: ::Integer?
|
1032
|
+
},
|
1033
|
+
]?,
|
1034
|
+
storage_connectors: Array[
|
1035
|
+
{
|
1036
|
+
connector_type: ("HOME_FOLDER"),
|
1037
|
+
status: ("ENABLED" | "DISABLED")
|
1038
|
+
},
|
1039
|
+
]?
|
1040
|
+
}
|
1041
|
+
) -> _ModifyStreamingPropertiesResponseSuccess
|
1042
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyStreamingPropertiesResponseSuccess
|
1043
|
+
|
953
1044
|
interface _ModifyWorkspaceAccessPropertiesResponseSuccess
|
954
1045
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyWorkspaceAccessPropertiesResult]
|
955
1046
|
end
|
@@ -981,7 +1072,8 @@ module Aws
|
|
981
1072
|
default_ou: ::String?,
|
982
1073
|
custom_security_group_id: ::String?,
|
983
1074
|
user_enabled_as_local_administrator: bool?,
|
984
|
-
enable_maintenance_mode: bool
|
1075
|
+
enable_maintenance_mode: bool?,
|
1076
|
+
instance_iam_role_arn: ::String?
|
985
1077
|
}
|
986
1078
|
) -> _ModifyWorkspaceCreationPropertiesResponseSuccess
|
987
1079
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyWorkspaceCreationPropertiesResponseSuccess
|
@@ -999,7 +1091,7 @@ module Aws
|
|
999
1091
|
user_volume_size_gib: ::Integer?,
|
1000
1092
|
compute_type_name: ("VALUE" | "STANDARD" | "PERFORMANCE" | "POWER" | "GRAPHICS" | "POWERPRO" | "GRAPHICSPRO" | "GRAPHICS_G4DN" | "GRAPHICSPRO_G4DN")?,
|
1001
1093
|
protocols: Array[("PCOIP" | "WSP")]?,
|
1002
|
-
operating_system_name: ("AMAZON_LINUX_2" | "UBUNTU_18_04" | "UBUNTU_20_04" | "UBUNTU_22_04" | "UNKNOWN" | "WINDOWS_10" | "WINDOWS_11" | "WINDOWS_7" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022")?
|
1094
|
+
operating_system_name: ("AMAZON_LINUX_2" | "UBUNTU_18_04" | "UBUNTU_20_04" | "UBUNTU_22_04" | "UNKNOWN" | "WINDOWS_10" | "WINDOWS_11" | "WINDOWS_7" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022" | "RHEL_8")?
|
1003
1095
|
},
|
1004
1096
|
?data_replication: ("NO_REPLICATION" | "PRIMARY_AS_SOURCE")
|
1005
1097
|
) -> _ModifyWorkspacePropertiesResponseSuccess
|
@@ -1045,12 +1137,14 @@ module Aws
|
|
1045
1137
|
|
1046
1138
|
interface _RegisterWorkspaceDirectoryResponseSuccess
|
1047
1139
|
include ::Seahorse::Client::_ResponseSuccess[Types::RegisterWorkspaceDirectoryResult]
|
1140
|
+
def directory_id: () -> ::String
|
1141
|
+
def state: () -> ("REGISTERING" | "REGISTERED" | "DEREGISTERING" | "DEREGISTERED" | "ERROR")
|
1048
1142
|
end
|
1049
1143
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#register_workspace_directory-instance_method
|
1050
1144
|
def register_workspace_directory: (
|
1051
|
-
directory_id: ::String,
|
1145
|
+
?directory_id: ::String,
|
1052
1146
|
?subnet_ids: Array[::String],
|
1053
|
-
enable_work_docs: bool,
|
1147
|
+
?enable_work_docs: bool,
|
1054
1148
|
?enable_self_service: bool,
|
1055
1149
|
?tenancy: ("DEDICATED" | "SHARED"),
|
1056
1150
|
?tags: Array[
|
@@ -1058,9 +1152,17 @@ module Aws
|
|
1058
1152
|
key: ::String,
|
1059
1153
|
value: ::String?
|
1060
1154
|
},
|
1061
|
-
]
|
1155
|
+
],
|
1156
|
+
?workspace_directory_name: ::String,
|
1157
|
+
?workspace_directory_description: ::String,
|
1158
|
+
?user_identity_type: ("CUSTOMER_MANAGED" | "AWS_DIRECTORY_SERVICE"),
|
1159
|
+
?workspace_type: ("PERSONAL" | "POOLS"),
|
1160
|
+
?active_directory_config: {
|
1161
|
+
domain_name: ::String,
|
1162
|
+
service_account_secret_arn: ::String
|
1163
|
+
}
|
1062
1164
|
) -> _RegisterWorkspaceDirectoryResponseSuccess
|
1063
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterWorkspaceDirectoryResponseSuccess
|
1165
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterWorkspaceDirectoryResponseSuccess
|
1064
1166
|
|
1065
1167
|
interface _RejectAccountLinkInvitationResponseSuccess
|
1066
1168
|
include ::Seahorse::Client::_ResponseSuccess[Types::RejectAccountLinkInvitationResult]
|
@@ -1106,6 +1208,15 @@ module Aws
|
|
1106
1208
|
) -> _StartWorkspacesResponseSuccess
|
1107
1209
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartWorkspacesResponseSuccess
|
1108
1210
|
|
1211
|
+
interface _StartWorkspacesPoolResponseSuccess
|
1212
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartWorkspacesPoolResult]
|
1213
|
+
end
|
1214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#start_workspaces_pool-instance_method
|
1215
|
+
def start_workspaces_pool: (
|
1216
|
+
pool_id: ::String
|
1217
|
+
) -> _StartWorkspacesPoolResponseSuccess
|
1218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartWorkspacesPoolResponseSuccess
|
1219
|
+
|
1109
1220
|
interface _StopWorkspacesResponseSuccess
|
1110
1221
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopWorkspacesResult]
|
1111
1222
|
def failed_requests: () -> ::Array[Types::FailedWorkspaceChangeRequest]
|
@@ -1120,6 +1231,15 @@ module Aws
|
|
1120
1231
|
) -> _StopWorkspacesResponseSuccess
|
1121
1232
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopWorkspacesResponseSuccess
|
1122
1233
|
|
1234
|
+
interface _StopWorkspacesPoolResponseSuccess
|
1235
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopWorkspacesPoolResult]
|
1236
|
+
end
|
1237
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#stop_workspaces_pool-instance_method
|
1238
|
+
def stop_workspaces_pool: (
|
1239
|
+
pool_id: ::String
|
1240
|
+
) -> _StopWorkspacesPoolResponseSuccess
|
1241
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopWorkspacesPoolResponseSuccess
|
1242
|
+
|
1123
1243
|
interface _TerminateWorkspacesResponseSuccess
|
1124
1244
|
include ::Seahorse::Client::_ResponseSuccess[Types::TerminateWorkspacesResult]
|
1125
1245
|
def failed_requests: () -> ::Array[Types::FailedWorkspaceChangeRequest]
|
@@ -1134,6 +1254,24 @@ module Aws
|
|
1134
1254
|
) -> _TerminateWorkspacesResponseSuccess
|
1135
1255
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateWorkspacesResponseSuccess
|
1136
1256
|
|
1257
|
+
interface _TerminateWorkspacesPoolResponseSuccess
|
1258
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TerminateWorkspacesPoolResult]
|
1259
|
+
end
|
1260
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#terminate_workspaces_pool-instance_method
|
1261
|
+
def terminate_workspaces_pool: (
|
1262
|
+
pool_id: ::String
|
1263
|
+
) -> _TerminateWorkspacesPoolResponseSuccess
|
1264
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateWorkspacesPoolResponseSuccess
|
1265
|
+
|
1266
|
+
interface _TerminateWorkspacesPoolSessionResponseSuccess
|
1267
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TerminateWorkspacesPoolSessionResult]
|
1268
|
+
end
|
1269
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#terminate_workspaces_pool_session-instance_method
|
1270
|
+
def terminate_workspaces_pool_session: (
|
1271
|
+
session_id: ::String
|
1272
|
+
) -> _TerminateWorkspacesPoolSessionResponseSuccess
|
1273
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateWorkspacesPoolSessionResponseSuccess
|
1274
|
+
|
1137
1275
|
interface _UpdateConnectClientAddInResponseSuccess
|
1138
1276
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectClientAddInResult]
|
1139
1277
|
end
|
@@ -1194,6 +1332,31 @@ module Aws
|
|
1194
1332
|
shared_account_id: ::String
|
1195
1333
|
) -> _UpdateWorkspaceImagePermissionResponseSuccess
|
1196
1334
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspaceImagePermissionResponseSuccess
|
1335
|
+
|
1336
|
+
interface _UpdateWorkspacesPoolResponseSuccess
|
1337
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkspacesPoolResult]
|
1338
|
+
def workspaces_pool: () -> Types::WorkspacesPool
|
1339
|
+
end
|
1340
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#update_workspaces_pool-instance_method
|
1341
|
+
def update_workspaces_pool: (
|
1342
|
+
pool_id: ::String,
|
1343
|
+
?description: ::String,
|
1344
|
+
?bundle_id: ::String,
|
1345
|
+
?directory_id: ::String,
|
1346
|
+
?capacity: {
|
1347
|
+
desired_user_sessions: ::Integer
|
1348
|
+
},
|
1349
|
+
?application_settings: {
|
1350
|
+
status: ("DISABLED" | "ENABLED"),
|
1351
|
+
settings_group: ::String?
|
1352
|
+
},
|
1353
|
+
?timeout_settings: {
|
1354
|
+
disconnect_timeout_in_seconds: ::Integer?,
|
1355
|
+
idle_disconnect_timeout_in_seconds: ::Integer?,
|
1356
|
+
max_user_duration_in_seconds: ::Integer?
|
1357
|
+
}
|
1358
|
+
) -> _UpdateWorkspacesPoolResponseSuccess
|
1359
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkspacesPoolResponseSuccess
|
1197
1360
|
end
|
1198
1361
|
end
|
1199
1362
|
end
|