aws-sdk-workspaces 1.9.0 → 1.10.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b95f7c41b906a5a13dc4bd6a037eada15550d54c
4
- data.tar.gz: 7d4fd7e2ce88b84c1f92a063f628704a94182dad
3
+ metadata.gz: afc7455f19e1a44e60758fb77b3599e01170d736
4
+ data.tar.gz: 67ec7b8a3a59d6ebdc747315f7c5da16a22e934b
5
5
  SHA512:
6
- metadata.gz: 7f75bd60691d3ec93e303748c4bacf8ab5050f0375bd3e71f1a6a5b43d370b3e1ae7b6d47cb8654b3be8f00e53bf71b364773e161ee03ab0971151f06248fa0e
7
- data.tar.gz: 6669786ff226b018352847d37ca00fc145916fb2591fa37b919c7551b7d629759235462e8e274f3fa6488ec505a0bae03dfb51caec0482b698f5ced1446fc72d
6
+ metadata.gz: 64c0aa850d945554c4111d7b3c6b3253525b10a33ac4d7c9e42d6303fc01ea4b437e4a7f30411ea4e84575d20744b9ac6bbcec9c116bb7724dddaee538776855
7
+ data.tar.gz: 7213bbaf8260d5cb2906fa04b8a53eff327cba9dee6e639e9404c6293d3f3836669b6e2362e75578eab180ec5b872061e371bf9d34966de0512eaf47ead055a6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-workspaces/customizations'
42
42
  # @service
43
43
  module Aws::WorkSpaces
44
44
 
45
- GEM_VERSION = '1.9.0'
45
+ GEM_VERSION = '1.10.0'
46
46
 
47
47
  end
@@ -584,6 +584,37 @@ module Aws::WorkSpaces
584
584
  req.send_request(options)
585
585
  end
586
586
 
587
+ # Retrieves a list that describes one or more specified Amazon
588
+ # WorkSpaces clients.
589
+ #
590
+ # @option params [required, Array<String>] :resource_ids
591
+ # The resource identifiers, in the form of directory IDs.
592
+ #
593
+ # @return [Types::DescribeClientPropertiesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
594
+ #
595
+ # * {Types::DescribeClientPropertiesResult#client_properties_list #client_properties_list} => Array&lt;Types::ClientPropertiesResult&gt;
596
+ #
597
+ # @example Request syntax with placeholder values
598
+ #
599
+ # resp = client.describe_client_properties({
600
+ # resource_ids: ["NonEmptyString"], # required
601
+ # })
602
+ #
603
+ # @example Response structure
604
+ #
605
+ # resp.client_properties_list #=> Array
606
+ # resp.client_properties_list[0].resource_id #=> String
607
+ # resp.client_properties_list[0].client_properties.reconnect_enabled #=> String, one of "ENABLED", "DISABLED"
608
+ #
609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientProperties AWS API Documentation
610
+ #
611
+ # @overload describe_client_properties(params = {})
612
+ # @param [Hash] params ({})
613
+ def describe_client_properties(params = {}, options = {})
614
+ req = build_request(:describe_client_properties, params)
615
+ req.send_request(options)
616
+ end
617
+
587
618
  # Describes one or more of your IP access control groups.
588
619
  #
589
620
  # @option params [Array<String>] :group_ids
@@ -1096,6 +1127,34 @@ module Aws::WorkSpaces
1096
1127
  req.send_request(options)
1097
1128
  end
1098
1129
 
1130
+ # Modifies the properties of the specified Amazon WorkSpaces client.
1131
+ #
1132
+ # @option params [required, String] :resource_id
1133
+ # The resource identifiers, in the form of directory IDs.
1134
+ #
1135
+ # @option params [Types::ClientProperties] :client_properties
1136
+ # Information about the Amazon WorkSpaces client.
1137
+ #
1138
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1139
+ #
1140
+ # @example Request syntax with placeholder values
1141
+ #
1142
+ # resp = client.modify_client_properties({
1143
+ # resource_id: "NonEmptyString", # required
1144
+ # client_properties: {
1145
+ # reconnect_enabled: "ENABLED", # accepts ENABLED, DISABLED
1146
+ # },
1147
+ # })
1148
+ #
1149
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyClientProperties AWS API Documentation
1150
+ #
1151
+ # @overload modify_client_properties(params = {})
1152
+ # @param [Hash] params ({})
1153
+ def modify_client_properties(params = {}, options = {})
1154
+ req = build_request(:modify_client_properties, params)
1155
+ req.send_request(options)
1156
+ end
1157
+
1099
1158
  # Modifies the specified WorkSpace properties.
1100
1159
  #
1101
1160
  # @option params [required, String] :workspace_id
@@ -1441,7 +1500,7 @@ module Aws::WorkSpaces
1441
1500
  params: params,
1442
1501
  config: config)
1443
1502
  context[:gem_name] = 'aws-sdk-workspaces'
1444
- context[:gem_version] = '1.9.0'
1503
+ context[:gem_version] = '1.10.0'
1445
1504
  Seahorse::Client::Request.new(handlers, context)
1446
1505
  end
1447
1506
 
@@ -25,6 +25,9 @@ module Aws::WorkSpaces
25
25
  BundleIdList = Shapes::ListShape.new(name: 'BundleIdList')
26
26
  BundleList = Shapes::ListShape.new(name: 'BundleList')
27
27
  BundleOwner = Shapes::StringShape.new(name: 'BundleOwner')
28
+ ClientProperties = Shapes::StructureShape.new(name: 'ClientProperties')
29
+ ClientPropertiesList = Shapes::ListShape.new(name: 'ClientPropertiesList')
30
+ ClientPropertiesResult = Shapes::StructureShape.new(name: 'ClientPropertiesResult')
28
31
  Compute = Shapes::StringShape.new(name: 'Compute')
29
32
  ComputeType = Shapes::StructureShape.new(name: 'ComputeType')
30
33
  ComputerName = Shapes::StringShape.new(name: 'ComputerName')
@@ -52,6 +55,8 @@ module Aws::WorkSpaces
52
55
  DescribeAccountModificationsResult = Shapes::StructureShape.new(name: 'DescribeAccountModificationsResult')
53
56
  DescribeAccountRequest = Shapes::StructureShape.new(name: 'DescribeAccountRequest')
54
57
  DescribeAccountResult = Shapes::StructureShape.new(name: 'DescribeAccountResult')
58
+ DescribeClientPropertiesRequest = Shapes::StructureShape.new(name: 'DescribeClientPropertiesRequest')
59
+ DescribeClientPropertiesResult = Shapes::StructureShape.new(name: 'DescribeClientPropertiesResult')
55
60
  DescribeIpGroupsRequest = Shapes::StructureShape.new(name: 'DescribeIpGroupsRequest')
56
61
  DescribeIpGroupsResult = Shapes::StructureShape.new(name: 'DescribeIpGroupsResult')
57
62
  DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
@@ -110,6 +115,8 @@ module Aws::WorkSpaces
110
115
  ModificationStateList = Shapes::ListShape.new(name: 'ModificationStateList')
111
116
  ModifyAccountRequest = Shapes::StructureShape.new(name: 'ModifyAccountRequest')
112
117
  ModifyAccountResult = Shapes::StructureShape.new(name: 'ModifyAccountResult')
118
+ ModifyClientPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyClientPropertiesRequest')
119
+ ModifyClientPropertiesResult = Shapes::StructureShape.new(name: 'ModifyClientPropertiesResult')
113
120
  ModifyWorkspacePropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesRequest')
114
121
  ModifyWorkspacePropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesResult')
115
122
  ModifyWorkspaceStateRequest = Shapes::StructureShape.new(name: 'ModifyWorkspaceStateRequest')
@@ -128,10 +135,12 @@ module Aws::WorkSpaces
128
135
  RebuildWorkspaceRequests = Shapes::ListShape.new(name: 'RebuildWorkspaceRequests')
129
136
  RebuildWorkspacesRequest = Shapes::StructureShape.new(name: 'RebuildWorkspacesRequest')
130
137
  RebuildWorkspacesResult = Shapes::StructureShape.new(name: 'RebuildWorkspacesResult')
138
+ ReconnectEnum = Shapes::StringShape.new(name: 'ReconnectEnum')
131
139
  RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
132
140
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
133
141
  ResourceAssociatedException = Shapes::StructureShape.new(name: 'ResourceAssociatedException')
134
142
  ResourceCreationFailedException = Shapes::StructureShape.new(name: 'ResourceCreationFailedException')
143
+ ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
135
144
  ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
136
145
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
137
146
  ResourceUnavailableException = Shapes::StructureShape.new(name: 'ResourceUnavailableException')
@@ -224,6 +233,15 @@ module Aws::WorkSpaces
224
233
 
225
234
  BundleList.member = Shapes::ShapeRef.new(shape: WorkspaceBundle)
226
235
 
236
+ ClientProperties.add_member(:reconnect_enabled, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "ReconnectEnabled"))
237
+ ClientProperties.struct_class = Types::ClientProperties
238
+
239
+ ClientPropertiesList.member = Shapes::ShapeRef.new(shape: ClientPropertiesResult)
240
+
241
+ ClientPropertiesResult.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceId"))
242
+ ClientPropertiesResult.add_member(:client_properties, Shapes::ShapeRef.new(shape: ClientProperties, location_name: "ClientProperties"))
243
+ ClientPropertiesResult.struct_class = Types::ClientPropertiesResult
244
+
227
245
  ComputeType.add_member(:name, Shapes::ShapeRef.new(shape: Compute, location_name: "Name"))
228
246
  ComputeType.struct_class = Types::ComputeType
229
247
 
@@ -286,6 +304,12 @@ module Aws::WorkSpaces
286
304
  DescribeAccountResult.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
287
305
  DescribeAccountResult.struct_class = Types::DescribeAccountResult
288
306
 
307
+ DescribeClientPropertiesRequest.add_member(:resource_ids, Shapes::ShapeRef.new(shape: ResourceIdList, required: true, location_name: "ResourceIds"))
308
+ DescribeClientPropertiesRequest.struct_class = Types::DescribeClientPropertiesRequest
309
+
310
+ DescribeClientPropertiesResult.add_member(:client_properties_list, Shapes::ShapeRef.new(shape: ClientPropertiesList, location_name: "ClientPropertiesList"))
311
+ DescribeClientPropertiesResult.struct_class = Types::DescribeClientPropertiesResult
312
+
289
313
  DescribeIpGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: IpGroupIdList, location_name: "GroupIds"))
290
314
  DescribeIpGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
291
315
  DescribeIpGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
@@ -421,6 +445,12 @@ module Aws::WorkSpaces
421
445
 
422
446
  ModifyAccountResult.struct_class = Types::ModifyAccountResult
423
447
 
448
+ ModifyClientPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
449
+ ModifyClientPropertiesRequest.add_member(:client_properties, Shapes::ShapeRef.new(shape: ClientProperties, location_name: "ClientProperties"))
450
+ ModifyClientPropertiesRequest.struct_class = Types::ModifyClientPropertiesRequest
451
+
452
+ ModifyClientPropertiesResult.struct_class = Types::ModifyClientPropertiesResult
453
+
424
454
  ModifyWorkspacePropertiesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
425
455
  ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, required: true, location_name: "WorkspaceProperties"))
426
456
  ModifyWorkspacePropertiesRequest.struct_class = Types::ModifyWorkspacePropertiesRequest
@@ -458,6 +488,8 @@ module Aws::WorkSpaces
458
488
  RebuildWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebuildWorkspaceRequests, location_name: "FailedRequests"))
459
489
  RebuildWorkspacesResult.struct_class = Types::RebuildWorkspacesResult
460
490
 
491
+ ResourceIdList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
492
+
461
493
  RevokeIpRulesRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, required: true, location_name: "GroupId"))
462
494
  RevokeIpRulesRequest.add_member(:user_rules, Shapes::ShapeRef.new(shape: IpRevokedRuleList, required: true, location_name: "UserRules"))
463
495
  RevokeIpRulesRequest.struct_class = Types::RevokeIpRulesRequest
@@ -743,6 +775,17 @@ module Aws::WorkSpaces
743
775
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
744
776
  end)
745
777
 
778
+ api.add_operation(:describe_client_properties, Seahorse::Model::Operation.new.tap do |o|
779
+ o.name = "DescribeClientProperties"
780
+ o.http_method = "POST"
781
+ o.http_request_uri = "/"
782
+ o.input = Shapes::ShapeRef.new(shape: DescribeClientPropertiesRequest)
783
+ o.output = Shapes::ShapeRef.new(shape: DescribeClientPropertiesResult)
784
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
785
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
786
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
787
+ end)
788
+
746
789
  api.add_operation(:describe_ip_groups, Seahorse::Model::Operation.new.tap do |o|
747
790
  o.name = "DescribeIpGroups"
748
791
  o.http_method = "POST"
@@ -872,6 +915,17 @@ module Aws::WorkSpaces
872
915
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
873
916
  end)
874
917
 
918
+ api.add_operation(:modify_client_properties, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "ModifyClientProperties"
920
+ o.http_method = "POST"
921
+ o.http_request_uri = "/"
922
+ o.input = Shapes::ShapeRef.new(shape: ModifyClientPropertiesRequest)
923
+ o.output = Shapes::ShapeRef.new(shape: ModifyClientPropertiesResult)
924
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
926
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
927
+ end)
928
+
875
929
  api.add_operation(:modify_workspace_properties, Seahorse::Model::Operation.new.tap do |o|
876
930
  o.name = "ModifyWorkspaceProperties"
877
931
  o.http_method = "POST"
@@ -112,6 +112,46 @@ module Aws::WorkSpaces
112
112
  #
113
113
  class AuthorizeIpRulesResult < Aws::EmptyStructure; end
114
114
 
115
+ # Describes an Amazon WorkSpaces client.
116
+ #
117
+ # @note When making an API call, you may pass ClientProperties
118
+ # data as a hash:
119
+ #
120
+ # {
121
+ # reconnect_enabled: "ENABLED", # accepts ENABLED, DISABLED
122
+ # }
123
+ #
124
+ # @!attribute [rw] reconnect_enabled
125
+ # Specifies whether users can cache their credentials on the Amazon
126
+ # WorkSpaces client. When enabled, users can choose to reconnect to
127
+ # their WorkSpaces without re-entering their credentials.
128
+ # @return [String]
129
+ #
130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ClientProperties AWS API Documentation
131
+ #
132
+ class ClientProperties < Struct.new(
133
+ :reconnect_enabled)
134
+ include Aws::Structure
135
+ end
136
+
137
+ # Information about the Amazon WorkSpaces client.
138
+ #
139
+ # @!attribute [rw] resource_id
140
+ # The resource identifier, in the form of a directory ID.
141
+ # @return [String]
142
+ #
143
+ # @!attribute [rw] client_properties
144
+ # Information about the Amazon WorkSpaces client.
145
+ # @return [Types::ClientProperties]
146
+ #
147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ClientPropertiesResult AWS API Documentation
148
+ #
149
+ class ClientPropertiesResult < Struct.new(
150
+ :resource_id,
151
+ :client_properties)
152
+ include Aws::Structure
153
+ end
154
+
115
155
  # Describes the compute type.
116
156
  #
117
157
  # @!attribute [rw] name
@@ -440,6 +480,35 @@ module Aws::WorkSpaces
440
480
  include Aws::Structure
441
481
  end
442
482
 
483
+ # @note When making an API call, you may pass DescribeClientPropertiesRequest
484
+ # data as a hash:
485
+ #
486
+ # {
487
+ # resource_ids: ["NonEmptyString"], # required
488
+ # }
489
+ #
490
+ # @!attribute [rw] resource_ids
491
+ # The resource identifiers, in the form of directory IDs.
492
+ # @return [Array<String>]
493
+ #
494
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientPropertiesRequest AWS API Documentation
495
+ #
496
+ class DescribeClientPropertiesRequest < Struct.new(
497
+ :resource_ids)
498
+ include Aws::Structure
499
+ end
500
+
501
+ # @!attribute [rw] client_properties_list
502
+ # Information about the specified Amazon WorkSpaces clients.
503
+ # @return [Array<Types::ClientPropertiesResult>]
504
+ #
505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientPropertiesResult AWS API Documentation
506
+ #
507
+ class DescribeClientPropertiesResult < Struct.new(
508
+ :client_properties_list)
509
+ include Aws::Structure
510
+ end
511
+
443
512
  # @note When making an API call, you may pass DescribeIpGroupsRequest
444
513
  # data as a hash:
445
514
  #
@@ -1039,6 +1108,36 @@ module Aws::WorkSpaces
1039
1108
  #
1040
1109
  class ModifyAccountResult < Aws::EmptyStructure; end
1041
1110
 
1111
+ # @note When making an API call, you may pass ModifyClientPropertiesRequest
1112
+ # data as a hash:
1113
+ #
1114
+ # {
1115
+ # resource_id: "NonEmptyString", # required
1116
+ # client_properties: {
1117
+ # reconnect_enabled: "ENABLED", # accepts ENABLED, DISABLED
1118
+ # },
1119
+ # }
1120
+ #
1121
+ # @!attribute [rw] resource_id
1122
+ # The resource identifiers, in the form of directory IDs.
1123
+ # @return [String]
1124
+ #
1125
+ # @!attribute [rw] client_properties
1126
+ # Information about the Amazon WorkSpaces client.
1127
+ # @return [Types::ClientProperties]
1128
+ #
1129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyClientPropertiesRequest AWS API Documentation
1130
+ #
1131
+ class ModifyClientPropertiesRequest < Struct.new(
1132
+ :resource_id,
1133
+ :client_properties)
1134
+ include Aws::Structure
1135
+ end
1136
+
1137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyClientPropertiesResult AWS API Documentation
1138
+ #
1139
+ class ModifyClientPropertiesResult < Aws::EmptyStructure; end
1140
+
1042
1141
  # @note When making an API call, you may pass ModifyWorkspacePropertiesRequest
1043
1142
  # data as a hash:
1044
1143
  #
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.9.0
4
+ version: 1.10.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: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2018-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core