aws-sdk-workspaces 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-workspaces.rb +1 -1
- data/lib/aws-sdk-workspaces/client.rb +3 -80
- data/lib/aws-sdk-workspaces/client_api.rb +0 -48
- data/lib/aws-sdk-workspaces/types.rb +1 -86
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8be656fe448fb45612e840fae1762268fdcf31e5
|
4
|
+
data.tar.gz: 778298f10605c38109dc00d86c39415613cedc29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e32a84f550c09d46344b5836ff60b107060bf9d5685acc1476ee3ec5a637310db2d02068c64548fbddedef686cc0cbb4e415d1cbba21c04cbd03b362d709238
|
7
|
+
data.tar.gz: 25429bb6d64bcda876839f28ebec8fdcc5d2bc97eb14ff126ea7147f503e037bce037b49378b16302290a473f8dff33a622a493994f4f48e260aecb12bd20489
|
data/lib/aws-sdk-workspaces.rb
CHANGED
@@ -537,7 +537,7 @@ module Aws::WorkSpaces
|
|
537
537
|
# resp.pending_requests[0].directory_id #=> String
|
538
538
|
# resp.pending_requests[0].user_name #=> String
|
539
539
|
# resp.pending_requests[0].ip_address #=> String
|
540
|
-
# resp.pending_requests[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "
|
540
|
+
# resp.pending_requests[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "MAINTENANCE", "ADMIN_MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
|
541
541
|
# resp.pending_requests[0].bundle_id #=> String
|
542
542
|
# resp.pending_requests[0].subnet_id #=> String
|
543
543
|
# resp.pending_requests[0].error_message #=> String
|
@@ -969,38 +969,6 @@ module Aws::WorkSpaces
|
|
969
969
|
req.send_request(options)
|
970
970
|
end
|
971
971
|
|
972
|
-
# Describes the snapshots for the specified WorkSpace.
|
973
|
-
#
|
974
|
-
# @option params [required, String] :workspace_id
|
975
|
-
# The identifier of the WorkSpace.
|
976
|
-
#
|
977
|
-
# @return [Types::DescribeWorkspaceSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
978
|
-
#
|
979
|
-
# * {Types::DescribeWorkspaceSnapshotsResult#rebuild_snapshots #rebuild_snapshots} => Array<Types::Snapshot>
|
980
|
-
# * {Types::DescribeWorkspaceSnapshotsResult#restore_snapshots #restore_snapshots} => Array<Types::Snapshot>
|
981
|
-
#
|
982
|
-
# @example Request syntax with placeholder values
|
983
|
-
#
|
984
|
-
# resp = client.describe_workspace_snapshots({
|
985
|
-
# workspace_id: "WorkspaceId", # required
|
986
|
-
# })
|
987
|
-
#
|
988
|
-
# @example Response structure
|
989
|
-
#
|
990
|
-
# resp.rebuild_snapshots #=> Array
|
991
|
-
# resp.rebuild_snapshots[0].snapshot_time #=> Time
|
992
|
-
# resp.restore_snapshots #=> Array
|
993
|
-
# resp.restore_snapshots[0].snapshot_time #=> Time
|
994
|
-
#
|
995
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceSnapshots AWS API Documentation
|
996
|
-
#
|
997
|
-
# @overload describe_workspace_snapshots(params = {})
|
998
|
-
# @param [Hash] params ({})
|
999
|
-
def describe_workspace_snapshots(params = {}, options = {})
|
1000
|
-
req = build_request(:describe_workspace_snapshots, params)
|
1001
|
-
req.send_request(options)
|
1002
|
-
end
|
1003
|
-
|
1004
972
|
# Describes the specified WorkSpaces.
|
1005
973
|
#
|
1006
974
|
# You can filter the results by using the bundle identifier, directory
|
@@ -1058,7 +1026,7 @@ module Aws::WorkSpaces
|
|
1058
1026
|
# resp.workspaces[0].directory_id #=> String
|
1059
1027
|
# resp.workspaces[0].user_name #=> String
|
1060
1028
|
# resp.workspaces[0].ip_address #=> String
|
1061
|
-
# resp.workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "
|
1029
|
+
# resp.workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "MAINTENANCE", "ADMIN_MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
|
1062
1030
|
# resp.workspaces[0].bundle_id #=> String
|
1063
1031
|
# resp.workspaces[0].subnet_id #=> String
|
1064
1032
|
# resp.workspaces[0].error_message #=> String
|
@@ -1438,9 +1406,6 @@ module Aws::WorkSpaces
|
|
1438
1406
|
# @option params [required, Array<Types::RebuildRequest>] :rebuild_workspace_requests
|
1439
1407
|
# The WorkSpace to rebuild. You can specify a single WorkSpace.
|
1440
1408
|
#
|
1441
|
-
# @option params [String] :additional_info
|
1442
|
-
# Reserved.
|
1443
|
-
#
|
1444
1409
|
# @return [Types::RebuildWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1445
1410
|
#
|
1446
1411
|
# * {Types::RebuildWorkspacesResult#failed_requests #failed_requests} => Array<Types::FailedWorkspaceChangeRequest>
|
@@ -1453,7 +1418,6 @@ module Aws::WorkSpaces
|
|
1453
1418
|
# workspace_id: "WorkspaceId", # required
|
1454
1419
|
# },
|
1455
1420
|
# ],
|
1456
|
-
# additional_info: "AdditionalInfo",
|
1457
1421
|
# })
|
1458
1422
|
#
|
1459
1423
|
# @example Response structure
|
@@ -1472,47 +1436,6 @@ module Aws::WorkSpaces
|
|
1472
1436
|
req.send_request(options)
|
1473
1437
|
end
|
1474
1438
|
|
1475
|
-
# Restores the specified WorkSpace to its last known healthy state.
|
1476
|
-
#
|
1477
|
-
# You cannot restore a WorkSpace unless its state is ` AVAILABLE`,
|
1478
|
-
# `ERROR`, or `UNHEALTHY`.
|
1479
|
-
#
|
1480
|
-
# Restoring a WorkSpace is a potentially destructive action that can
|
1481
|
-
# result in the loss of data. For more information, see [Restore a
|
1482
|
-
# WorkSpace][1].
|
1483
|
-
#
|
1484
|
-
# This operation is asynchronous and returns before the WorkSpace is
|
1485
|
-
# completely restored.
|
1486
|
-
#
|
1487
|
-
#
|
1488
|
-
#
|
1489
|
-
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html
|
1490
|
-
#
|
1491
|
-
# @option params [required, String] :workspace_id
|
1492
|
-
# The identifier of the WorkSpace.
|
1493
|
-
#
|
1494
|
-
# @option params [Boolean] :snapshot_current_volumes
|
1495
|
-
# Indicates whether to create snapshots of the root volume and user
|
1496
|
-
# volume before restoring the WorkSpace.
|
1497
|
-
#
|
1498
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1499
|
-
#
|
1500
|
-
# @example Request syntax with placeholder values
|
1501
|
-
#
|
1502
|
-
# resp = client.restore_workspace({
|
1503
|
-
# workspace_id: "WorkspaceId", # required
|
1504
|
-
# snapshot_current_volumes: false,
|
1505
|
-
# })
|
1506
|
-
#
|
1507
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RestoreWorkspace AWS API Documentation
|
1508
|
-
#
|
1509
|
-
# @overload restore_workspace(params = {})
|
1510
|
-
# @param [Hash] params ({})
|
1511
|
-
def restore_workspace(params = {}, options = {})
|
1512
|
-
req = build_request(:restore_workspace, params)
|
1513
|
-
req.send_request(options)
|
1514
|
-
end
|
1515
|
-
|
1516
1439
|
# Removes one or more rules from the specified IP access control group.
|
1517
1440
|
#
|
1518
1441
|
# @option params [required, String] :group_id
|
@@ -1704,7 +1627,7 @@ module Aws::WorkSpaces
|
|
1704
1627
|
params: params,
|
1705
1628
|
config: config)
|
1706
1629
|
context[:gem_name] = 'aws-sdk-workspaces'
|
1707
|
-
context[:gem_version] = '1.
|
1630
|
+
context[:gem_version] = '1.25.0'
|
1708
1631
|
Seahorse::Client::Request.new(handlers, context)
|
1709
1632
|
end
|
1710
1633
|
|
@@ -15,7 +15,6 @@ module Aws::WorkSpaces
|
|
15
15
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
16
16
|
AccountModification = Shapes::StructureShape.new(name: 'AccountModification')
|
17
17
|
AccountModificationList = Shapes::ListShape.new(name: 'AccountModificationList')
|
18
|
-
AdditionalInfo = Shapes::StringShape.new(name: 'AdditionalInfo')
|
19
18
|
Alias = Shapes::StringShape.new(name: 'Alias')
|
20
19
|
AssociateIpGroupsRequest = Shapes::StructureShape.new(name: 'AssociateIpGroupsRequest')
|
21
20
|
AssociateIpGroupsResult = Shapes::StructureShape.new(name: 'AssociateIpGroupsResult')
|
@@ -70,8 +69,6 @@ module Aws::WorkSpaces
|
|
70
69
|
DescribeWorkspaceDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesResult')
|
71
70
|
DescribeWorkspaceImagesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagesRequest')
|
72
71
|
DescribeWorkspaceImagesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagesResult')
|
73
|
-
DescribeWorkspaceSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceSnapshotsRequest')
|
74
|
-
DescribeWorkspaceSnapshotsResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceSnapshotsResult')
|
75
72
|
DescribeWorkspacesConnectionStatusRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusRequest')
|
76
73
|
DescribeWorkspacesConnectionStatusResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusResult')
|
77
74
|
DescribeWorkspacesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesRequest')
|
@@ -150,8 +147,6 @@ module Aws::WorkSpaces
|
|
150
147
|
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
151
148
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
152
149
|
ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
|
153
|
-
RestoreWorkspaceRequest = Shapes::StructureShape.new(name: 'RestoreWorkspaceRequest')
|
154
|
-
RestoreWorkspaceResult = Shapes::StructureShape.new(name: 'RestoreWorkspaceResult')
|
155
150
|
RevokeIpRulesRequest = Shapes::StructureShape.new(name: 'RevokeIpRulesRequest')
|
156
151
|
RevokeIpRulesResult = Shapes::StructureShape.new(name: 'RevokeIpRulesResult')
|
157
152
|
RootStorage = Shapes::StructureShape.new(name: 'RootStorage')
|
@@ -159,8 +154,6 @@ module Aws::WorkSpaces
|
|
159
154
|
RunningMode = Shapes::StringShape.new(name: 'RunningMode')
|
160
155
|
RunningModeAutoStopTimeoutInMinutes = Shapes::IntegerShape.new(name: 'RunningModeAutoStopTimeoutInMinutes')
|
161
156
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
162
|
-
Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
|
163
|
-
SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
|
164
157
|
StartRequest = Shapes::StructureShape.new(name: 'StartRequest')
|
165
158
|
StartWorkspaceRequests = Shapes::ListShape.new(name: 'StartWorkspaceRequests')
|
166
159
|
StartWorkspacesRequest = Shapes::StructureShape.new(name: 'StartWorkspacesRequest')
|
@@ -375,13 +368,6 @@ module Aws::WorkSpaces
|
|
375
368
|
DescribeWorkspaceImagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
376
369
|
DescribeWorkspaceImagesResult.struct_class = Types::DescribeWorkspaceImagesResult
|
377
370
|
|
378
|
-
DescribeWorkspaceSnapshotsRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
|
379
|
-
DescribeWorkspaceSnapshotsRequest.struct_class = Types::DescribeWorkspaceSnapshotsRequest
|
380
|
-
|
381
|
-
DescribeWorkspaceSnapshotsResult.add_member(:rebuild_snapshots, Shapes::ShapeRef.new(shape: SnapshotList, location_name: "RebuildSnapshots"))
|
382
|
-
DescribeWorkspaceSnapshotsResult.add_member(:restore_snapshots, Shapes::ShapeRef.new(shape: SnapshotList, location_name: "RestoreSnapshots"))
|
383
|
-
DescribeWorkspaceSnapshotsResult.struct_class = Types::DescribeWorkspaceSnapshotsResult
|
384
|
-
|
385
371
|
DescribeWorkspacesConnectionStatusRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
|
386
372
|
DescribeWorkspacesConnectionStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
387
373
|
DescribeWorkspacesConnectionStatusRequest.struct_class = Types::DescribeWorkspacesConnectionStatusRequest
|
@@ -527,7 +513,6 @@ module Aws::WorkSpaces
|
|
527
513
|
RebuildWorkspaceRequests.member = Shapes::ShapeRef.new(shape: RebuildRequest)
|
528
514
|
|
529
515
|
RebuildWorkspacesRequest.add_member(:rebuild_workspace_requests, Shapes::ShapeRef.new(shape: RebuildWorkspaceRequests, required: true, location_name: "RebuildWorkspaceRequests"))
|
530
|
-
RebuildWorkspacesRequest.add_member(:additional_info, Shapes::ShapeRef.new(shape: AdditionalInfo, location_name: "AdditionalInfo"))
|
531
516
|
RebuildWorkspacesRequest.struct_class = Types::RebuildWorkspacesRequest
|
532
517
|
|
533
518
|
RebuildWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebuildWorkspaceRequests, location_name: "FailedRequests"))
|
@@ -555,12 +540,6 @@ module Aws::WorkSpaces
|
|
555
540
|
ResourceUnavailableException.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceId"))
|
556
541
|
ResourceUnavailableException.struct_class = Types::ResourceUnavailableException
|
557
542
|
|
558
|
-
RestoreWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
|
559
|
-
RestoreWorkspaceRequest.add_member(:snapshot_current_volumes, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "SnapshotCurrentVolumes"))
|
560
|
-
RestoreWorkspaceRequest.struct_class = Types::RestoreWorkspaceRequest
|
561
|
-
|
562
|
-
RestoreWorkspaceResult.struct_class = Types::RestoreWorkspaceResult
|
563
|
-
|
564
543
|
RevokeIpRulesRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, required: true, location_name: "GroupId"))
|
565
544
|
RevokeIpRulesRequest.add_member(:user_rules, Shapes::ShapeRef.new(shape: IpRevokedRuleList, required: true, location_name: "UserRules"))
|
566
545
|
RevokeIpRulesRequest.struct_class = Types::RevokeIpRulesRequest
|
@@ -570,11 +549,6 @@ module Aws::WorkSpaces
|
|
570
549
|
RootStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
|
571
550
|
RootStorage.struct_class = Types::RootStorage
|
572
551
|
|
573
|
-
Snapshot.add_member(:snapshot_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SnapshotTime"))
|
574
|
-
Snapshot.struct_class = Types::Snapshot
|
575
|
-
|
576
|
-
SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot)
|
577
|
-
|
578
552
|
StartRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
|
579
553
|
StartRequest.struct_class = Types::StartRequest
|
580
554
|
|
@@ -936,17 +910,6 @@ module Aws::WorkSpaces
|
|
936
910
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
937
911
|
end)
|
938
912
|
|
939
|
-
api.add_operation(:describe_workspace_snapshots, Seahorse::Model::Operation.new.tap do |o|
|
940
|
-
o.name = "DescribeWorkspaceSnapshots"
|
941
|
-
o.http_method = "POST"
|
942
|
-
o.http_request_uri = "/"
|
943
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceSnapshotsRequest)
|
944
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceSnapshotsResult)
|
945
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
946
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
947
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
948
|
-
end)
|
949
|
-
|
950
913
|
api.add_operation(:describe_workspaces, Seahorse::Model::Operation.new.tap do |o|
|
951
914
|
o.name = "DescribeWorkspaces"
|
952
915
|
o.http_method = "POST"
|
@@ -1074,17 +1037,6 @@ module Aws::WorkSpaces
|
|
1074
1037
|
o.output = Shapes::ShapeRef.new(shape: RebuildWorkspacesResult)
|
1075
1038
|
end)
|
1076
1039
|
|
1077
|
-
api.add_operation(:restore_workspace, Seahorse::Model::Operation.new.tap do |o|
|
1078
|
-
o.name = "RestoreWorkspace"
|
1079
|
-
o.http_method = "POST"
|
1080
|
-
o.http_request_uri = "/"
|
1081
|
-
o.input = Shapes::ShapeRef.new(shape: RestoreWorkspaceRequest)
|
1082
|
-
o.output = Shapes::ShapeRef.new(shape: RestoreWorkspaceResult)
|
1083
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1084
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1085
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1086
|
-
end)
|
1087
|
-
|
1088
1040
|
api.add_operation(:revoke_ip_rules, Seahorse::Model::Operation.new.tap do |o|
|
1089
1041
|
o.name = "RevokeIpRules"
|
1090
1042
|
o.http_method = "POST"
|
@@ -816,43 +816,6 @@ module Aws::WorkSpaces
|
|
816
816
|
include Aws::Structure
|
817
817
|
end
|
818
818
|
|
819
|
-
# @note When making an API call, you may pass DescribeWorkspaceSnapshotsRequest
|
820
|
-
# data as a hash:
|
821
|
-
#
|
822
|
-
# {
|
823
|
-
# workspace_id: "WorkspaceId", # required
|
824
|
-
# }
|
825
|
-
#
|
826
|
-
# @!attribute [rw] workspace_id
|
827
|
-
# The identifier of the WorkSpace.
|
828
|
-
# @return [String]
|
829
|
-
#
|
830
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceSnapshotsRequest AWS API Documentation
|
831
|
-
#
|
832
|
-
class DescribeWorkspaceSnapshotsRequest < Struct.new(
|
833
|
-
:workspace_id)
|
834
|
-
include Aws::Structure
|
835
|
-
end
|
836
|
-
|
837
|
-
# @!attribute [rw] rebuild_snapshots
|
838
|
-
# Information about the snapshots that can be used to rebuild a
|
839
|
-
# WorkSpace. These snapshots include the root volume.
|
840
|
-
# @return [Array<Types::Snapshot>]
|
841
|
-
#
|
842
|
-
# @!attribute [rw] restore_snapshots
|
843
|
-
# Information about the snapshots that can be used to restore a
|
844
|
-
# WorkSpace. These snapshots include both the root volume and the user
|
845
|
-
# volume.
|
846
|
-
# @return [Array<Types::Snapshot>]
|
847
|
-
#
|
848
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceSnapshotsResult AWS API Documentation
|
849
|
-
#
|
850
|
-
class DescribeWorkspaceSnapshotsResult < Struct.new(
|
851
|
-
:rebuild_snapshots,
|
852
|
-
:restore_snapshots)
|
853
|
-
include Aws::Structure
|
854
|
-
end
|
855
|
-
|
856
819
|
# @note When making an API call, you may pass DescribeWorkspacesConnectionStatusRequest
|
857
820
|
# data as a hash:
|
858
821
|
#
|
@@ -1477,22 +1440,16 @@ module Aws::WorkSpaces
|
|
1477
1440
|
# workspace_id: "WorkspaceId", # required
|
1478
1441
|
# },
|
1479
1442
|
# ],
|
1480
|
-
# additional_info: "AdditionalInfo",
|
1481
1443
|
# }
|
1482
1444
|
#
|
1483
1445
|
# @!attribute [rw] rebuild_workspace_requests
|
1484
1446
|
# The WorkSpace to rebuild. You can specify a single WorkSpace.
|
1485
1447
|
# @return [Array<Types::RebuildRequest>]
|
1486
1448
|
#
|
1487
|
-
# @!attribute [rw] additional_info
|
1488
|
-
# Reserved.
|
1489
|
-
# @return [String]
|
1490
|
-
#
|
1491
1449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesRequest AWS API Documentation
|
1492
1450
|
#
|
1493
1451
|
class RebuildWorkspacesRequest < Struct.new(
|
1494
|
-
:rebuild_workspace_requests
|
1495
|
-
:additional_info)
|
1452
|
+
:rebuild_workspace_requests)
|
1496
1453
|
include Aws::Structure
|
1497
1454
|
end
|
1498
1455
|
|
@@ -1592,35 +1549,6 @@ module Aws::WorkSpaces
|
|
1592
1549
|
include Aws::Structure
|
1593
1550
|
end
|
1594
1551
|
|
1595
|
-
# @note When making an API call, you may pass RestoreWorkspaceRequest
|
1596
|
-
# data as a hash:
|
1597
|
-
#
|
1598
|
-
# {
|
1599
|
-
# workspace_id: "WorkspaceId", # required
|
1600
|
-
# snapshot_current_volumes: false,
|
1601
|
-
# }
|
1602
|
-
#
|
1603
|
-
# @!attribute [rw] workspace_id
|
1604
|
-
# The identifier of the WorkSpace.
|
1605
|
-
# @return [String]
|
1606
|
-
#
|
1607
|
-
# @!attribute [rw] snapshot_current_volumes
|
1608
|
-
# Indicates whether to create snapshots of the root volume and user
|
1609
|
-
# volume before restoring the WorkSpace.
|
1610
|
-
# @return [Boolean]
|
1611
|
-
#
|
1612
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RestoreWorkspaceRequest AWS API Documentation
|
1613
|
-
#
|
1614
|
-
class RestoreWorkspaceRequest < Struct.new(
|
1615
|
-
:workspace_id,
|
1616
|
-
:snapshot_current_volumes)
|
1617
|
-
include Aws::Structure
|
1618
|
-
end
|
1619
|
-
|
1620
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RestoreWorkspaceResult AWS API Documentation
|
1621
|
-
#
|
1622
|
-
class RestoreWorkspaceResult < Aws::EmptyStructure; end
|
1623
|
-
|
1624
1552
|
# @note When making an API call, you may pass RevokeIpRulesRequest
|
1625
1553
|
# data as a hash:
|
1626
1554
|
#
|
@@ -1662,19 +1590,6 @@ module Aws::WorkSpaces
|
|
1662
1590
|
include Aws::Structure
|
1663
1591
|
end
|
1664
1592
|
|
1665
|
-
# Describes a snapshot.
|
1666
|
-
#
|
1667
|
-
# @!attribute [rw] snapshot_time
|
1668
|
-
# The time when the snapshot was created.
|
1669
|
-
# @return [Time]
|
1670
|
-
#
|
1671
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Snapshot AWS API Documentation
|
1672
|
-
#
|
1673
|
-
class Snapshot < Struct.new(
|
1674
|
-
:snapshot_time)
|
1675
|
-
include Aws::Structure
|
1676
|
-
end
|
1677
|
-
|
1678
1593
|
# Information used to start a WorkSpace.
|
1679
1594
|
#
|
1680
1595
|
# @note When making an API call, you may pass StartRequest
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-workspaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|