aws-sdk-workspaces 1.8.0 → 1.9.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/lib/aws-sdk-workspaces.rb +1 -1
- data/lib/aws-sdk-workspaces/client.rb +317 -37
- data/lib/aws-sdk-workspaces/client_api.rb +190 -0
- data/lib/aws-sdk-workspaces/types.rb +458 -86
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b95f7c41b906a5a13dc4bd6a037eada15550d54c
|
4
|
+
data.tar.gz: 7d4fd7e2ce88b84c1f92a063f628704a94182dad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f75bd60691d3ec93e303748c4bacf8ab5050f0375bd3e71f1a6a5b43d370b3e1ae7b6d47cb8654b3be8f00e53bf71b364773e161ee03ab0971151f06248fa0e
|
7
|
+
data.tar.gz: 6669786ff226b018352847d37ca00fc145916fb2591fa37b919c7551b7d629759235462e8e274f3fa6488ec505a0bae03dfb51caec0482b698f5ced1446fc72d
|
data/lib/aws-sdk-workspaces.rb
CHANGED
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
15
15
|
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
18
19
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
20
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
21
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -45,6 +46,7 @@ module Aws::WorkSpaces
|
|
45
46
|
add_plugin(Aws::Plugins::RetryErrors)
|
46
47
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
47
48
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
49
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
48
50
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
51
|
add_plugin(Aws::Plugins::StubResponses)
|
50
52
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -98,6 +100,10 @@ module Aws::WorkSpaces
|
|
98
100
|
#
|
99
101
|
# @option options [String] :access_key_id
|
100
102
|
#
|
103
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
104
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
105
|
+
# the background every 60 secs (default). Defaults to `false`.
|
106
|
+
#
|
101
107
|
# @option options [Boolean] :client_side_monitoring (false)
|
102
108
|
# When `true`, client-side metrics will be collected for all API requests from
|
103
109
|
# this client.
|
@@ -123,6 +129,21 @@ module Aws::WorkSpaces
|
|
123
129
|
# option. You should only configure an `:endpoint` when connecting
|
124
130
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
131
|
#
|
132
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
133
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
134
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
135
|
+
#
|
136
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
137
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
138
|
+
#
|
139
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
140
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
141
|
+
# Use this option to config the time interval in seconds for making
|
142
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
143
|
+
#
|
144
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
145
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
146
|
+
#
|
126
147
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
148
|
# The log formatter.
|
128
149
|
#
|
@@ -192,10 +213,10 @@ module Aws::WorkSpaces
|
|
192
213
|
# directory.
|
193
214
|
#
|
194
215
|
# @option params [required, String] :directory_id
|
195
|
-
# The
|
216
|
+
# The identifier of the directory.
|
196
217
|
#
|
197
218
|
# @option params [required, Array<String>] :group_ids
|
198
|
-
# The
|
219
|
+
# The identifiers of one or more IP access control groups.
|
199
220
|
#
|
200
221
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
201
222
|
#
|
@@ -221,7 +242,7 @@ module Aws::WorkSpaces
|
|
221
242
|
# CIDR address ranges specified in the rules.
|
222
243
|
#
|
223
244
|
# @option params [required, String] :group_id
|
224
|
-
# The
|
245
|
+
# The identifier of the group.
|
225
246
|
#
|
226
247
|
# @option params [required, Array<Types::IpRuleItem>] :user_rules
|
227
248
|
# The rules to add to the group.
|
@@ -307,7 +328,8 @@ module Aws::WorkSpaces
|
|
307
328
|
# Creates the specified tags for the specified WorkSpace.
|
308
329
|
#
|
309
330
|
# @option params [required, String] :resource_id
|
310
|
-
# The
|
331
|
+
# The identifier of the WorkSpace. To find this ID, use
|
332
|
+
# DescribeWorkspaces.
|
311
333
|
#
|
312
334
|
# @option params [required, Array<Types::Tag>] :tags
|
313
335
|
# The tags. Each WorkSpace can have a maximum of 50 tags.
|
@@ -433,7 +455,7 @@ module Aws::WorkSpaces
|
|
433
455
|
# directory.
|
434
456
|
#
|
435
457
|
# @option params [required, String] :group_id
|
436
|
-
# The
|
458
|
+
# The identifier of the IP access control group.
|
437
459
|
#
|
438
460
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
439
461
|
#
|
@@ -455,7 +477,8 @@ module Aws::WorkSpaces
|
|
455
477
|
# Deletes the specified tags from the specified WorkSpace.
|
456
478
|
#
|
457
479
|
# @option params [required, String] :resource_id
|
458
|
-
# The
|
480
|
+
# The identifier of the WorkSpace. To find this ID, use
|
481
|
+
# DescribeWorkspaces.
|
459
482
|
#
|
460
483
|
# @option params [required, Array<String>] :tag_keys
|
461
484
|
# The tag keys.
|
@@ -478,14 +501,97 @@ module Aws::WorkSpaces
|
|
478
501
|
req.send_request(options)
|
479
502
|
end
|
480
503
|
|
504
|
+
# Deletes the specified image from your account. To delete an image, you
|
505
|
+
# must first delete any bundles that are associated with the image.
|
506
|
+
#
|
507
|
+
# @option params [required, String] :image_id
|
508
|
+
# The identifier of the image.
|
509
|
+
#
|
510
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
511
|
+
#
|
512
|
+
# @example Request syntax with placeholder values
|
513
|
+
#
|
514
|
+
# resp = client.delete_workspace_image({
|
515
|
+
# image_id: "WorkspaceImageId", # required
|
516
|
+
# })
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceImage AWS API Documentation
|
519
|
+
#
|
520
|
+
# @overload delete_workspace_image(params = {})
|
521
|
+
# @param [Hash] params ({})
|
522
|
+
def delete_workspace_image(params = {}, options = {})
|
523
|
+
req = build_request(:delete_workspace_image, params)
|
524
|
+
req.send_request(options)
|
525
|
+
end
|
526
|
+
|
527
|
+
# Retrieves a list that describes the configuration of bring your own
|
528
|
+
# license (BYOL) for the specified account.
|
529
|
+
#
|
530
|
+
# @return [Types::DescribeAccountResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
531
|
+
#
|
532
|
+
# * {Types::DescribeAccountResult#dedicated_tenancy_support #dedicated_tenancy_support} => String
|
533
|
+
# * {Types::DescribeAccountResult#dedicated_tenancy_management_cidr_range #dedicated_tenancy_management_cidr_range} => String
|
534
|
+
#
|
535
|
+
# @example Response structure
|
536
|
+
#
|
537
|
+
# resp.dedicated_tenancy_support #=> String, one of "ENABLED", "DISABLED"
|
538
|
+
# resp.dedicated_tenancy_management_cidr_range #=> String
|
539
|
+
#
|
540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccount AWS API Documentation
|
541
|
+
#
|
542
|
+
# @overload describe_account(params = {})
|
543
|
+
# @param [Hash] params ({})
|
544
|
+
def describe_account(params = {}, options = {})
|
545
|
+
req = build_request(:describe_account, params)
|
546
|
+
req.send_request(options)
|
547
|
+
end
|
548
|
+
|
549
|
+
# Retrieves a list that describes modifications to the configuration of
|
550
|
+
# bring your own license (BYOL) for the specified account.
|
551
|
+
#
|
552
|
+
# @option params [String] :next_token
|
553
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
554
|
+
# provide this token to receive the next set of results.
|
555
|
+
#
|
556
|
+
# @return [Types::DescribeAccountModificationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
557
|
+
#
|
558
|
+
# * {Types::DescribeAccountModificationsResult#account_modifications #account_modifications} => Array<Types::AccountModification>
|
559
|
+
# * {Types::DescribeAccountModificationsResult#next_token #next_token} => String
|
560
|
+
#
|
561
|
+
# @example Request syntax with placeholder values
|
562
|
+
#
|
563
|
+
# resp = client.describe_account_modifications({
|
564
|
+
# next_token: "PaginationToken",
|
565
|
+
# })
|
566
|
+
#
|
567
|
+
# @example Response structure
|
568
|
+
#
|
569
|
+
# resp.account_modifications #=> Array
|
570
|
+
# resp.account_modifications[0].modification_state #=> String, one of "PENDING", "COMPLETED", "FAILED"
|
571
|
+
# resp.account_modifications[0].dedicated_tenancy_support #=> String, one of "ENABLED", "DISABLED"
|
572
|
+
# resp.account_modifications[0].dedicated_tenancy_management_cidr_range #=> String
|
573
|
+
# resp.account_modifications[0].start_time #=> Time
|
574
|
+
# resp.account_modifications[0].error_code #=> String
|
575
|
+
# resp.account_modifications[0].error_message #=> String
|
576
|
+
# resp.next_token #=> String
|
577
|
+
#
|
578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModifications AWS API Documentation
|
579
|
+
#
|
580
|
+
# @overload describe_account_modifications(params = {})
|
581
|
+
# @param [Hash] params ({})
|
582
|
+
def describe_account_modifications(params = {}, options = {})
|
583
|
+
req = build_request(:describe_account_modifications, params)
|
584
|
+
req.send_request(options)
|
585
|
+
end
|
586
|
+
|
481
587
|
# Describes one or more of your IP access control groups.
|
482
588
|
#
|
483
589
|
# @option params [Array<String>] :group_ids
|
484
|
-
# The
|
590
|
+
# The identifiers of one or more IP access control groups.
|
485
591
|
#
|
486
592
|
# @option params [String] :next_token
|
487
|
-
#
|
488
|
-
#
|
593
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
594
|
+
# provide this token to receive the next set of results.
|
489
595
|
#
|
490
596
|
# @option params [Integer] :max_results
|
491
597
|
# The maximum number of items to return.
|
@@ -526,7 +632,8 @@ module Aws::WorkSpaces
|
|
526
632
|
# Describes the specified tags for the specified WorkSpace.
|
527
633
|
#
|
528
634
|
# @option params [required, String] :resource_id
|
529
|
-
# The
|
635
|
+
# The identifier of the WorkSpace. To find this ID, use
|
636
|
+
# DescribeWorkspaces.
|
530
637
|
#
|
531
638
|
# @return [Types::DescribeTagsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
532
639
|
#
|
@@ -553,17 +660,17 @@ module Aws::WorkSpaces
|
|
553
660
|
req.send_request(options)
|
554
661
|
end
|
555
662
|
|
556
|
-
#
|
663
|
+
# Retrieves a list that describes the available WorkSpace bundles.
|
557
664
|
#
|
558
665
|
# You can filter the results using either bundle ID or owner, but not
|
559
666
|
# both.
|
560
667
|
#
|
561
668
|
# @option params [Array<String>] :bundle_ids
|
562
|
-
# The
|
563
|
-
# other filter.
|
669
|
+
# The identifiers of the bundles. You cannot combine this parameter with
|
670
|
+
# any other filter.
|
564
671
|
#
|
565
672
|
# @option params [String] :owner
|
566
|
-
# The owner of the bundles.
|
673
|
+
# The owner of the bundles. You cannot combine this parameter with any
|
567
674
|
# other filter.
|
568
675
|
#
|
569
676
|
# Specify `AMAZON` to describe the bundles provided by AWS or null to
|
@@ -615,8 +722,8 @@ module Aws::WorkSpaces
|
|
615
722
|
# directories are retrieved.
|
616
723
|
#
|
617
724
|
# @option params [String] :next_token
|
618
|
-
#
|
619
|
-
#
|
725
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
726
|
+
# provide this token to receive the next set of results.
|
620
727
|
#
|
621
728
|
# @return [Types::DescribeWorkspaceDirectoriesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
622
729
|
#
|
@@ -664,39 +771,88 @@ module Aws::WorkSpaces
|
|
664
771
|
req.send_request(options)
|
665
772
|
end
|
666
773
|
|
774
|
+
# Retrieves a list that describes one or more specified images, if the
|
775
|
+
# image identifiers are provided. Otherwise, all images in the account
|
776
|
+
# are described.
|
777
|
+
#
|
778
|
+
# @option params [Array<String>] :image_ids
|
779
|
+
# The identifier of the image.
|
780
|
+
#
|
781
|
+
# @option params [String] :next_token
|
782
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
783
|
+
# provide this token to receive the next set of results.
|
784
|
+
#
|
785
|
+
# @option params [Integer] :max_results
|
786
|
+
# The maximum number of items to return.
|
787
|
+
#
|
788
|
+
# @return [Types::DescribeWorkspaceImagesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
789
|
+
#
|
790
|
+
# * {Types::DescribeWorkspaceImagesResult#images #images} => Array<Types::WorkspaceImage>
|
791
|
+
# * {Types::DescribeWorkspaceImagesResult#next_token #next_token} => String
|
792
|
+
#
|
793
|
+
# @example Request syntax with placeholder values
|
794
|
+
#
|
795
|
+
# resp = client.describe_workspace_images({
|
796
|
+
# image_ids: ["WorkspaceImageId"],
|
797
|
+
# next_token: "PaginationToken",
|
798
|
+
# max_results: 1,
|
799
|
+
# })
|
800
|
+
#
|
801
|
+
# @example Response structure
|
802
|
+
#
|
803
|
+
# resp.images #=> Array
|
804
|
+
# resp.images[0].image_id #=> String
|
805
|
+
# resp.images[0].name #=> String
|
806
|
+
# resp.images[0].description #=> String
|
807
|
+
# resp.images[0].operating_system.type #=> String, one of "WINDOWS", "LINUX"
|
808
|
+
# resp.images[0].state #=> String, one of "AVAILABLE", "PENDING", "ERROR"
|
809
|
+
# resp.images[0].required_tenancy #=> String, one of "DEFAULT", "DEDICATED"
|
810
|
+
# resp.images[0].error_code #=> String
|
811
|
+
# resp.images[0].error_message #=> String
|
812
|
+
# resp.next_token #=> String
|
813
|
+
#
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImages AWS API Documentation
|
815
|
+
#
|
816
|
+
# @overload describe_workspace_images(params = {})
|
817
|
+
# @param [Hash] params ({})
|
818
|
+
def describe_workspace_images(params = {}, options = {})
|
819
|
+
req = build_request(:describe_workspace_images, params)
|
820
|
+
req.send_request(options)
|
821
|
+
end
|
822
|
+
|
667
823
|
# Describes the specified WorkSpaces.
|
668
824
|
#
|
669
|
-
# You can filter the results using bundle
|
670
|
-
# but you can specify only one filter at a time.
|
825
|
+
# You can filter the results by using the bundle identifier, directory
|
826
|
+
# identifier, or owner, but you can specify only one filter at a time.
|
671
827
|
#
|
672
828
|
# @option params [Array<String>] :workspace_ids
|
673
|
-
# The
|
674
|
-
# other filter.
|
829
|
+
# The identifiers of the WorkSpaces. You cannot combine this parameter
|
830
|
+
# with any other filter.
|
675
831
|
#
|
676
832
|
# Because the CreateWorkspaces operation is asynchronous, the identifier
|
677
833
|
# it returns is not immediately available. If you immediately call
|
678
834
|
# DescribeWorkspaces with this identifier, no information is returned.
|
679
835
|
#
|
680
836
|
# @option params [String] :directory_id
|
681
|
-
# The
|
682
|
-
# specific directory user (see `UserName`).
|
683
|
-
#
|
837
|
+
# The identifier of the directory. In addition, you can optionally
|
838
|
+
# specify a specific directory user (see `UserName`). You cannot combine
|
839
|
+
# this parameter with any other filter.
|
684
840
|
#
|
685
841
|
# @option params [String] :user_name
|
686
842
|
# The name of the directory user. You must specify this parameter with
|
687
843
|
# `DirectoryId`.
|
688
844
|
#
|
689
845
|
# @option params [String] :bundle_id
|
690
|
-
# The
|
691
|
-
# are retrieved.
|
692
|
-
# filter.
|
846
|
+
# The identifier of the bundle. All WorkSpaces that are created from
|
847
|
+
# this bundle are retrieved. You cannot combine this parameter with any
|
848
|
+
# other filter.
|
693
849
|
#
|
694
850
|
# @option params [Integer] :limit
|
695
851
|
# The maximum number of items to return.
|
696
852
|
#
|
697
853
|
# @option params [String] :next_token
|
698
|
-
#
|
699
|
-
#
|
854
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
855
|
+
# provide this token to receive the next set of results.
|
700
856
|
#
|
701
857
|
# @return [Types::DescribeWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
702
858
|
#
|
@@ -756,8 +912,8 @@ module Aws::WorkSpaces
|
|
756
912
|
# WorkSpaces.
|
757
913
|
#
|
758
914
|
# @option params [String] :next_token
|
759
|
-
#
|
760
|
-
#
|
915
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
916
|
+
# provide this token to receive the next set of results.
|
761
917
|
#
|
762
918
|
# @return [Types::DescribeWorkspacesConnectionStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
763
919
|
#
|
@@ -793,10 +949,10 @@ module Aws::WorkSpaces
|
|
793
949
|
# directory.
|
794
950
|
#
|
795
951
|
# @option params [required, String] :directory_id
|
796
|
-
# The
|
952
|
+
# The identifier of the directory.
|
797
953
|
#
|
798
954
|
# @option params [required, Array<String>] :group_ids
|
799
|
-
# The
|
955
|
+
# The identifiers of one or more IP access control groups.
|
800
956
|
#
|
801
957
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
802
958
|
#
|
@@ -816,10 +972,134 @@ module Aws::WorkSpaces
|
|
816
972
|
req.send_request(options)
|
817
973
|
end
|
818
974
|
|
975
|
+
# Imports the specified Windows 7 or Windows 10 bring your own license
|
976
|
+
# (BYOL) image into Amazon WorkSpaces. The image must be an already
|
977
|
+
# licensed EC2 image that is in your AWS account, and you must own the
|
978
|
+
# image.
|
979
|
+
#
|
980
|
+
# @option params [required, String] :ec2_image_id
|
981
|
+
# The identifier of the EC2 image.
|
982
|
+
#
|
983
|
+
# @option params [required, String] :ingestion_process
|
984
|
+
# The ingestion process to be used when importing the image.
|
985
|
+
#
|
986
|
+
# @option params [required, String] :image_name
|
987
|
+
# The name of the WorkSpace image.
|
988
|
+
#
|
989
|
+
# @option params [required, String] :image_description
|
990
|
+
# The description of the WorkSpace image.
|
991
|
+
#
|
992
|
+
# @return [Types::ImportWorkspaceImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
993
|
+
#
|
994
|
+
# * {Types::ImportWorkspaceImageResult#image_id #image_id} => String
|
995
|
+
#
|
996
|
+
# @example Request syntax with placeholder values
|
997
|
+
#
|
998
|
+
# resp = client.import_workspace_image({
|
999
|
+
# ec2_image_id: "Ec2ImageId", # required
|
1000
|
+
# ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO
|
1001
|
+
# image_name: "WorkspaceImageName", # required
|
1002
|
+
# image_description: "WorkspaceImageDescription", # required
|
1003
|
+
# })
|
1004
|
+
#
|
1005
|
+
# @example Response structure
|
1006
|
+
#
|
1007
|
+
# resp.image_id #=> String
|
1008
|
+
#
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImage AWS API Documentation
|
1010
|
+
#
|
1011
|
+
# @overload import_workspace_image(params = {})
|
1012
|
+
# @param [Hash] params ({})
|
1013
|
+
def import_workspace_image(params = {}, options = {})
|
1014
|
+
req = build_request(:import_workspace_image, params)
|
1015
|
+
req.send_request(options)
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks,
|
1019
|
+
# that you can use for the network management interface when you enable
|
1020
|
+
# bring your own license (BYOL).
|
1021
|
+
#
|
1022
|
+
# The management network interface is connected to a secure Amazon
|
1023
|
+
# WorkSpaces management network. It is used for interactive streaming of
|
1024
|
+
# the WorkSpace desktop to Amazon WorkSpaces clients, and to allow
|
1025
|
+
# Amazon WorkSpaces to manage the WorkSpace.
|
1026
|
+
#
|
1027
|
+
# @option params [required, String] :management_cidr_range_constraint
|
1028
|
+
# The IP address range to search. Specify an IP address range that is
|
1029
|
+
# compatible with your network and in CIDR notation (that is, specify
|
1030
|
+
# the range as an IPv4 CIDR block).
|
1031
|
+
#
|
1032
|
+
# @option params [Integer] :max_results
|
1033
|
+
# The maximum number of items to return.
|
1034
|
+
#
|
1035
|
+
# @option params [String] :next_token
|
1036
|
+
# If you received a `NextToken` from a previous call that was paginated,
|
1037
|
+
# provide this token to receive the next set of results.
|
1038
|
+
#
|
1039
|
+
# @return [Types::ListAvailableManagementCidrRangesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1040
|
+
#
|
1041
|
+
# * {Types::ListAvailableManagementCidrRangesResult#management_cidr_ranges #management_cidr_ranges} => Array<String>
|
1042
|
+
# * {Types::ListAvailableManagementCidrRangesResult#next_token #next_token} => String
|
1043
|
+
#
|
1044
|
+
# @example Request syntax with placeholder values
|
1045
|
+
#
|
1046
|
+
# resp = client.list_available_management_cidr_ranges({
|
1047
|
+
# management_cidr_range_constraint: "ManagementCidrRangeConstraint", # required
|
1048
|
+
# max_results: 1,
|
1049
|
+
# next_token: "PaginationToken",
|
1050
|
+
# })
|
1051
|
+
#
|
1052
|
+
# @example Response structure
|
1053
|
+
#
|
1054
|
+
# resp.management_cidr_ranges #=> Array
|
1055
|
+
# resp.management_cidr_ranges[0] #=> String
|
1056
|
+
# resp.next_token #=> String
|
1057
|
+
#
|
1058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRanges AWS API Documentation
|
1059
|
+
#
|
1060
|
+
# @overload list_available_management_cidr_ranges(params = {})
|
1061
|
+
# @param [Hash] params ({})
|
1062
|
+
def list_available_management_cidr_ranges(params = {}, options = {})
|
1063
|
+
req = build_request(:list_available_management_cidr_ranges, params)
|
1064
|
+
req.send_request(options)
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# Modifies the configuration of bring your own license (BYOL) for the
|
1068
|
+
# specified account.
|
1069
|
+
#
|
1070
|
+
# @option params [String] :dedicated_tenancy_support
|
1071
|
+
# The status of BYOL.
|
1072
|
+
#
|
1073
|
+
# @option params [String] :dedicated_tenancy_management_cidr_range
|
1074
|
+
# The IP address range, specified as an IPv4 CIDR block, for the
|
1075
|
+
# management network interface. Specify an IP address range that is
|
1076
|
+
# compatible with your network and in CIDR notation (that is, specify
|
1077
|
+
# the range as an IPv4 CIDR block). The CIDR block size must be /16 (for
|
1078
|
+
# example, 203.0.113.25/16). It must also be specified as available by
|
1079
|
+
# the `ListAvailableManagementCidrRanges` operation.
|
1080
|
+
#
|
1081
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1082
|
+
#
|
1083
|
+
# @example Request syntax with placeholder values
|
1084
|
+
#
|
1085
|
+
# resp = client.modify_account({
|
1086
|
+
# dedicated_tenancy_support: "ENABLED", # accepts ENABLED
|
1087
|
+
# dedicated_tenancy_management_cidr_range: "DedicatedTenancyManagementCidrRange",
|
1088
|
+
# })
|
1089
|
+
#
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccount AWS API Documentation
|
1091
|
+
#
|
1092
|
+
# @overload modify_account(params = {})
|
1093
|
+
# @param [Hash] params ({})
|
1094
|
+
def modify_account(params = {}, options = {})
|
1095
|
+
req = build_request(:modify_account, params)
|
1096
|
+
req.send_request(options)
|
1097
|
+
end
|
1098
|
+
|
819
1099
|
# Modifies the specified WorkSpace properties.
|
820
1100
|
#
|
821
1101
|
# @option params [required, String] :workspace_id
|
822
|
-
# The
|
1102
|
+
# The identifier of the WorkSpace.
|
823
1103
|
#
|
824
1104
|
# @option params [required, Types::WorkspaceProperties] :workspace_properties
|
825
1105
|
# The properties of the WorkSpace.
|
@@ -857,7 +1137,7 @@ module Aws::WorkSpaces
|
|
857
1137
|
# `ADMIN_MAINTENANCE` state.
|
858
1138
|
#
|
859
1139
|
# @option params [required, String] :workspace_id
|
860
|
-
# The
|
1140
|
+
# The identifier of the WorkSpace.
|
861
1141
|
#
|
862
1142
|
# @option params [required, String] :workspace_state
|
863
1143
|
# The WorkSpace state.
|
@@ -973,7 +1253,7 @@ module Aws::WorkSpaces
|
|
973
1253
|
# Removes one or more rules from the specified IP access control group.
|
974
1254
|
#
|
975
1255
|
# @option params [required, String] :group_id
|
976
|
-
# The
|
1256
|
+
# The identifier of the group.
|
977
1257
|
#
|
978
1258
|
# @option params [required, Array<String>] :user_rules
|
979
1259
|
# The rules to remove from the group.
|
@@ -1120,7 +1400,7 @@ module Aws::WorkSpaces
|
|
1120
1400
|
# with the specified rules.
|
1121
1401
|
#
|
1122
1402
|
# @option params [required, String] :group_id
|
1123
|
-
# The
|
1403
|
+
# The identifier of the group.
|
1124
1404
|
#
|
1125
1405
|
# @option params [required, Array<Types::IpRuleItem>] :user_rules
|
1126
1406
|
# One or more rules.
|
@@ -1161,7 +1441,7 @@ module Aws::WorkSpaces
|
|
1161
1441
|
params: params,
|
1162
1442
|
config: config)
|
1163
1443
|
context[:gem_name] = 'aws-sdk-workspaces'
|
1164
|
-
context[:gem_version] = '1.
|
1444
|
+
context[:gem_version] = '1.9.0'
|
1165
1445
|
Seahorse::Client::Request.new(handlers, context)
|
1166
1446
|
end
|
1167
1447
|
|