aws-sdk-workspaces 1.100.0 → 1.102.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,36 @@
10
10
  module Aws::WorkSpaces
11
11
  module Types
12
12
 
13
+ # @!attribute [rw] link_id
14
+ # The identifier of the account link.
15
+ # @return [String]
16
+ #
17
+ # @!attribute [rw] client_token
18
+ # A string of up to 64 ASCII characters that Amazon EFS uses to ensure
19
+ # idempotent creation.
20
+ # @return [String]
21
+ #
22
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AcceptAccountLinkInvitationRequest AWS API Documentation
23
+ #
24
+ class AcceptAccountLinkInvitationRequest < Struct.new(
25
+ :link_id,
26
+ :client_token)
27
+ SENSITIVE = []
28
+ include Aws::Structure
29
+ end
30
+
31
+ # @!attribute [rw] account_link
32
+ # Information about the account link.
33
+ # @return [Types::AccountLink]
34
+ #
35
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AcceptAccountLinkInvitationResult AWS API Documentation
36
+ #
37
+ class AcceptAccountLinkInvitationResult < Struct.new(
38
+ :account_link)
39
+ SENSITIVE = []
40
+ include Aws::Structure
41
+ end
42
+
13
43
  # The user is not authorized to access a resource.
14
44
  #
15
45
  # @!attribute [rw] message
@@ -23,6 +53,35 @@ module Aws::WorkSpaces
23
53
  include Aws::Structure
24
54
  end
25
55
 
56
+ # Information about about the account link.
57
+ #
58
+ # @!attribute [rw] account_link_id
59
+ # The identifier of the account link.
60
+ # @return [String]
61
+ #
62
+ # @!attribute [rw] account_link_status
63
+ # The status of the account link.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] source_account_id
67
+ # The identifier of the source account.
68
+ # @return [String]
69
+ #
70
+ # @!attribute [rw] target_account_id
71
+ # The identifier of the target account.
72
+ # @return [String]
73
+ #
74
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AccountLink AWS API Documentation
75
+ #
76
+ class AccountLink < Struct.new(
77
+ :account_link_id,
78
+ :account_link_status,
79
+ :source_account_id,
80
+ :target_account_id)
81
+ SENSITIVE = []
82
+ include Aws::Structure
83
+ end
84
+
26
85
  # Describes a modification to the configuration of Bring Your Own
27
86
  # License (BYOL) for the specified account.
28
87
  #
@@ -373,6 +432,19 @@ module Aws::WorkSpaces
373
432
  include Aws::Structure
374
433
  end
375
434
 
435
+ # The `TargetAccountId` is already linked or invited.
436
+ #
437
+ # @!attribute [rw] message
438
+ # @return [String]
439
+ #
440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ConflictException AWS API Documentation
441
+ #
442
+ class ConflictException < Struct.new(
443
+ :message)
444
+ SENSITIVE = []
445
+ include Aws::Structure
446
+ end
447
+
376
448
  # Describes an Amazon Connect client add-in.
377
449
  #
378
450
  # @!attribute [rw] add_in_id
@@ -554,6 +626,36 @@ module Aws::WorkSpaces
554
626
  include Aws::Structure
555
627
  end
556
628
 
629
+ # @!attribute [rw] target_account_id
630
+ # The identifier of the target account.
631
+ # @return [String]
632
+ #
633
+ # @!attribute [rw] client_token
634
+ # A string of up to 64 ASCII characters that Amazon EFS uses to ensure
635
+ # idempotent creation.
636
+ # @return [String]
637
+ #
638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAccountLinkInvitationRequest AWS API Documentation
639
+ #
640
+ class CreateAccountLinkInvitationRequest < Struct.new(
641
+ :target_account_id,
642
+ :client_token)
643
+ SENSITIVE = []
644
+ include Aws::Structure
645
+ end
646
+
647
+ # @!attribute [rw] account_link
648
+ # Information about the account link.
649
+ # @return [Types::AccountLink]
650
+ #
651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAccountLinkInvitationResult AWS API Documentation
652
+ #
653
+ class CreateAccountLinkInvitationResult < Struct.new(
654
+ :account_link)
655
+ SENSITIVE = []
656
+ include Aws::Structure
657
+ end
658
+
557
659
  # @!attribute [rw] resource_id
558
660
  # The directory identifier for which to configure the client add-in.
559
661
  # @return [String]
@@ -1161,6 +1263,36 @@ module Aws::WorkSpaces
1161
1263
  include Aws::Structure
1162
1264
  end
1163
1265
 
1266
+ # @!attribute [rw] link_id
1267
+ # The identifier of the account link.
1268
+ # @return [String]
1269
+ #
1270
+ # @!attribute [rw] client_token
1271
+ # A string of up to 64 ASCII characters that Amazon EFS uses to ensure
1272
+ # idempotent creation.
1273
+ # @return [String]
1274
+ #
1275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAccountLinkInvitationRequest AWS API Documentation
1276
+ #
1277
+ class DeleteAccountLinkInvitationRequest < Struct.new(
1278
+ :link_id,
1279
+ :client_token)
1280
+ SENSITIVE = []
1281
+ include Aws::Structure
1282
+ end
1283
+
1284
+ # @!attribute [rw] account_link
1285
+ # Information about the account link.
1286
+ # @return [Types::AccountLink]
1287
+ #
1288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAccountLinkInvitationResult AWS API Documentation
1289
+ #
1290
+ class DeleteAccountLinkInvitationResult < Struct.new(
1291
+ :account_link)
1292
+ SENSITIVE = []
1293
+ include Aws::Structure
1294
+ end
1295
+
1164
1296
  # @!attribute [rw] resource_id
1165
1297
  # The directory identifier of the WorkSpace for which you want to
1166
1298
  # delete client branding.
@@ -1392,11 +1524,16 @@ module Aws::WorkSpaces
1392
1524
  # Amazon WorkSpaces to manage the WorkSpace.
1393
1525
  # @return [String]
1394
1526
  #
1527
+ # @!attribute [rw] dedicated_tenancy_account_type
1528
+ # The type of linked account.
1529
+ # @return [String]
1530
+ #
1395
1531
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountResult AWS API Documentation
1396
1532
  #
1397
1533
  class DescribeAccountResult < Struct.new(
1398
1534
  :dedicated_tenancy_support,
1399
- :dedicated_tenancy_management_cidr_range)
1535
+ :dedicated_tenancy_management_cidr_range,
1536
+ :dedicated_tenancy_account_type)
1400
1537
  SENSITIVE = []
1401
1538
  include Aws::Structure
1402
1539
  end
@@ -2362,6 +2499,35 @@ module Aws::WorkSpaces
2362
2499
  include Aws::Structure
2363
2500
  end
2364
2501
 
2502
+ # @!attribute [rw] link_id
2503
+ # The identifier of the account to link.
2504
+ # @return [String]
2505
+ #
2506
+ # @!attribute [rw] linked_account_id
2507
+ # The identifier of the account link
2508
+ # @return [String]
2509
+ #
2510
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAccountLinkRequest AWS API Documentation
2511
+ #
2512
+ class GetAccountLinkRequest < Struct.new(
2513
+ :link_id,
2514
+ :linked_account_id)
2515
+ SENSITIVE = []
2516
+ include Aws::Structure
2517
+ end
2518
+
2519
+ # @!attribute [rw] account_link
2520
+ # The account link of the account link to retrieve.
2521
+ # @return [Types::AccountLink]
2522
+ #
2523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAccountLinkResult AWS API Documentation
2524
+ #
2525
+ class GetAccountLinkResult < Struct.new(
2526
+ :account_link)
2527
+ SENSITIVE = []
2528
+ include Aws::Structure
2529
+ end
2530
+
2365
2531
  # Describes the Amazon Web Services accounts that have been granted
2366
2532
  # permission to use a shared image. For more information about sharing
2367
2533
  # images, see [ Share or Unshare a Custom WorkSpaces Image][1].
@@ -2597,6 +2763,19 @@ module Aws::WorkSpaces
2597
2763
  #
2598
2764
  class IncompatibleApplicationsException < Aws::EmptyStructure; end
2599
2765
 
2766
+ # Unexpected server error occured.
2767
+ #
2768
+ # @!attribute [rw] message
2769
+ # @return [String]
2770
+ #
2771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/InternalServerException AWS API Documentation
2772
+ #
2773
+ class InternalServerException < Struct.new(
2774
+ :message)
2775
+ SENSITIVE = []
2776
+ include Aws::Structure
2777
+ end
2778
+
2600
2779
  # One or more parameter values are not valid.
2601
2780
  #
2602
2781
  # @!attribute [rw] message
@@ -2839,6 +3018,47 @@ module Aws::WorkSpaces
2839
3018
  include Aws::Structure
2840
3019
  end
2841
3020
 
3021
+ # @!attribute [rw] link_status_filter
3022
+ # Filters the account based on their link status.
3023
+ # @return [Array<String>]
3024
+ #
3025
+ # @!attribute [rw] next_token
3026
+ # The token to use to retrieve the next page of results. This value is
3027
+ # null when there are no more results to return.
3028
+ # @return [String]
3029
+ #
3030
+ # @!attribute [rw] max_results
3031
+ # The maximum number of accounts to return.
3032
+ # @return [Integer]
3033
+ #
3034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountLinksRequest AWS API Documentation
3035
+ #
3036
+ class ListAccountLinksRequest < Struct.new(
3037
+ :link_status_filter,
3038
+ :next_token,
3039
+ :max_results)
3040
+ SENSITIVE = []
3041
+ include Aws::Structure
3042
+ end
3043
+
3044
+ # @!attribute [rw] account_links
3045
+ # Information about the account links.
3046
+ # @return [Array<Types::AccountLink>]
3047
+ #
3048
+ # @!attribute [rw] next_token
3049
+ # The token to use to retrieve the next page of results. This value is
3050
+ # null when there are no more results to return.
3051
+ # @return [String]
3052
+ #
3053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountLinksResult AWS API Documentation
3054
+ #
3055
+ class ListAccountLinksResult < Struct.new(
3056
+ :account_links,
3057
+ :next_token)
3058
+ SENSITIVE = []
3059
+ include Aws::Structure
3060
+ end
3061
+
2842
3062
  # @!attribute [rw] management_cidr_range_constraint
2843
3063
  # The IP address range to search. Specify an IP address range that is
2844
3064
  # compatible with your network and in CIDR notation (that is, specify
@@ -3391,6 +3611,35 @@ module Aws::WorkSpaces
3391
3611
  #
3392
3612
  class RegisterWorkspaceDirectoryResult < Aws::EmptyStructure; end
3393
3613
 
3614
+ # @!attribute [rw] link_id
3615
+ # The identifier of the account link
3616
+ # @return [String]
3617
+ #
3618
+ # @!attribute [rw] client_token
3619
+ # The client token of the account link invitation to reject.
3620
+ # @return [String]
3621
+ #
3622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RejectAccountLinkInvitationRequest AWS API Documentation
3623
+ #
3624
+ class RejectAccountLinkInvitationRequest < Struct.new(
3625
+ :link_id,
3626
+ :client_token)
3627
+ SENSITIVE = []
3628
+ include Aws::Structure
3629
+ end
3630
+
3631
+ # @!attribute [rw] account_link
3632
+ # Information about the account link.
3633
+ # @return [Types::AccountLink]
3634
+ #
3635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RejectAccountLinkInvitationResult AWS API Documentation
3636
+ #
3637
+ class RejectAccountLinkInvitationResult < Struct.new(
3638
+ :account_link)
3639
+ SENSITIVE = []
3640
+ include Aws::Structure
3641
+ end
3642
+
3394
3643
  # Describes the related WorkSpace. The related WorkSpace could be a
3395
3644
  # standby WorkSpace or primary WorkSpace related to the specified
3396
3645
  # WorkSpace.
@@ -4094,6 +4343,20 @@ module Aws::WorkSpaces
4094
4343
  include Aws::Structure
4095
4344
  end
4096
4345
 
4346
+ # You either haven't provided a `TargetAccountId` or are using the same
4347
+ # value for `TargetAccountId` and `SourceAccountId`.
4348
+ #
4349
+ # @!attribute [rw] message
4350
+ # @return [String]
4351
+ #
4352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ValidationException AWS API Documentation
4353
+ #
4354
+ class ValidationException < Struct.new(
4355
+ :message)
4356
+ SENSITIVE = []
4357
+ include Aws::Structure
4358
+ end
4359
+
4097
4360
  # Describes the WorkSpace application.
4098
4361
  #
4099
4362
  # @!attribute [rw] application_id
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-workspaces/customizations'
32
32
  # structure.
33
33
  #
34
34
  # work_spaces = Aws::WorkSpaces::Client.new
35
- # resp = work_spaces.associate_connection_alias(params)
35
+ # resp = work_spaces.accept_account_link_invitation(params)
36
36
  #
37
37
  # See {Client} for more information.
38
38
  #
@@ -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.100.0'
55
+ GEM_VERSION = '1.102.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -73,6 +73,17 @@ module Aws
73
73
  | (?Hash[Symbol, untyped]) -> instance
74
74
 
75
75
 
76
+ interface _AcceptAccountLinkInvitationResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcceptAccountLinkInvitationResult]
78
+ def account_link: () -> Types::AccountLink
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#accept_account_link_invitation-instance_method
81
+ def accept_account_link_invitation: (
82
+ link_id: ::String,
83
+ ?client_token: ::String
84
+ ) -> _AcceptAccountLinkInvitationResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptAccountLinkInvitationResponseSuccess
86
+
76
87
  interface _AssociateConnectionAliasResponseSuccess
77
88
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateConnectionAliasResult]
78
89
  def connection_identifier: () -> ::String
@@ -139,6 +150,17 @@ module Aws
139
150
  ) -> _CopyWorkspaceImageResponseSuccess
140
151
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyWorkspaceImageResponseSuccess
141
152
 
153
+ interface _CreateAccountLinkInvitationResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAccountLinkInvitationResult]
155
+ def account_link: () -> Types::AccountLink
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#create_account_link_invitation-instance_method
158
+ def create_account_link_invitation: (
159
+ target_account_id: ::String,
160
+ ?client_token: ::String
161
+ ) -> _CreateAccountLinkInvitationResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccountLinkInvitationResponseSuccess
163
+
142
164
  interface _CreateConnectClientAddInResponseSuccess
143
165
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateConnectClientAddInResult]
144
166
  def add_in_id: () -> ::String
@@ -336,6 +358,17 @@ module Aws
336
358
  ) -> _CreateWorkspacesResponseSuccess
337
359
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspacesResponseSuccess
338
360
 
361
+ interface _DeleteAccountLinkInvitationResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccountLinkInvitationResult]
363
+ def account_link: () -> Types::AccountLink
364
+ end
365
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#delete_account_link_invitation-instance_method
366
+ def delete_account_link_invitation: (
367
+ link_id: ::String,
368
+ ?client_token: ::String
369
+ ) -> _DeleteAccountLinkInvitationResponseSuccess
370
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccountLinkInvitationResponseSuccess
371
+
339
372
  interface _DeleteClientBrandingResponseSuccess
340
373
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClientBrandingResult]
341
374
  end
@@ -426,6 +459,7 @@ module Aws
426
459
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountResult]
427
460
  def dedicated_tenancy_support: () -> ("ENABLED" | "DISABLED")
428
461
  def dedicated_tenancy_management_cidr_range: () -> ::String
462
+ def dedicated_tenancy_account_type: () -> ("SOURCE_ACCOUNT" | "TARGET_ACCOUNT")
429
463
  end
430
464
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#describe_account-instance_method
431
465
  def describe_account: (
@@ -720,6 +754,17 @@ module Aws
720
754
  ) -> _DisassociateWorkspaceApplicationResponseSuccess
721
755
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateWorkspaceApplicationResponseSuccess
722
756
 
757
+ interface _GetAccountLinkResponseSuccess
758
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountLinkResult]
759
+ def account_link: () -> Types::AccountLink
760
+ end
761
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#get_account_link-instance_method
762
+ def get_account_link: (
763
+ ?link_id: ::String,
764
+ ?linked_account_id: ::String
765
+ ) -> _GetAccountLinkResponseSuccess
766
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountLinkResponseSuccess
767
+
723
768
  interface _ImportClientBrandingResponseSuccess
724
769
  include ::Seahorse::Client::_ResponseSuccess[Types::ImportClientBrandingResult]
725
770
  def device_type_windows: () -> Types::DefaultClientBrandingAttributes
@@ -799,6 +844,19 @@ module Aws
799
844
  ) -> _ImportWorkspaceImageResponseSuccess
800
845
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportWorkspaceImageResponseSuccess
801
846
 
847
+ interface _ListAccountLinksResponseSuccess
848
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountLinksResult]
849
+ def account_links: () -> ::Array[Types::AccountLink]
850
+ def next_token: () -> ::String
851
+ end
852
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#list_account_links-instance_method
853
+ def list_account_links: (
854
+ ?link_status_filter: Array[("LINKED" | "LINKING_FAILED" | "LINK_NOT_FOUND" | "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" | "REJECTED")],
855
+ ?next_token: ::String,
856
+ ?max_results: ::Integer
857
+ ) -> _ListAccountLinksResponseSuccess
858
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountLinksResponseSuccess
859
+
802
860
  interface _ListAvailableManagementCidrRangesResponseSuccess
803
861
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAvailableManagementCidrRangesResult]
804
862
  def management_cidr_ranges: () -> ::Array[::String]
@@ -1004,6 +1062,17 @@ module Aws
1004
1062
  ) -> _RegisterWorkspaceDirectoryResponseSuccess
1005
1063
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterWorkspaceDirectoryResponseSuccess
1006
1064
 
1065
+ interface _RejectAccountLinkInvitationResponseSuccess
1066
+ include ::Seahorse::Client::_ResponseSuccess[Types::RejectAccountLinkInvitationResult]
1067
+ def account_link: () -> Types::AccountLink
1068
+ end
1069
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpaces/Client.html#reject_account_link_invitation-instance_method
1070
+ def reject_account_link_invitation: (
1071
+ link_id: ::String,
1072
+ ?client_token: ::String
1073
+ ) -> _RejectAccountLinkInvitationResponseSuccess
1074
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectAccountLinkInvitationResponseSuccess
1075
+
1007
1076
  interface _RestoreWorkspaceResponseSuccess
1008
1077
  include ::Seahorse::Client::_ResponseSuccess[Types::RestoreWorkspaceResult]
1009
1078
  end
data/sig/errors.rbs CHANGED
@@ -18,8 +18,14 @@ module Aws
18
18
  end
19
19
  class ComputeNotCompatibleException < ::Aws::Errors::ServiceError
20
20
  end
21
+ class ConflictException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ end
21
24
  class IncompatibleApplicationsException < ::Aws::Errors::ServiceError
22
25
  end
26
+ class InternalServerException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
23
29
  class InvalidParameterValuesException < ::Aws::Errors::ServiceError
24
30
  def message: () -> ::String
25
31
  end
@@ -65,6 +71,9 @@ module Aws
65
71
  class UnsupportedWorkspaceConfigurationException < ::Aws::Errors::ServiceError
66
72
  def message: () -> ::String
67
73
  end
74
+ class ValidationException < ::Aws::Errors::ServiceError
75
+ def message: () -> ::String
76
+ end
68
77
  class WorkspacesDefaultRoleNotFoundException < ::Aws::Errors::ServiceError
69
78
  def message: () -> ::String
70
79
  end
data/sig/types.rbs CHANGED
@@ -8,11 +8,30 @@
8
8
  module Aws::WorkSpaces
9
9
  module Types
10
10
 
11
+ class AcceptAccountLinkInvitationRequest
12
+ attr_accessor link_id: ::String
13
+ attr_accessor client_token: ::String
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AcceptAccountLinkInvitationResult
18
+ attr_accessor account_link: Types::AccountLink
19
+ SENSITIVE: []
20
+ end
21
+
11
22
  class AccessDeniedException
12
23
  attr_accessor message: ::String
13
24
  SENSITIVE: []
14
25
  end
15
26
 
27
+ class AccountLink
28
+ attr_accessor account_link_id: ::String
29
+ attr_accessor account_link_status: ("LINKED" | "LINKING_FAILED" | "LINK_NOT_FOUND" | "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" | "REJECTED")
30
+ attr_accessor source_account_id: ::String
31
+ attr_accessor target_account_id: ::String
32
+ SENSITIVE: []
33
+ end
34
+
16
35
  class AccountModification
17
36
  attr_accessor modification_state: ("PENDING" | "COMPLETED" | "FAILED")
18
37
  attr_accessor dedicated_tenancy_support: ("ENABLED" | "DISABLED")
@@ -120,6 +139,11 @@ module Aws::WorkSpaces
120
139
  SENSITIVE: []
121
140
  end
122
141
 
142
+ class ConflictException
143
+ attr_accessor message: ::String
144
+ SENSITIVE: []
145
+ end
146
+
123
147
  class ConnectClientAddIn
124
148
  attr_accessor add_in_id: ::String
125
149
  attr_accessor resource_id: ::String
@@ -165,6 +189,17 @@ module Aws::WorkSpaces
165
189
  SENSITIVE: []
166
190
  end
167
191
 
192
+ class CreateAccountLinkInvitationRequest
193
+ attr_accessor target_account_id: ::String
194
+ attr_accessor client_token: ::String
195
+ SENSITIVE: []
196
+ end
197
+
198
+ class CreateAccountLinkInvitationResult
199
+ attr_accessor account_link: Types::AccountLink
200
+ SENSITIVE: []
201
+ end
202
+
168
203
  class CreateConnectClientAddInRequest
169
204
  attr_accessor resource_id: ::String
170
205
  attr_accessor name: ::String
@@ -316,6 +351,17 @@ module Aws::WorkSpaces
316
351
  SENSITIVE: []
317
352
  end
318
353
 
354
+ class DeleteAccountLinkInvitationRequest
355
+ attr_accessor link_id: ::String
356
+ attr_accessor client_token: ::String
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class DeleteAccountLinkInvitationResult
361
+ attr_accessor account_link: Types::AccountLink
362
+ SENSITIVE: []
363
+ end
364
+
319
365
  class DeleteClientBrandingRequest
320
366
  attr_accessor resource_id: ::String
321
367
  attr_accessor platforms: ::Array[("DeviceTypeWindows" | "DeviceTypeOsx" | "DeviceTypeAndroid" | "DeviceTypeIos" | "DeviceTypeLinux" | "DeviceTypeWeb")]
@@ -411,6 +457,7 @@ module Aws::WorkSpaces
411
457
  class DescribeAccountResult
412
458
  attr_accessor dedicated_tenancy_support: ("ENABLED" | "DISABLED")
413
459
  attr_accessor dedicated_tenancy_management_cidr_range: ::String
460
+ attr_accessor dedicated_tenancy_account_type: ("SOURCE_ACCOUNT" | "TARGET_ACCOUNT")
414
461
  SENSITIVE: []
415
462
  end
416
463
 
@@ -716,6 +763,17 @@ module Aws::WorkSpaces
716
763
  SENSITIVE: []
717
764
  end
718
765
 
766
+ class GetAccountLinkRequest
767
+ attr_accessor link_id: ::String
768
+ attr_accessor linked_account_id: ::String
769
+ SENSITIVE: []
770
+ end
771
+
772
+ class GetAccountLinkResult
773
+ attr_accessor account_link: Types::AccountLink
774
+ SENSITIVE: []
775
+ end
776
+
719
777
  class ImagePermission
720
778
  attr_accessor shared_account_id: ::String
721
779
  SENSITIVE: []
@@ -771,6 +829,11 @@ module Aws::WorkSpaces
771
829
  class IncompatibleApplicationsException < Aws::EmptyStructure
772
830
  end
773
831
 
832
+ class InternalServerException
833
+ attr_accessor message: ::String
834
+ SENSITIVE: []
835
+ end
836
+
774
837
  class InvalidParameterValuesException
775
838
  attr_accessor message: ::String
776
839
  SENSITIVE: []
@@ -809,6 +872,19 @@ module Aws::WorkSpaces
809
872
  SENSITIVE: []
810
873
  end
811
874
 
875
+ class ListAccountLinksRequest
876
+ attr_accessor link_status_filter: ::Array[("LINKED" | "LINKING_FAILED" | "LINK_NOT_FOUND" | "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" | "REJECTED")]
877
+ attr_accessor next_token: ::String
878
+ attr_accessor max_results: ::Integer
879
+ SENSITIVE: []
880
+ end
881
+
882
+ class ListAccountLinksResult
883
+ attr_accessor account_links: ::Array[Types::AccountLink]
884
+ attr_accessor next_token: ::String
885
+ SENSITIVE: []
886
+ end
887
+
812
888
  class ListAvailableManagementCidrRangesRequest
813
889
  attr_accessor management_cidr_range_constraint: ::String
814
890
  attr_accessor max_results: ::Integer
@@ -994,6 +1070,17 @@ module Aws::WorkSpaces
994
1070
  class RegisterWorkspaceDirectoryResult < Aws::EmptyStructure
995
1071
  end
996
1072
 
1073
+ class RejectAccountLinkInvitationRequest
1074
+ attr_accessor link_id: ::String
1075
+ attr_accessor client_token: ::String
1076
+ SENSITIVE: []
1077
+ end
1078
+
1079
+ class RejectAccountLinkInvitationResult
1080
+ attr_accessor account_link: Types::AccountLink
1081
+ SENSITIVE: []
1082
+ end
1083
+
997
1084
  class RelatedWorkspaceProperties
998
1085
  attr_accessor workspace_id: ::String
999
1086
  attr_accessor region: ::String
@@ -1219,6 +1306,11 @@ module Aws::WorkSpaces
1219
1306
  SENSITIVE: []
1220
1307
  end
1221
1308
 
1309
+ class ValidationException
1310
+ attr_accessor message: ::String
1311
+ SENSITIVE: []
1312
+ end
1313
+
1222
1314
  class WorkSpaceApplication
1223
1315
  attr_accessor application_id: ::String
1224
1316
  attr_accessor created: ::Time
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.100.0
4
+ version: 1.102.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: 2024-03-07 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement