aws-sdk-workspaces 1.99.0 → 1.101.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspaces/client.rb +236 -3
- data/lib/aws-sdk-workspaces/client_api.rb +166 -0
- data/lib/aws-sdk-workspaces/endpoints.rb +84 -0
- data/lib/aws-sdk-workspaces/errors.rb +48 -0
- data/lib/aws-sdk-workspaces/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-workspaces/types.rb +304 -1
- data/lib/aws-sdk-workspaces.rb +2 -2
- data/sig/client.rbs +69 -0
- data/sig/errors.rbs +9 -0
- data/sig/types.rbs +92 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8dc3ce097fb108cf22dd645145f428247e7b9d658b8276c895b6bafd155ae46
|
4
|
+
data.tar.gz: 4018c82a560d9eb8f98bcb4ac08c8d0240bbff2fec21e16c0af821aaa2d927b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c942b41f616064cc9ecc989518983c60ebc0ced551acf74f0d74ee3f6d572a2c0d2a460150d27cd5ecd17e2a729a73590532021104dffbfabe1155323753e248
|
7
|
+
data.tar.gz: 9b4c16dc0cd034f5b093878dbd8599b33a7c9ad5aa0d81bac2685026357aa76eec7b83062bd9de8dc37e76ff0df036fa7b766f318d972f84d7aa0e4613688d00
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.101.0 (2024-04-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds new APIs for managing and sharing WorkSpaces BYOL configuration across accounts.
|
8
|
+
|
9
|
+
1.100.0 (2024-03-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added note for user decoupling
|
13
|
+
|
4
14
|
1.99.0 (2024-02-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.101.0
|
@@ -398,6 +398,45 @@ module Aws::WorkSpaces
|
|
398
398
|
|
399
399
|
# @!group API Operations
|
400
400
|
|
401
|
+
# Accepts the account link invitation.
|
402
|
+
#
|
403
|
+
# There's currently no unlinking capability after you accept the
|
404
|
+
# account linking invitation.
|
405
|
+
#
|
406
|
+
# @option params [required, String] :link_id
|
407
|
+
# The identifier of the account link.
|
408
|
+
#
|
409
|
+
# @option params [String] :client_token
|
410
|
+
# A string of up to 64 ASCII characters that Amazon EFS uses to ensure
|
411
|
+
# idempotent creation.
|
412
|
+
#
|
413
|
+
# @return [Types::AcceptAccountLinkInvitationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
414
|
+
#
|
415
|
+
# * {Types::AcceptAccountLinkInvitationResult#account_link #account_link} => Types::AccountLink
|
416
|
+
#
|
417
|
+
# @example Request syntax with placeholder values
|
418
|
+
#
|
419
|
+
# resp = client.accept_account_link_invitation({
|
420
|
+
# link_id: "LinkId", # required
|
421
|
+
# client_token: "ClientToken",
|
422
|
+
# })
|
423
|
+
#
|
424
|
+
# @example Response structure
|
425
|
+
#
|
426
|
+
# resp.account_link.account_link_id #=> String
|
427
|
+
# resp.account_link.account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
|
428
|
+
# resp.account_link.source_account_id #=> String
|
429
|
+
# resp.account_link.target_account_id #=> String
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AcceptAccountLinkInvitation AWS API Documentation
|
432
|
+
#
|
433
|
+
# @overload accept_account_link_invitation(params = {})
|
434
|
+
# @param [Hash] params ({})
|
435
|
+
def accept_account_link_invitation(params = {}, options = {})
|
436
|
+
req = build_request(:accept_account_link_invitation, params)
|
437
|
+
req.send_request(options)
|
438
|
+
end
|
439
|
+
|
401
440
|
# Associates the specified connection alias with the specified directory
|
402
441
|
# to enable cross-Region redirection. For more information, see [
|
403
442
|
# Cross-Region Redirection for Amazon WorkSpaces][1].
|
@@ -613,6 +652,42 @@ module Aws::WorkSpaces
|
|
613
652
|
req.send_request(options)
|
614
653
|
end
|
615
654
|
|
655
|
+
# Creates the account link invitation.
|
656
|
+
#
|
657
|
+
# @option params [required, String] :target_account_id
|
658
|
+
# The identifier of the target account.
|
659
|
+
#
|
660
|
+
# @option params [String] :client_token
|
661
|
+
# A string of up to 64 ASCII characters that Amazon EFS uses to ensure
|
662
|
+
# idempotent creation.
|
663
|
+
#
|
664
|
+
# @return [Types::CreateAccountLinkInvitationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
665
|
+
#
|
666
|
+
# * {Types::CreateAccountLinkInvitationResult#account_link #account_link} => Types::AccountLink
|
667
|
+
#
|
668
|
+
# @example Request syntax with placeholder values
|
669
|
+
#
|
670
|
+
# resp = client.create_account_link_invitation({
|
671
|
+
# target_account_id: "AwsAccount", # required
|
672
|
+
# client_token: "ClientToken",
|
673
|
+
# })
|
674
|
+
#
|
675
|
+
# @example Response structure
|
676
|
+
#
|
677
|
+
# resp.account_link.account_link_id #=> String
|
678
|
+
# resp.account_link.account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
|
679
|
+
# resp.account_link.source_account_id #=> String
|
680
|
+
# resp.account_link.target_account_id #=> String
|
681
|
+
#
|
682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAccountLinkInvitation AWS API Documentation
|
683
|
+
#
|
684
|
+
# @overload create_account_link_invitation(params = {})
|
685
|
+
# @param [Hash] params ({})
|
686
|
+
def create_account_link_invitation(params = {}, options = {})
|
687
|
+
req = build_request(:create_account_link_invitation, params)
|
688
|
+
req.send_request(options)
|
689
|
+
end
|
690
|
+
|
616
691
|
# Creates a client-add-in for Amazon Connect within a directory. You can
|
617
692
|
# create only one Amazon Connect client add-in within a directory.
|
618
693
|
#
|
@@ -1092,6 +1167,9 @@ module Aws::WorkSpaces
|
|
1092
1167
|
# * You don't need to specify the `PCOIP` protocol for Linux bundles
|
1093
1168
|
# because `WSP` is the default protocol for those bundles.
|
1094
1169
|
#
|
1170
|
+
# * User-decoupled WorkSpaces are only supported by Amazon WorkSpaces
|
1171
|
+
# Core.
|
1172
|
+
#
|
1095
1173
|
# </note>
|
1096
1174
|
#
|
1097
1175
|
#
|
@@ -1207,6 +1285,42 @@ module Aws::WorkSpaces
|
|
1207
1285
|
req.send_request(options)
|
1208
1286
|
end
|
1209
1287
|
|
1288
|
+
# Deletes the account link invitation.
|
1289
|
+
#
|
1290
|
+
# @option params [required, String] :link_id
|
1291
|
+
# The identifier of the account link.
|
1292
|
+
#
|
1293
|
+
# @option params [String] :client_token
|
1294
|
+
# A string of up to 64 ASCII characters that Amazon EFS uses to ensure
|
1295
|
+
# idempotent creation.
|
1296
|
+
#
|
1297
|
+
# @return [Types::DeleteAccountLinkInvitationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1298
|
+
#
|
1299
|
+
# * {Types::DeleteAccountLinkInvitationResult#account_link #account_link} => Types::AccountLink
|
1300
|
+
#
|
1301
|
+
# @example Request syntax with placeholder values
|
1302
|
+
#
|
1303
|
+
# resp = client.delete_account_link_invitation({
|
1304
|
+
# link_id: "LinkId", # required
|
1305
|
+
# client_token: "ClientToken",
|
1306
|
+
# })
|
1307
|
+
#
|
1308
|
+
# @example Response structure
|
1309
|
+
#
|
1310
|
+
# resp.account_link.account_link_id #=> String
|
1311
|
+
# resp.account_link.account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
|
1312
|
+
# resp.account_link.source_account_id #=> String
|
1313
|
+
# resp.account_link.target_account_id #=> String
|
1314
|
+
#
|
1315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAccountLinkInvitation AWS API Documentation
|
1316
|
+
#
|
1317
|
+
# @overload delete_account_link_invitation(params = {})
|
1318
|
+
# @param [Hash] params ({})
|
1319
|
+
def delete_account_link_invitation(params = {}, options = {})
|
1320
|
+
req = build_request(:delete_account_link_invitation, params)
|
1321
|
+
req.send_request(options)
|
1322
|
+
end
|
1323
|
+
|
1210
1324
|
# Deletes customized client branding. Client branding allows you to
|
1211
1325
|
# customize your WorkSpace's client login portal. You can tailor your
|
1212
1326
|
# login portal company logo, the support email address, support link,
|
@@ -1512,11 +1626,13 @@ module Aws::WorkSpaces
|
|
1512
1626
|
#
|
1513
1627
|
# * {Types::DescribeAccountResult#dedicated_tenancy_support #dedicated_tenancy_support} => String
|
1514
1628
|
# * {Types::DescribeAccountResult#dedicated_tenancy_management_cidr_range #dedicated_tenancy_management_cidr_range} => String
|
1629
|
+
# * {Types::DescribeAccountResult#dedicated_tenancy_account_type #dedicated_tenancy_account_type} => String
|
1515
1630
|
#
|
1516
1631
|
# @example Response structure
|
1517
1632
|
#
|
1518
1633
|
# resp.dedicated_tenancy_support #=> String, one of "ENABLED", "DISABLED"
|
1519
1634
|
# resp.dedicated_tenancy_management_cidr_range #=> String
|
1635
|
+
# resp.dedicated_tenancy_account_type #=> String, one of "SOURCE_ACCOUNT", "TARGET_ACCOUNT"
|
1520
1636
|
#
|
1521
1637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccount AWS API Documentation
|
1522
1638
|
#
|
@@ -2680,6 +2796,41 @@ module Aws::WorkSpaces
|
|
2680
2796
|
req.send_request(options)
|
2681
2797
|
end
|
2682
2798
|
|
2799
|
+
# Retrieves account link information.
|
2800
|
+
#
|
2801
|
+
# @option params [String] :link_id
|
2802
|
+
# The identifier of the account to link.
|
2803
|
+
#
|
2804
|
+
# @option params [String] :linked_account_id
|
2805
|
+
# The identifier of the account link
|
2806
|
+
#
|
2807
|
+
# @return [Types::GetAccountLinkResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2808
|
+
#
|
2809
|
+
# * {Types::GetAccountLinkResult#account_link #account_link} => Types::AccountLink
|
2810
|
+
#
|
2811
|
+
# @example Request syntax with placeholder values
|
2812
|
+
#
|
2813
|
+
# resp = client.get_account_link({
|
2814
|
+
# link_id: "LinkId",
|
2815
|
+
# linked_account_id: "AwsAccount",
|
2816
|
+
# })
|
2817
|
+
#
|
2818
|
+
# @example Response structure
|
2819
|
+
#
|
2820
|
+
# resp.account_link.account_link_id #=> String
|
2821
|
+
# resp.account_link.account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
|
2822
|
+
# resp.account_link.source_account_id #=> String
|
2823
|
+
# resp.account_link.target_account_id #=> String
|
2824
|
+
#
|
2825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAccountLink AWS API Documentation
|
2826
|
+
#
|
2827
|
+
# @overload get_account_link(params = {})
|
2828
|
+
# @param [Hash] params ({})
|
2829
|
+
def get_account_link(params = {}, options = {})
|
2830
|
+
req = build_request(:get_account_link, params)
|
2831
|
+
req.send_request(options)
|
2832
|
+
end
|
2833
|
+
|
2683
2834
|
# Imports client branding. Client branding allows you to customize your
|
2684
2835
|
# WorkSpace's client login portal. You can tailor your login portal
|
2685
2836
|
# company logo, the support email address, support link, link to reset
|
@@ -2942,6 +3093,51 @@ module Aws::WorkSpaces
|
|
2942
3093
|
req.send_request(options)
|
2943
3094
|
end
|
2944
3095
|
|
3096
|
+
# Lists all account links.
|
3097
|
+
#
|
3098
|
+
# @option params [Array<String>] :link_status_filter
|
3099
|
+
# Filters the account based on their link status.
|
3100
|
+
#
|
3101
|
+
# @option params [String] :next_token
|
3102
|
+
# The token to use to retrieve the next page of results. This value is
|
3103
|
+
# null when there are no more results to return.
|
3104
|
+
#
|
3105
|
+
# @option params [Integer] :max_results
|
3106
|
+
# The maximum number of accounts to return.
|
3107
|
+
#
|
3108
|
+
# @return [Types::ListAccountLinksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3109
|
+
#
|
3110
|
+
# * {Types::ListAccountLinksResult#account_links #account_links} => Array<Types::AccountLink>
|
3111
|
+
# * {Types::ListAccountLinksResult#next_token #next_token} => String
|
3112
|
+
#
|
3113
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3114
|
+
#
|
3115
|
+
# @example Request syntax with placeholder values
|
3116
|
+
#
|
3117
|
+
# resp = client.list_account_links({
|
3118
|
+
# link_status_filter: ["LINKED"], # accepts LINKED, LINKING_FAILED, LINK_NOT_FOUND, PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT, REJECTED
|
3119
|
+
# next_token: "PaginationToken",
|
3120
|
+
# max_results: 1,
|
3121
|
+
# })
|
3122
|
+
#
|
3123
|
+
# @example Response structure
|
3124
|
+
#
|
3125
|
+
# resp.account_links #=> Array
|
3126
|
+
# resp.account_links[0].account_link_id #=> String
|
3127
|
+
# resp.account_links[0].account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
|
3128
|
+
# resp.account_links[0].source_account_id #=> String
|
3129
|
+
# resp.account_links[0].target_account_id #=> String
|
3130
|
+
# resp.next_token #=> String
|
3131
|
+
#
|
3132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountLinks AWS API Documentation
|
3133
|
+
#
|
3134
|
+
# @overload list_account_links(params = {})
|
3135
|
+
# @param [Hash] params ({})
|
3136
|
+
def list_account_links(params = {}, options = {})
|
3137
|
+
req = build_request(:list_account_links, params)
|
3138
|
+
req.send_request(options)
|
3139
|
+
end
|
3140
|
+
|
2945
3141
|
# Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks,
|
2946
3142
|
# that you can use for the network management interface when you enable
|
2947
3143
|
# Bring Your Own License (BYOL).
|
@@ -3384,8 +3580,10 @@ module Aws::WorkSpaces
|
|
3384
3580
|
|
3385
3581
|
# Reboots the specified WorkSpaces.
|
3386
3582
|
#
|
3387
|
-
# You cannot reboot a WorkSpace unless its state is `AVAILABLE
|
3388
|
-
# `UNHEALTHY`.
|
3583
|
+
# You cannot reboot a WorkSpace unless its state is `AVAILABLE`,
|
3584
|
+
# `UNHEALTHY`, or `REBOOTING`. Reboot a WorkSpace in the `REBOOTING`
|
3585
|
+
# state only if your WorkSpace has been stuck in the `REBOOTING` state
|
3586
|
+
# for over 20 minutes.
|
3389
3587
|
#
|
3390
3588
|
# This operation is asynchronous and returns before the WorkSpaces have
|
3391
3589
|
# rebooted.
|
@@ -3550,6 +3748,41 @@ module Aws::WorkSpaces
|
|
3550
3748
|
req.send_request(options)
|
3551
3749
|
end
|
3552
3750
|
|
3751
|
+
# Rejects the account link invitation.
|
3752
|
+
#
|
3753
|
+
# @option params [required, String] :link_id
|
3754
|
+
# The identifier of the account link
|
3755
|
+
#
|
3756
|
+
# @option params [String] :client_token
|
3757
|
+
# The client token of the account link invitation to reject.
|
3758
|
+
#
|
3759
|
+
# @return [Types::RejectAccountLinkInvitationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3760
|
+
#
|
3761
|
+
# * {Types::RejectAccountLinkInvitationResult#account_link #account_link} => Types::AccountLink
|
3762
|
+
#
|
3763
|
+
# @example Request syntax with placeholder values
|
3764
|
+
#
|
3765
|
+
# resp = client.reject_account_link_invitation({
|
3766
|
+
# link_id: "LinkId", # required
|
3767
|
+
# client_token: "ClientToken",
|
3768
|
+
# })
|
3769
|
+
#
|
3770
|
+
# @example Response structure
|
3771
|
+
#
|
3772
|
+
# resp.account_link.account_link_id #=> String
|
3773
|
+
# resp.account_link.account_link_status #=> String, one of "LINKED", "LINKING_FAILED", "LINK_NOT_FOUND", "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", "REJECTED"
|
3774
|
+
# resp.account_link.source_account_id #=> String
|
3775
|
+
# resp.account_link.target_account_id #=> String
|
3776
|
+
#
|
3777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RejectAccountLinkInvitation AWS API Documentation
|
3778
|
+
#
|
3779
|
+
# @overload reject_account_link_invitation(params = {})
|
3780
|
+
# @param [Hash] params ({})
|
3781
|
+
def reject_account_link_invitation(params = {}, options = {})
|
3782
|
+
req = build_request(:reject_account_link_invitation, params)
|
3783
|
+
req.send_request(options)
|
3784
|
+
end
|
3785
|
+
|
3553
3786
|
# Restores the specified WorkSpace to its last known healthy state.
|
3554
3787
|
#
|
3555
3788
|
# You cannot restore a WorkSpace unless its state is ` AVAILABLE`,
|
@@ -3995,7 +4228,7 @@ module Aws::WorkSpaces
|
|
3995
4228
|
params: params,
|
3996
4229
|
config: config)
|
3997
4230
|
context[:gem_name] = 'aws-sdk-workspaces'
|
3998
|
-
context[:gem_version] = '1.
|
4231
|
+
context[:gem_version] = '1.101.0'
|
3999
4232
|
Seahorse::Client::Request.new(handlers, context)
|
4000
4233
|
end
|
4001
4234
|
|