aws-sdk-workspaces 1.100.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspaces/client.rb +229 -1
- 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 +264 -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
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
|
#
|
|
@@ -1210,6 +1285,42 @@ module Aws::WorkSpaces
|
|
|
1210
1285
|
req.send_request(options)
|
|
1211
1286
|
end
|
|
1212
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
|
+
|
|
1213
1324
|
# Deletes customized client branding. Client branding allows you to
|
|
1214
1325
|
# customize your WorkSpace's client login portal. You can tailor your
|
|
1215
1326
|
# login portal company logo, the support email address, support link,
|
|
@@ -1515,11 +1626,13 @@ module Aws::WorkSpaces
|
|
|
1515
1626
|
#
|
|
1516
1627
|
# * {Types::DescribeAccountResult#dedicated_tenancy_support #dedicated_tenancy_support} => String
|
|
1517
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
|
|
1518
1630
|
#
|
|
1519
1631
|
# @example Response structure
|
|
1520
1632
|
#
|
|
1521
1633
|
# resp.dedicated_tenancy_support #=> String, one of "ENABLED", "DISABLED"
|
|
1522
1634
|
# resp.dedicated_tenancy_management_cidr_range #=> String
|
|
1635
|
+
# resp.dedicated_tenancy_account_type #=> String, one of "SOURCE_ACCOUNT", "TARGET_ACCOUNT"
|
|
1523
1636
|
#
|
|
1524
1637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccount AWS API Documentation
|
|
1525
1638
|
#
|
|
@@ -2683,6 +2796,41 @@ module Aws::WorkSpaces
|
|
|
2683
2796
|
req.send_request(options)
|
|
2684
2797
|
end
|
|
2685
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
|
+
|
|
2686
2834
|
# Imports client branding. Client branding allows you to customize your
|
|
2687
2835
|
# WorkSpace's client login portal. You can tailor your login portal
|
|
2688
2836
|
# company logo, the support email address, support link, link to reset
|
|
@@ -2945,6 +3093,51 @@ module Aws::WorkSpaces
|
|
|
2945
3093
|
req.send_request(options)
|
|
2946
3094
|
end
|
|
2947
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
|
+
|
|
2948
3141
|
# Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks,
|
|
2949
3142
|
# that you can use for the network management interface when you enable
|
|
2950
3143
|
# Bring Your Own License (BYOL).
|
|
@@ -3555,6 +3748,41 @@ module Aws::WorkSpaces
|
|
|
3555
3748
|
req.send_request(options)
|
|
3556
3749
|
end
|
|
3557
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
|
+
|
|
3558
3786
|
# Restores the specified WorkSpace to its last known healthy state.
|
|
3559
3787
|
#
|
|
3560
3788
|
# You cannot restore a WorkSpace unless its state is ` AVAILABLE`,
|
|
@@ -4000,7 +4228,7 @@ module Aws::WorkSpaces
|
|
|
4000
4228
|
params: params,
|
|
4001
4229
|
config: config)
|
|
4002
4230
|
context[:gem_name] = 'aws-sdk-workspaces'
|
|
4003
|
-
context[:gem_version] = '1.
|
|
4231
|
+
context[:gem_version] = '1.101.0'
|
|
4004
4232
|
Seahorse::Client::Request.new(handlers, context)
|
|
4005
4233
|
end
|
|
4006
4234
|
|