aws-sdk-workspaces 1.92.0 → 1.93.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7173dd4fc7a7c4fab8f0424ef2ebcba60cbcb3066960e0ea29fb22d5b4d8fdce
4
- data.tar.gz: e8d85be2c6e588263d2d414539df5ce6f52d56c00cf4a046a786e03fff0df021
3
+ metadata.gz: f26f59e2f0854e5a1c2b5556f3384a2ea56ea50b780ef4a5543b521adc1251d1
4
+ data.tar.gz: 63f427d8a7a490dec76f49cd37e112d1f79fb4e2ae892419bd3ae2e47c83660b
5
5
  SHA512:
6
- metadata.gz: 6f56e9bc236d00aeba122ca42c4a671b35379f225bc2ead3aec0081c252ad7140379a965b1e6239344cb2c85da2445a4e847e51b784f427776e48caa7a168606
7
- data.tar.gz: 7789af73fe257247d84f8031883ca3beec2337c27d129ce85905090dee0a5ef9f3603dbb9c7e0f4afc067ab77a4080f02f89aa6fbfc0fb04ea27663c5880adfb
6
+ metadata.gz: 601cb94deb80a4b9af29807a21fdea2337dbc215ab3f1b9c9f8cbfa024763429613eaf8ac4f6bf517eddbb1e94df13099a101cc6faaf51ffd3078e6291674459
7
+ data.tar.gz: 586ff7ae506376b602b1048bcce16363095ea388858474c1a566001922b06130516d3656699bf9bbc05caccf87a9eae88aa7cced1847c308ea4979b76a336178
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.93.0 (2023-11-27)
5
+ ------------------
6
+
7
+ * Feature - The release introduces Multi-Region Resilience one-way data replication that allows you to replicate data from your primary WorkSpace to a standby WorkSpace in another AWS Region. DescribeWorkspaces now returns the status of data replication.
8
+
4
9
  1.92.0 (2023-11-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.92.0
1
+ 1.93.0
@@ -795,6 +795,7 @@ module Aws::WorkSpaces
795
795
  # value: "TagValue",
796
796
  # },
797
797
  # ],
798
+ # data_replication: "NO_REPLICATION", # accepts NO_REPLICATION, PRIMARY_AS_SOURCE
798
799
  # },
799
800
  # ],
800
801
  # })
@@ -808,6 +809,7 @@ module Aws::WorkSpaces
808
809
  # resp.failed_standby_requests[0].standby_workspace_request.tags #=> Array
809
810
  # resp.failed_standby_requests[0].standby_workspace_request.tags[0].key #=> String
810
811
  # resp.failed_standby_requests[0].standby_workspace_request.tags[0].value #=> String
812
+ # resp.failed_standby_requests[0].standby_workspace_request.data_replication #=> String, one of "NO_REPLICATION", "PRIMARY_AS_SOURCE"
811
813
  # resp.failed_standby_requests[0].error_code #=> String
812
814
  # resp.failed_standby_requests[0].error_message #=> String
813
815
  # resp.pending_standby_requests #=> Array
@@ -1186,6 +1188,12 @@ module Aws::WorkSpaces
1186
1188
  # resp.pending_requests[0].related_workspaces[0].region #=> String
1187
1189
  # resp.pending_requests[0].related_workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "RESTORING", "MAINTENANCE", "ADMIN_MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
1188
1190
  # resp.pending_requests[0].related_workspaces[0].type #=> String, one of "PRIMARY", "STANDBY"
1191
+ # resp.pending_requests[0].data_replication_settings.data_replication #=> String, one of "NO_REPLICATION", "PRIMARY_AS_SOURCE"
1192
+ # resp.pending_requests[0].data_replication_settings.recovery_snapshot_time #=> Time
1193
+ # resp.pending_requests[0].standby_workspaces_properties #=> Array
1194
+ # resp.pending_requests[0].standby_workspaces_properties[0].standby_workspace_id #=> String
1195
+ # resp.pending_requests[0].standby_workspaces_properties[0].data_replication #=> String, one of "NO_REPLICATION", "PRIMARY_AS_SOURCE"
1196
+ # resp.pending_requests[0].standby_workspaces_properties[0].recovery_snapshot_time #=> Time
1189
1197
  #
1190
1198
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces AWS API Documentation
1191
1199
  #
@@ -2505,6 +2513,12 @@ module Aws::WorkSpaces
2505
2513
  # resp.workspaces[0].related_workspaces[0].region #=> String
2506
2514
  # resp.workspaces[0].related_workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "RESTORING", "MAINTENANCE", "ADMIN_MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
2507
2515
  # resp.workspaces[0].related_workspaces[0].type #=> String, one of "PRIMARY", "STANDBY"
2516
+ # resp.workspaces[0].data_replication_settings.data_replication #=> String, one of "NO_REPLICATION", "PRIMARY_AS_SOURCE"
2517
+ # resp.workspaces[0].data_replication_settings.recovery_snapshot_time #=> Time
2518
+ # resp.workspaces[0].standby_workspaces_properties #=> Array
2519
+ # resp.workspaces[0].standby_workspaces_properties[0].standby_workspace_id #=> String
2520
+ # resp.workspaces[0].standby_workspaces_properties[0].data_replication #=> String, one of "NO_REPLICATION", "PRIMARY_AS_SOURCE"
2521
+ # resp.workspaces[0].standby_workspaces_properties[0].recovery_snapshot_time #=> Time
2508
2522
  # resp.next_token #=> String
2509
2523
  #
2510
2524
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces AWS API Documentation
@@ -3295,16 +3309,19 @@ module Aws::WorkSpaces
3295
3309
  # @option params [required, String] :workspace_id
3296
3310
  # The identifier of the WorkSpace.
3297
3311
  #
3298
- # @option params [required, Types::WorkspaceProperties] :workspace_properties
3312
+ # @option params [Types::WorkspaceProperties] :workspace_properties
3299
3313
  # The properties of the WorkSpace.
3300
3314
  #
3315
+ # @option params [String] :data_replication
3316
+ # Indicates the data replication status.
3317
+ #
3301
3318
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3302
3319
  #
3303
3320
  # @example Request syntax with placeholder values
3304
3321
  #
3305
3322
  # resp = client.modify_workspace_properties({
3306
3323
  # workspace_id: "WorkspaceId", # required
3307
- # workspace_properties: { # required
3324
+ # workspace_properties: {
3308
3325
  # running_mode: "AUTO_STOP", # accepts AUTO_STOP, ALWAYS_ON, MANUAL
3309
3326
  # running_mode_auto_stop_timeout_in_minutes: 1,
3310
3327
  # root_volume_size_gib: 1,
@@ -3313,6 +3330,7 @@ module Aws::WorkSpaces
3313
3330
  # protocols: ["PCOIP"], # accepts PCOIP, WSP
3314
3331
  # operating_system_name: "AMAZON_LINUX_2", # accepts 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
3315
3332
  # },
3333
+ # data_replication: "NO_REPLICATION", # accepts NO_REPLICATION, PRIMARY_AS_SOURCE
3316
3334
  # })
3317
3335
  #
3318
3336
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties AWS API Documentation
@@ -3969,7 +3987,7 @@ module Aws::WorkSpaces
3969
3987
  params: params,
3970
3988
  config: config)
3971
3989
  context[:gem_name] = 'aws-sdk-workspaces'
3972
- context[:gem_version] = '1.92.0'
3990
+ context[:gem_version] = '1.93.0'
3973
3991
  Seahorse::Client::Request.new(handlers, context)
3974
3992
  end
3975
3993
 
@@ -103,6 +103,8 @@ module Aws::WorkSpaces
103
103
  CreateWorkspaceImageResult = Shapes::StructureShape.new(name: 'CreateWorkspaceImageResult')
104
104
  CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
105
105
  CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
106
+ DataReplication = Shapes::StringShape.new(name: 'DataReplication')
107
+ DataReplicationSettings = Shapes::StructureShape.new(name: 'DataReplicationSettings')
106
108
  DedicatedTenancyCidrRangeList = Shapes::ListShape.new(name: 'DedicatedTenancyCidrRangeList')
107
109
  DedicatedTenancyManagementCidrRange = Shapes::StringShape.new(name: 'DedicatedTenancyManagementCidrRange')
108
110
  DedicatedTenancyModificationStateEnum = Shapes::StringShape.new(name: 'DedicatedTenancyModificationStateEnum')
@@ -319,6 +321,8 @@ module Aws::WorkSpaces
319
321
  StandbyWorkspace = Shapes::StructureShape.new(name: 'StandbyWorkspace')
320
322
  StandbyWorkspaceRelationshipType = Shapes::StringShape.new(name: 'StandbyWorkspaceRelationshipType')
321
323
  StandbyWorkspacesList = Shapes::ListShape.new(name: 'StandbyWorkspacesList')
324
+ StandbyWorkspacesProperties = Shapes::StructureShape.new(name: 'StandbyWorkspacesProperties')
325
+ StandbyWorkspacesPropertiesList = Shapes::ListShape.new(name: 'StandbyWorkspacesPropertiesList')
322
326
  StartRequest = Shapes::StructureShape.new(name: 'StartRequest')
323
327
  StartWorkspaceRequests = Shapes::ListShape.new(name: 'StartWorkspaceRequests')
324
328
  StartWorkspacesRequest = Shapes::StructureShape.new(name: 'StartWorkspacesRequest')
@@ -632,6 +636,10 @@ module Aws::WorkSpaces
632
636
  CreateWorkspacesResult.add_member(:pending_requests, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "PendingRequests"))
633
637
  CreateWorkspacesResult.struct_class = Types::CreateWorkspacesResult
634
638
 
639
+ DataReplicationSettings.add_member(:data_replication, Shapes::ShapeRef.new(shape: DataReplication, location_name: "DataReplication"))
640
+ DataReplicationSettings.add_member(:recovery_snapshot_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RecoverySnapshotTime"))
641
+ DataReplicationSettings.struct_class = Types::DataReplicationSettings
642
+
635
643
  DedicatedTenancyCidrRangeList.member = Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange)
636
644
 
637
645
  DefaultClientBrandingAttributes.add_member(:logo_url, Shapes::ShapeRef.new(shape: ClientUrl, location_name: "LogoUrl"))
@@ -1105,7 +1113,8 @@ module Aws::WorkSpaces
1105
1113
  ModifyWorkspaceCreationPropertiesResult.struct_class = Types::ModifyWorkspaceCreationPropertiesResult
1106
1114
 
1107
1115
  ModifyWorkspacePropertiesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
1108
- ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, required: true, location_name: "WorkspaceProperties"))
1116
+ ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
1117
+ ModifyWorkspacePropertiesRequest.add_member(:data_replication, Shapes::ShapeRef.new(shape: DataReplication, location_name: "DataReplication"))
1109
1118
  ModifyWorkspacePropertiesRequest.struct_class = Types::ModifyWorkspacePropertiesRequest
1110
1119
 
1111
1120
  ModifyWorkspacePropertiesResult.struct_class = Types::ModifyWorkspacePropertiesResult
@@ -1241,10 +1250,18 @@ module Aws::WorkSpaces
1241
1250
  StandbyWorkspace.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
1242
1251
  StandbyWorkspace.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1243
1252
  StandbyWorkspace.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1253
+ StandbyWorkspace.add_member(:data_replication, Shapes::ShapeRef.new(shape: DataReplication, location_name: "DataReplication"))
1244
1254
  StandbyWorkspace.struct_class = Types::StandbyWorkspace
1245
1255
 
1246
1256
  StandbyWorkspacesList.member = Shapes::ShapeRef.new(shape: StandbyWorkspace)
1247
1257
 
1258
+ StandbyWorkspacesProperties.add_member(:standby_workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "StandbyWorkspaceId"))
1259
+ StandbyWorkspacesProperties.add_member(:data_replication, Shapes::ShapeRef.new(shape: DataReplication, location_name: "DataReplication"))
1260
+ StandbyWorkspacesProperties.add_member(:recovery_snapshot_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RecoverySnapshotTime"))
1261
+ StandbyWorkspacesProperties.struct_class = Types::StandbyWorkspacesProperties
1262
+
1263
+ StandbyWorkspacesPropertiesList.member = Shapes::ShapeRef.new(shape: StandbyWorkspacesProperties)
1264
+
1248
1265
  StartRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
1249
1266
  StartRequest.struct_class = Types::StartRequest
1250
1267
 
@@ -1370,6 +1387,8 @@ module Aws::WorkSpaces
1370
1387
  Workspace.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
1371
1388
  Workspace.add_member(:modification_states, Shapes::ShapeRef.new(shape: ModificationStateList, location_name: "ModificationStates"))
1372
1389
  Workspace.add_member(:related_workspaces, Shapes::ShapeRef.new(shape: RelatedWorkspaces, location_name: "RelatedWorkspaces"))
1390
+ Workspace.add_member(:data_replication_settings, Shapes::ShapeRef.new(shape: DataReplicationSettings, location_name: "DataReplicationSettings"))
1391
+ Workspace.add_member(:standby_workspaces_properties, Shapes::ShapeRef.new(shape: StandbyWorkspacesPropertiesList, location_name: "StandbyWorkspacesProperties"))
1373
1392
  Workspace.struct_class = Types::Workspace
1374
1393
 
1375
1394
  WorkspaceAccessProperties.add_member(:device_type_windows, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeWindows"))
@@ -944,6 +944,27 @@ module Aws::WorkSpaces
944
944
  include Aws::Structure
945
945
  end
946
946
 
947
+ # Describes the data replication settings.
948
+ #
949
+ # @!attribute [rw] data_replication
950
+ # Indicates whether data replication is enabled, and if enabled, the
951
+ # type of data replication.
952
+ # @return [String]
953
+ #
954
+ # @!attribute [rw] recovery_snapshot_time
955
+ # The date and time at which the last successful snapshot was taken of
956
+ # the primary WorkSpace used for replicating data.
957
+ # @return [Time]
958
+ #
959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DataReplicationSettings AWS API Documentation
960
+ #
961
+ class DataReplicationSettings < Struct.new(
962
+ :data_replication,
963
+ :recovery_snapshot_time)
964
+ SENSITIVE = []
965
+ include Aws::Structure
966
+ end
967
+
947
968
  # Returns default client branding attributes that were imported. These
948
969
  # attributes display on the client login screen.
949
970
  #
@@ -3093,11 +3114,16 @@ module Aws::WorkSpaces
3093
3114
  # The properties of the WorkSpace.
3094
3115
  # @return [Types::WorkspaceProperties]
3095
3116
  #
3117
+ # @!attribute [rw] data_replication
3118
+ # Indicates the data replication status.
3119
+ # @return [String]
3120
+ #
3096
3121
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspacePropertiesRequest AWS API Documentation
3097
3122
  #
3098
3123
  class ModifyWorkspacePropertiesRequest < Struct.new(
3099
3124
  :workspace_id,
3100
- :workspace_properties)
3125
+ :workspace_properties,
3126
+ :data_replication)
3101
3127
  SENSITIVE = []
3102
3128
  include Aws::Structure
3103
3129
  end
@@ -3680,13 +3706,45 @@ module Aws::WorkSpaces
3680
3706
  # The tags associated with the standby WorkSpace.
3681
3707
  # @return [Array<Types::Tag>]
3682
3708
  #
3709
+ # @!attribute [rw] data_replication
3710
+ # Indicates whether data replication is enabled, and if enabled, the
3711
+ # type of data replication.
3712
+ # @return [String]
3713
+ #
3683
3714
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StandbyWorkspace AWS API Documentation
3684
3715
  #
3685
3716
  class StandbyWorkspace < Struct.new(
3686
3717
  :primary_workspace_id,
3687
3718
  :volume_encryption_key,
3688
3719
  :directory_id,
3689
- :tags)
3720
+ :tags,
3721
+ :data_replication)
3722
+ SENSITIVE = []
3723
+ include Aws::Structure
3724
+ end
3725
+
3726
+ # Describes the properties of the related standby WorkSpaces.
3727
+ #
3728
+ # @!attribute [rw] standby_workspace_id
3729
+ # The identifier of the standby WorkSpace
3730
+ # @return [String]
3731
+ #
3732
+ # @!attribute [rw] data_replication
3733
+ # Indicates whether data replication is enabled, and if enabled, the
3734
+ # type of data replication.
3735
+ # @return [String]
3736
+ #
3737
+ # @!attribute [rw] recovery_snapshot_time
3738
+ # The date and time at which the last successful snapshot was taken of
3739
+ # the primary WorkSpace used for replicating data.
3740
+ # @return [Time]
3741
+ #
3742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StandbyWorkspacesProperties AWS API Documentation
3743
+ #
3744
+ class StandbyWorkspacesProperties < Struct.new(
3745
+ :standby_workspace_id,
3746
+ :data_replication,
3747
+ :recovery_snapshot_time)
3690
3748
  SENSITIVE = []
3691
3749
  include Aws::Structure
3692
3750
  end
@@ -4188,6 +4246,14 @@ module Aws::WorkSpaces
4188
4246
  # WorkSpace.
4189
4247
  # @return [Array<Types::RelatedWorkspaceProperties>]
4190
4248
  #
4249
+ # @!attribute [rw] data_replication_settings
4250
+ # Indicates the settings of the data replication.
4251
+ # @return [Types::DataReplicationSettings]
4252
+ #
4253
+ # @!attribute [rw] standby_workspaces_properties
4254
+ # The properties of the standby WorkSpace
4255
+ # @return [Array<Types::StandbyWorkspacesProperties>]
4256
+ #
4191
4257
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Workspace AWS API Documentation
4192
4258
  #
4193
4259
  class Workspace < Struct.new(
@@ -4206,7 +4272,9 @@ module Aws::WorkSpaces
4206
4272
  :root_volume_encryption_enabled,
4207
4273
  :workspace_properties,
4208
4274
  :modification_states,
4209
- :related_workspaces)
4275
+ :related_workspaces,
4276
+ :data_replication_settings,
4277
+ :standby_workspaces_properties)
4210
4278
  SENSITIVE = []
4211
4279
  include Aws::Structure
4212
4280
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-workspaces/customizations'
52
52
  # @!group service
53
53
  module Aws::WorkSpaces
54
54
 
55
- GEM_VERSION = '1.92.0'
55
+ GEM_VERSION = '1.93.0'
56
56
 
57
57
  end
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.92.0
4
+ version: 1.93.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: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core