aws-sdk-workspaces 1.21.0 → 1.22.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
  SHA1:
3
- metadata.gz: 1fd13c8806464d3fa38b45508434d85d0ae9420b
4
- data.tar.gz: d97ca20ee0fc991b526795f99409130c44f2322f
3
+ metadata.gz: a3795d88c6893f4f3d44a7fa6c72e94bd61bdf91
4
+ data.tar.gz: a106d91a26d3a13c05a733055144058e45cf0afc
5
5
  SHA512:
6
- metadata.gz: 42e77a3f268dac9c844aab41d3ff815e76caaa9d2855c40a2dbc3d708e8fb78e6df39f96f3e6d6bbeb6c33c16a6107ef09269483fdada38e8c7f20bd7dae8a9d
7
- data.tar.gz: 3c79f576a136d46e858f40075a617ac5bc13ab8601e8b6644f47a972d7436af4da39009e0fbcae79681632d0daf86eef1b7642a504140371a52543976e94d93f
6
+ metadata.gz: 85edfa808f06477a2571d2b9a71d8fddeb3c66cb06c57ea15383f9e729dd15125d08881487daac583acb59f9c0a48158c0009e90b6ce14c10c63b0596281935c
7
+ data.tar.gz: 6c23ac02bff5bef67d0351a5dd54a0dce356254a6de30f9f1d56a081d2934cd1002aa3b814ce9b6500a415b6bdbf2c950f0b918ce3fc52b6d4ae435aafa1b157
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-workspaces/customizations'
42
42
  # @service
43
43
  module Aws::WorkSpaces
44
44
 
45
- GEM_VERSION = '1.21.0'
45
+ GEM_VERSION = '1.22.0'
46
46
 
47
47
  end
@@ -1576,7 +1576,7 @@ module Aws::WorkSpaces
1576
1576
  params: params,
1577
1577
  config: config)
1578
1578
  context[:gem_name] = 'aws-sdk-workspaces'
1579
- context[:gem_version] = '1.21.0'
1579
+ context[:gem_version] = '1.22.0'
1580
1580
  Seahorse::Client::Request.new(handlers, context)
1581
1581
  end
1582
1582
 
@@ -208,6 +208,9 @@ module Aws::WorkSpaces
208
208
  WorkspacesIpGroup = Shapes::StructureShape.new(name: 'WorkspacesIpGroup')
209
209
  WorkspacesIpGroupsList = Shapes::ListShape.new(name: 'WorkspacesIpGroupsList')
210
210
 
211
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
212
+ AccessDeniedException.struct_class = Types::AccessDeniedException
213
+
211
214
  AccountModification.add_member(:modification_state, Shapes::ShapeRef.new(shape: DedicatedTenancyModificationStateEnum, location_name: "ModificationState"))
212
215
  AccountModification.add_member(:dedicated_tenancy_support, Shapes::ShapeRef.new(shape: DedicatedTenancySupportResultEnum, location_name: "DedicatedTenancySupport"))
213
216
  AccountModification.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
@@ -417,6 +420,12 @@ module Aws::WorkSpaces
417
420
  ImportWorkspaceImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
418
421
  ImportWorkspaceImageResult.struct_class = Types::ImportWorkspaceImageResult
419
422
 
423
+ InvalidParameterValuesException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
424
+ InvalidParameterValuesException.struct_class = Types::InvalidParameterValuesException
425
+
426
+ InvalidResourceStateException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
427
+ InvalidResourceStateException.struct_class = Types::InvalidResourceStateException
428
+
420
429
  IpGroupIdList.member = Shapes::ShapeRef.new(shape: IpGroupId)
421
430
 
422
431
  IpRevokedRuleList.member = Shapes::ShapeRef.new(shape: IpRule)
@@ -469,6 +478,12 @@ module Aws::WorkSpaces
469
478
  OperatingSystem.add_member(:type, Shapes::ShapeRef.new(shape: OperatingSystemType, location_name: "Type"))
470
479
  OperatingSystem.struct_class = Types::OperatingSystem
471
480
 
481
+ OperationInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
482
+ OperationInProgressException.struct_class = Types::OperationInProgressException
483
+
484
+ OperationNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
485
+ OperationNotSupportedException.struct_class = Types::OperationNotSupportedException
486
+
472
487
  RebootRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
473
488
  RebootRequest.struct_class = Types::RebootRequest
474
489
 
@@ -492,8 +507,28 @@ module Aws::WorkSpaces
492
507
  RebuildWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRebuildWorkspaceRequests, location_name: "FailedRequests"))
493
508
  RebuildWorkspacesResult.struct_class = Types::RebuildWorkspacesResult
494
509
 
510
+ ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
511
+ ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
512
+
513
+ ResourceAssociatedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
514
+ ResourceAssociatedException.struct_class = Types::ResourceAssociatedException
515
+
516
+ ResourceCreationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
517
+ ResourceCreationFailedException.struct_class = Types::ResourceCreationFailedException
518
+
495
519
  ResourceIdList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
496
520
 
521
+ ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
522
+ ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
523
+
524
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
525
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceId"))
526
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
527
+
528
+ ResourceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
529
+ ResourceUnavailableException.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceId"))
530
+ ResourceUnavailableException.struct_class = Types::ResourceUnavailableException
531
+
497
532
  RevokeIpRulesRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, required: true, location_name: "GroupId"))
498
533
  RevokeIpRulesRequest.add_member(:user_rules, Shapes::ShapeRef.new(shape: IpRevokedRuleList, required: true, location_name: "UserRules"))
499
534
  RevokeIpRulesRequest.struct_class = Types::RevokeIpRulesRequest
@@ -546,6 +581,9 @@ module Aws::WorkSpaces
546
581
  TerminateWorkspacesResult.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedTerminateWorkspaceRequests, location_name: "FailedRequests"))
547
582
  TerminateWorkspacesResult.struct_class = Types::TerminateWorkspacesResult
548
583
 
584
+ UnsupportedWorkspaceConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
585
+ UnsupportedWorkspaceConfigurationException.struct_class = Types::UnsupportedWorkspaceConfigurationException
586
+
549
587
  UpdateRulesOfIpGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, required: true, location_name: "GroupId"))
550
588
  UpdateRulesOfIpGroupRequest.add_member(:user_rules, Shapes::ShapeRef.new(shape: IpRuleList, required: true, location_name: "UserRules"))
551
589
  UpdateRulesOfIpGroupRequest.struct_class = Types::UpdateRulesOfIpGroupRequest
@@ -10,5 +10,207 @@ module Aws::WorkSpaces
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::WorkSpaces::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class InvalidParameterValuesException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::WorkSpaces::Types::InvalidParameterValuesException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InvalidResourceStateException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::WorkSpaces::Types::InvalidResourceStateException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class OperationInProgressException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::WorkSpaces::Types::OperationInProgressException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class OperationNotSupportedException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::WorkSpaces::Types::OperationNotSupportedException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class ResourceAlreadyExistsException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::WorkSpaces::Types::ResourceAlreadyExistsException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class ResourceAssociatedException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::WorkSpaces::Types::ResourceAssociatedException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class ResourceCreationFailedException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::WorkSpaces::Types::ResourceCreationFailedException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class ResourceLimitExceededException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::WorkSpaces::Types::ResourceLimitExceededException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class ResourceNotFoundException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::WorkSpaces::Types::ResourceNotFoundException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ # @return [String]
172
+ def resource_id
173
+ @data[:resource_id]
174
+ end
175
+
176
+ end
177
+
178
+ class ResourceUnavailableException < ServiceError
179
+
180
+ # @param [Seahorse::Client::RequestContext] context
181
+ # @param [String] message
182
+ # @param [Aws::WorkSpaces::Types::ResourceUnavailableException] data
183
+ def initialize(context, message, data = Aws::EmptyStructure.new)
184
+ super(context, message, data)
185
+ end
186
+
187
+ # @return [String]
188
+ def message
189
+ @message || @data[:message]
190
+ end
191
+
192
+ # @return [String]
193
+ def resource_id
194
+ @data[:resource_id]
195
+ end
196
+
197
+ end
198
+
199
+ class UnsupportedWorkspaceConfigurationException < ServiceError
200
+
201
+ # @param [Seahorse::Client::RequestContext] context
202
+ # @param [String] message
203
+ # @param [Aws::WorkSpaces::Types::UnsupportedWorkspaceConfigurationException] data
204
+ def initialize(context, message, data = Aws::EmptyStructure.new)
205
+ super(context, message, data)
206
+ end
207
+
208
+ # @return [String]
209
+ def message
210
+ @message || @data[:message]
211
+ end
212
+
213
+ end
214
+
13
215
  end
14
216
  end
@@ -8,6 +8,18 @@
8
8
  module Aws::WorkSpaces
9
9
  module Types
10
10
 
11
+ # The user is not authorized to access a resource.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AccessDeniedException AWS API Documentation
17
+ #
18
+ class AccessDeniedException < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
11
23
  # Describes a modification to the configuration of bring your own
12
24
  # license (BYOL) for the specified account.
13
25
  #
@@ -1005,6 +1017,31 @@ module Aws::WorkSpaces
1005
1017
  include Aws::Structure
1006
1018
  end
1007
1019
 
1020
+ # One or more parameter values are not valid.
1021
+ #
1022
+ # @!attribute [rw] message
1023
+ # The exception error message.
1024
+ # @return [String]
1025
+ #
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/InvalidParameterValuesException AWS API Documentation
1027
+ #
1028
+ class InvalidParameterValuesException < Struct.new(
1029
+ :message)
1030
+ include Aws::Structure
1031
+ end
1032
+
1033
+ # The state of the resource is not valid for this operation.
1034
+ #
1035
+ # @!attribute [rw] message
1036
+ # @return [String]
1037
+ #
1038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/InvalidResourceStateException AWS API Documentation
1039
+ #
1040
+ class InvalidResourceStateException < Struct.new(
1041
+ :message)
1042
+ include Aws::Structure
1043
+ end
1044
+
1008
1045
  # Describes a rule for an IP access control group.
1009
1046
  #
1010
1047
  # @note When making an API call, you may pass IpRuleItem
@@ -1238,6 +1275,31 @@ module Aws::WorkSpaces
1238
1275
  include Aws::Structure
1239
1276
  end
1240
1277
 
1278
+ # The properties of this WorkSpace are currently being modified. Try
1279
+ # again in a moment.
1280
+ #
1281
+ # @!attribute [rw] message
1282
+ # @return [String]
1283
+ #
1284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/OperationInProgressException AWS API Documentation
1285
+ #
1286
+ class OperationInProgressException < Struct.new(
1287
+ :message)
1288
+ include Aws::Structure
1289
+ end
1290
+
1291
+ # This operation is not supported.
1292
+ #
1293
+ # @!attribute [rw] message
1294
+ # @return [String]
1295
+ #
1296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/OperationNotSupportedException AWS API Documentation
1297
+ #
1298
+ class OperationNotSupportedException < Struct.new(
1299
+ :message)
1300
+ include Aws::Structure
1301
+ end
1302
+
1241
1303
  # Describes the information used to reboot a WorkSpace.
1242
1304
  #
1243
1305
  # @note When making an API call, you may pass RebootRequest
@@ -1350,6 +1412,91 @@ module Aws::WorkSpaces
1350
1412
  include Aws::Structure
1351
1413
  end
1352
1414
 
1415
+ # The specified resource already exists.
1416
+ #
1417
+ # @!attribute [rw] message
1418
+ # @return [String]
1419
+ #
1420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ResourceAlreadyExistsException AWS API Documentation
1421
+ #
1422
+ class ResourceAlreadyExistsException < Struct.new(
1423
+ :message)
1424
+ include Aws::Structure
1425
+ end
1426
+
1427
+ # The resource is associated with a directory.
1428
+ #
1429
+ # @!attribute [rw] message
1430
+ # @return [String]
1431
+ #
1432
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ResourceAssociatedException AWS API Documentation
1433
+ #
1434
+ class ResourceAssociatedException < Struct.new(
1435
+ :message)
1436
+ include Aws::Structure
1437
+ end
1438
+
1439
+ # The resource could not be created.
1440
+ #
1441
+ # @!attribute [rw] message
1442
+ # @return [String]
1443
+ #
1444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ResourceCreationFailedException AWS API Documentation
1445
+ #
1446
+ class ResourceCreationFailedException < Struct.new(
1447
+ :message)
1448
+ include Aws::Structure
1449
+ end
1450
+
1451
+ # Your resource limits have been exceeded.
1452
+ #
1453
+ # @!attribute [rw] message
1454
+ # The exception error message.
1455
+ # @return [String]
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ResourceLimitExceededException AWS API Documentation
1458
+ #
1459
+ class ResourceLimitExceededException < Struct.new(
1460
+ :message)
1461
+ include Aws::Structure
1462
+ end
1463
+
1464
+ # The resource could not be found.
1465
+ #
1466
+ # @!attribute [rw] message
1467
+ # The resource could not be found.
1468
+ # @return [String]
1469
+ #
1470
+ # @!attribute [rw] resource_id
1471
+ # The ID of the resource that could not be found.
1472
+ # @return [String]
1473
+ #
1474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ResourceNotFoundException AWS API Documentation
1475
+ #
1476
+ class ResourceNotFoundException < Struct.new(
1477
+ :message,
1478
+ :resource_id)
1479
+ include Aws::Structure
1480
+ end
1481
+
1482
+ # The specified resource is not available.
1483
+ #
1484
+ # @!attribute [rw] message
1485
+ # The exception error message.
1486
+ # @return [String]
1487
+ #
1488
+ # @!attribute [rw] resource_id
1489
+ # The identifier of the resource that is not available.
1490
+ # @return [String]
1491
+ #
1492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ResourceUnavailableException AWS API Documentation
1493
+ #
1494
+ class ResourceUnavailableException < Struct.new(
1495
+ :message,
1496
+ :resource_id)
1497
+ include Aws::Structure
1498
+ end
1499
+
1353
1500
  # @note When making an API call, you may pass RevokeIpRulesRequest
1354
1501
  # data as a hash:
1355
1502
  #
@@ -1576,6 +1723,24 @@ module Aws::WorkSpaces
1576
1723
  include Aws::Structure
1577
1724
  end
1578
1725
 
1726
+ # The configuration of this WorkSpace is not supported for this
1727
+ # operation. For more information, see the [Amazon WorkSpaces
1728
+ # Administration Guide][1].
1729
+ #
1730
+ #
1731
+ #
1732
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/
1733
+ #
1734
+ # @!attribute [rw] message
1735
+ # @return [String]
1736
+ #
1737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UnsupportedWorkspaceConfigurationException AWS API Documentation
1738
+ #
1739
+ class UnsupportedWorkspaceConfigurationException < Struct.new(
1740
+ :message)
1741
+ include Aws::Structure
1742
+ end
1743
+
1579
1744
  # @note When making an API call, you may pass UpdateRulesOfIpGroupRequest
1580
1745
  # data as a hash:
1581
1746
  #
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.21.0
4
+ version: 1.22.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-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement