aws-sdk-workspaces 1.87.0 → 1.89.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.
@@ -40,6 +40,20 @@ module Aws::WorkSpaces
40
40
  end
41
41
  end
42
42
 
43
+ class AssociateWorkspaceApplication
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::WorkSpaces::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
43
57
  class AuthorizeIpRules
44
58
  def self.build(context)
45
59
  unless context.config.regional_endpoint
@@ -292,6 +306,20 @@ module Aws::WorkSpaces
292
306
  end
293
307
  end
294
308
 
309
+ class DeployWorkspaceApplications
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::WorkSpaces::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
295
323
  class DeregisterWorkspaceDirectory
296
324
  def self.build(context)
297
325
  unless context.config.regional_endpoint
@@ -334,6 +362,48 @@ module Aws::WorkSpaces
334
362
  end
335
363
  end
336
364
 
365
+ class DescribeApplicationAssociations
366
+ def self.build(context)
367
+ unless context.config.regional_endpoint
368
+ endpoint = context.config.endpoint.to_s
369
+ end
370
+ Aws::WorkSpaces::EndpointParameters.new(
371
+ region: context.config.region,
372
+ use_dual_stack: context.config.use_dualstack_endpoint,
373
+ use_fips: context.config.use_fips_endpoint,
374
+ endpoint: endpoint,
375
+ )
376
+ end
377
+ end
378
+
379
+ class DescribeApplications
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::WorkSpaces::EndpointParameters.new(
385
+ region: context.config.region,
386
+ use_dual_stack: context.config.use_dualstack_endpoint,
387
+ use_fips: context.config.use_fips_endpoint,
388
+ endpoint: endpoint,
389
+ )
390
+ end
391
+ end
392
+
393
+ class DescribeBundleAssociations
394
+ def self.build(context)
395
+ unless context.config.regional_endpoint
396
+ endpoint = context.config.endpoint.to_s
397
+ end
398
+ Aws::WorkSpaces::EndpointParameters.new(
399
+ region: context.config.region,
400
+ use_dual_stack: context.config.use_dualstack_endpoint,
401
+ use_fips: context.config.use_fips_endpoint,
402
+ endpoint: endpoint,
403
+ )
404
+ end
405
+ end
406
+
337
407
  class DescribeClientBranding
338
408
  def self.build(context)
339
409
  unless context.config.regional_endpoint
@@ -404,6 +474,20 @@ module Aws::WorkSpaces
404
474
  end
405
475
  end
406
476
 
477
+ class DescribeImageAssociations
478
+ def self.build(context)
479
+ unless context.config.regional_endpoint
480
+ endpoint = context.config.endpoint.to_s
481
+ end
482
+ Aws::WorkSpaces::EndpointParameters.new(
483
+ region: context.config.region,
484
+ use_dual_stack: context.config.use_dualstack_endpoint,
485
+ use_fips: context.config.use_fips_endpoint,
486
+ endpoint: endpoint,
487
+ )
488
+ end
489
+ end
490
+
407
491
  class DescribeIpGroups
408
492
  def self.build(context)
409
493
  unless context.config.regional_endpoint
@@ -432,6 +516,20 @@ module Aws::WorkSpaces
432
516
  end
433
517
  end
434
518
 
519
+ class DescribeWorkspaceAssociations
520
+ def self.build(context)
521
+ unless context.config.regional_endpoint
522
+ endpoint = context.config.endpoint.to_s
523
+ end
524
+ Aws::WorkSpaces::EndpointParameters.new(
525
+ region: context.config.region,
526
+ use_dual_stack: context.config.use_dualstack_endpoint,
527
+ use_fips: context.config.use_fips_endpoint,
528
+ endpoint: endpoint,
529
+ )
530
+ end
531
+ end
532
+
435
533
  class DescribeWorkspaceBundles
436
534
  def self.build(context)
437
535
  unless context.config.regional_endpoint
@@ -558,6 +656,20 @@ module Aws::WorkSpaces
558
656
  end
559
657
  end
560
658
 
659
+ class DisassociateWorkspaceApplication
660
+ def self.build(context)
661
+ unless context.config.regional_endpoint
662
+ endpoint = context.config.endpoint.to_s
663
+ end
664
+ Aws::WorkSpaces::EndpointParameters.new(
665
+ region: context.config.region,
666
+ use_dual_stack: context.config.use_dualstack_endpoint,
667
+ use_fips: context.config.use_fips_endpoint,
668
+ endpoint: endpoint,
669
+ )
670
+ end
671
+ end
672
+
561
673
  class ImportClientBranding
562
674
  def self.build(context)
563
675
  unless context.config.regional_endpoint
@@ -28,13 +28,18 @@ module Aws::WorkSpaces
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ApplicationNotSupportedException}
32
+ # * {ComputeNotCompatibleException}
33
+ # * {IncompatibleApplicationsException}
31
34
  # * {InvalidParameterValuesException}
32
35
  # * {InvalidResourceStateException}
36
+ # * {OperatingSystemNotCompatibleException}
33
37
  # * {OperationInProgressException}
34
38
  # * {OperationNotSupportedException}
35
39
  # * {ResourceAlreadyExistsException}
36
40
  # * {ResourceAssociatedException}
37
41
  # * {ResourceCreationFailedException}
42
+ # * {ResourceInUseException}
38
43
  # * {ResourceLimitExceededException}
39
44
  # * {ResourceNotFoundException}
40
45
  # * {ResourceUnavailableException}
@@ -63,6 +68,36 @@ module Aws::WorkSpaces
63
68
  end
64
69
  end
65
70
 
71
+ class ApplicationNotSupportedException < ServiceError
72
+
73
+ # @param [Seahorse::Client::RequestContext] context
74
+ # @param [String] message
75
+ # @param [Aws::WorkSpaces::Types::ApplicationNotSupportedException] data
76
+ def initialize(context, message, data = Aws::EmptyStructure.new)
77
+ super(context, message, data)
78
+ end
79
+ end
80
+
81
+ class ComputeNotCompatibleException < ServiceError
82
+
83
+ # @param [Seahorse::Client::RequestContext] context
84
+ # @param [String] message
85
+ # @param [Aws::WorkSpaces::Types::ComputeNotCompatibleException] data
86
+ def initialize(context, message, data = Aws::EmptyStructure.new)
87
+ super(context, message, data)
88
+ end
89
+ end
90
+
91
+ class IncompatibleApplicationsException < ServiceError
92
+
93
+ # @param [Seahorse::Client::RequestContext] context
94
+ # @param [String] message
95
+ # @param [Aws::WorkSpaces::Types::IncompatibleApplicationsException] data
96
+ def initialize(context, message, data = Aws::EmptyStructure.new)
97
+ super(context, message, data)
98
+ end
99
+ end
100
+
66
101
  class InvalidParameterValuesException < ServiceError
67
102
 
68
103
  # @param [Seahorse::Client::RequestContext] context
@@ -93,6 +128,16 @@ module Aws::WorkSpaces
93
128
  end
94
129
  end
95
130
 
131
+ class OperatingSystemNotCompatibleException < ServiceError
132
+
133
+ # @param [Seahorse::Client::RequestContext] context
134
+ # @param [String] message
135
+ # @param [Aws::WorkSpaces::Types::OperatingSystemNotCompatibleException] data
136
+ def initialize(context, message, data = Aws::EmptyStructure.new)
137
+ super(context, message, data)
138
+ end
139
+ end
140
+
96
141
  class OperationInProgressException < ServiceError
97
142
 
98
143
  # @param [Seahorse::Client::RequestContext] context
@@ -173,6 +218,26 @@ module Aws::WorkSpaces
173
218
  end
174
219
  end
175
220
 
221
+ class ResourceInUseException < ServiceError
222
+
223
+ # @param [Seahorse::Client::RequestContext] context
224
+ # @param [String] message
225
+ # @param [Aws::WorkSpaces::Types::ResourceInUseException] data
226
+ def initialize(context, message, data = Aws::EmptyStructure.new)
227
+ super(context, message, data)
228
+ end
229
+
230
+ # @return [String]
231
+ def message
232
+ @message || @data[:message]
233
+ end
234
+
235
+ # @return [String]
236
+ def resource_id
237
+ @data[:resource_id]
238
+ end
239
+ end
240
+
176
241
  class ResourceLimitExceededException < ServiceError
177
242
 
178
243
  # @param [Seahorse::Client::RequestContext] context
@@ -60,6 +60,8 @@ module Aws::WorkSpaces
60
60
  Aws::WorkSpaces::Endpoints::AssociateConnectionAlias.build(context)
61
61
  when :associate_ip_groups
62
62
  Aws::WorkSpaces::Endpoints::AssociateIpGroups.build(context)
63
+ when :associate_workspace_application
64
+ Aws::WorkSpaces::Endpoints::AssociateWorkspaceApplication.build(context)
63
65
  when :authorize_ip_rules
64
66
  Aws::WorkSpaces::Endpoints::AuthorizeIpRules.build(context)
65
67
  when :copy_workspace_image
@@ -96,12 +98,20 @@ module Aws::WorkSpaces
96
98
  Aws::WorkSpaces::Endpoints::DeleteWorkspaceBundle.build(context)
97
99
  when :delete_workspace_image
98
100
  Aws::WorkSpaces::Endpoints::DeleteWorkspaceImage.build(context)
101
+ when :deploy_workspace_applications
102
+ Aws::WorkSpaces::Endpoints::DeployWorkspaceApplications.build(context)
99
103
  when :deregister_workspace_directory
100
104
  Aws::WorkSpaces::Endpoints::DeregisterWorkspaceDirectory.build(context)
101
105
  when :describe_account
102
106
  Aws::WorkSpaces::Endpoints::DescribeAccount.build(context)
103
107
  when :describe_account_modifications
104
108
  Aws::WorkSpaces::Endpoints::DescribeAccountModifications.build(context)
109
+ when :describe_application_associations
110
+ Aws::WorkSpaces::Endpoints::DescribeApplicationAssociations.build(context)
111
+ when :describe_applications
112
+ Aws::WorkSpaces::Endpoints::DescribeApplications.build(context)
113
+ when :describe_bundle_associations
114
+ Aws::WorkSpaces::Endpoints::DescribeBundleAssociations.build(context)
105
115
  when :describe_client_branding
106
116
  Aws::WorkSpaces::Endpoints::DescribeClientBranding.build(context)
107
117
  when :describe_client_properties
@@ -112,10 +122,14 @@ module Aws::WorkSpaces
112
122
  Aws::WorkSpaces::Endpoints::DescribeConnectionAliasPermissions.build(context)
113
123
  when :describe_connection_aliases
114
124
  Aws::WorkSpaces::Endpoints::DescribeConnectionAliases.build(context)
125
+ when :describe_image_associations
126
+ Aws::WorkSpaces::Endpoints::DescribeImageAssociations.build(context)
115
127
  when :describe_ip_groups
116
128
  Aws::WorkSpaces::Endpoints::DescribeIpGroups.build(context)
117
129
  when :describe_tags
118
130
  Aws::WorkSpaces::Endpoints::DescribeTags.build(context)
131
+ when :describe_workspace_associations
132
+ Aws::WorkSpaces::Endpoints::DescribeWorkspaceAssociations.build(context)
119
133
  when :describe_workspace_bundles
120
134
  Aws::WorkSpaces::Endpoints::DescribeWorkspaceBundles.build(context)
121
135
  when :describe_workspace_directories
@@ -134,6 +148,8 @@ module Aws::WorkSpaces
134
148
  Aws::WorkSpaces::Endpoints::DisassociateConnectionAlias.build(context)
135
149
  when :disassociate_ip_groups
136
150
  Aws::WorkSpaces::Endpoints::DisassociateIpGroups.build(context)
151
+ when :disassociate_workspace_application
152
+ Aws::WorkSpaces::Endpoints::DisassociateWorkspaceApplication.build(context)
137
153
  when :import_client_branding
138
154
  Aws::WorkSpaces::Endpoints::ImportClientBranding.build(context)
139
155
  when :import_workspace_image