aws-sdk-workspacesweb 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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspacesweb/client.rb +307 -1
- data/lib/aws-sdk-workspacesweb/client_api.rb +198 -0
- data/lib/aws-sdk-workspacesweb/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-workspacesweb/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-workspacesweb/endpoints.rb +98 -0
- data/lib/aws-sdk-workspacesweb/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-workspacesweb/types.rb +345 -0
- data/lib/aws-sdk-workspacesweb.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3b6483c6d0b64283851e862234e85f78a70714f9294f4289fa1e42ff24dd542
|
4
|
+
data.tar.gz: 71cd381615fa0d1e4c03968bd97156deadb29f56d0e6d09544f212c435fc8fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42f789cc197ed2f4f89aa0cf3017e529d20770fc66e2720fdb44446b35f0f7a4bee3898a8affc043f8acd45abb1e010df4202faaa9a56d1a2f27d307c40b8fb8
|
7
|
+
data.tar.gz: e5882e70a86b54ee41b691981afc821a72211ab8126537e5d5fa45971431c826ed801fdcf573b387dc699d6a0dd40fc190ad78714d05b89332d346e4d42a1e24
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -275,6 +275,11 @@ module Aws::WorkSpacesWeb
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -402,6 +407,40 @@ module Aws::WorkSpacesWeb
|
|
402
407
|
req.send_request(options)
|
403
408
|
end
|
404
409
|
|
410
|
+
# Associates an IP access settings resource with a web portal.
|
411
|
+
#
|
412
|
+
# @option params [required, String] :ip_access_settings_arn
|
413
|
+
# The ARN of the IP access settings.
|
414
|
+
#
|
415
|
+
# @option params [required, String] :portal_arn
|
416
|
+
# The ARN of the web portal.
|
417
|
+
#
|
418
|
+
# @return [Types::AssociateIpAccessSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
419
|
+
#
|
420
|
+
# * {Types::AssociateIpAccessSettingsResponse#ip_access_settings_arn #ip_access_settings_arn} => String
|
421
|
+
# * {Types::AssociateIpAccessSettingsResponse#portal_arn #portal_arn} => String
|
422
|
+
#
|
423
|
+
# @example Request syntax with placeholder values
|
424
|
+
#
|
425
|
+
# resp = client.associate_ip_access_settings({
|
426
|
+
# ip_access_settings_arn: "ARN", # required
|
427
|
+
# portal_arn: "ARN", # required
|
428
|
+
# })
|
429
|
+
#
|
430
|
+
# @example Response structure
|
431
|
+
#
|
432
|
+
# resp.ip_access_settings_arn #=> String
|
433
|
+
# resp.portal_arn #=> String
|
434
|
+
#
|
435
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateIpAccessSettings AWS API Documentation
|
436
|
+
#
|
437
|
+
# @overload associate_ip_access_settings(params = {})
|
438
|
+
# @param [Hash] params ({})
|
439
|
+
def associate_ip_access_settings(params = {}, options = {})
|
440
|
+
req = build_request(:associate_ip_access_settings, params)
|
441
|
+
req.send_request(options)
|
442
|
+
end
|
443
|
+
|
405
444
|
# Associates a network settings resource with a web portal.
|
406
445
|
#
|
407
446
|
# @option params [required, String] :network_settings_arn
|
@@ -722,6 +761,82 @@ module Aws::WorkSpacesWeb
|
|
722
761
|
req.send_request(options)
|
723
762
|
end
|
724
763
|
|
764
|
+
# Creates an IP access settings resource that can be associated with a
|
765
|
+
# web portal.
|
766
|
+
#
|
767
|
+
# @option params [Hash<String,String>] :additional_encryption_context
|
768
|
+
# Additional encryption context of the IP access settings.
|
769
|
+
#
|
770
|
+
# @option params [String] :client_token
|
771
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
772
|
+
# idempotency of the request. Idempotency ensures that an API request
|
773
|
+
# completes only once. With an idempotent request, if the original
|
774
|
+
# request completes successfully, subsequent retries with the same
|
775
|
+
# client token returns the result from the original successful request.
|
776
|
+
#
|
777
|
+
# If you do not specify a client token, one is automatically generated
|
778
|
+
# by the AWS SDK.
|
779
|
+
#
|
780
|
+
# **A suitable default value is auto-generated.** You should normally
|
781
|
+
# not need to pass this option.**
|
782
|
+
#
|
783
|
+
# @option params [String] :customer_managed_key
|
784
|
+
# The custom managed key of the IP access settings.
|
785
|
+
#
|
786
|
+
# @option params [String] :description
|
787
|
+
# The description of the IP access settings.
|
788
|
+
#
|
789
|
+
# @option params [String] :display_name
|
790
|
+
# The display name of the IP access settings.
|
791
|
+
#
|
792
|
+
# @option params [required, Array<Types::IpRule>] :ip_rules
|
793
|
+
# The IP rules of the IP access settings.
|
794
|
+
#
|
795
|
+
# @option params [Array<Types::Tag>] :tags
|
796
|
+
# The tags to add to the browser settings resource. A tag is a key-value
|
797
|
+
# pair.
|
798
|
+
#
|
799
|
+
# @return [Types::CreateIpAccessSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
800
|
+
#
|
801
|
+
# * {Types::CreateIpAccessSettingsResponse#ip_access_settings_arn #ip_access_settings_arn} => String
|
802
|
+
#
|
803
|
+
# @example Request syntax with placeholder values
|
804
|
+
#
|
805
|
+
# resp = client.create_ip_access_settings({
|
806
|
+
# additional_encryption_context: {
|
807
|
+
# "StringType" => "StringType",
|
808
|
+
# },
|
809
|
+
# client_token: "ClientToken",
|
810
|
+
# customer_managed_key: "keyArn",
|
811
|
+
# description: "Description",
|
812
|
+
# display_name: "DisplayName",
|
813
|
+
# ip_rules: [ # required
|
814
|
+
# {
|
815
|
+
# description: "Description",
|
816
|
+
# ip_range: "IpRange", # required
|
817
|
+
# },
|
818
|
+
# ],
|
819
|
+
# tags: [
|
820
|
+
# {
|
821
|
+
# key: "TagKey", # required
|
822
|
+
# value: "TagValue", # required
|
823
|
+
# },
|
824
|
+
# ],
|
825
|
+
# })
|
826
|
+
#
|
827
|
+
# @example Response structure
|
828
|
+
#
|
829
|
+
# resp.ip_access_settings_arn #=> String
|
830
|
+
#
|
831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateIpAccessSettings AWS API Documentation
|
832
|
+
#
|
833
|
+
# @overload create_ip_access_settings(params = {})
|
834
|
+
# @param [Hash] params ({})
|
835
|
+
def create_ip_access_settings(params = {}, options = {})
|
836
|
+
req = build_request(:create_ip_access_settings, params)
|
837
|
+
req.send_request(options)
|
838
|
+
end
|
839
|
+
|
725
840
|
# Creates a network settings resource that can be associated with a web
|
726
841
|
# portal. Once associated with a web portal, network settings define how
|
727
842
|
# streaming instances will connect with your specified VPC.
|
@@ -1109,6 +1224,28 @@ module Aws::WorkSpacesWeb
|
|
1109
1224
|
req.send_request(options)
|
1110
1225
|
end
|
1111
1226
|
|
1227
|
+
# Deletes IP access settings.
|
1228
|
+
#
|
1229
|
+
# @option params [required, String] :ip_access_settings_arn
|
1230
|
+
# The ARN of the IP access settings.
|
1231
|
+
#
|
1232
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1233
|
+
#
|
1234
|
+
# @example Request syntax with placeholder values
|
1235
|
+
#
|
1236
|
+
# resp = client.delete_ip_access_settings({
|
1237
|
+
# ip_access_settings_arn: "ARN", # required
|
1238
|
+
# })
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteIpAccessSettings AWS API Documentation
|
1241
|
+
#
|
1242
|
+
# @overload delete_ip_access_settings(params = {})
|
1243
|
+
# @param [Hash] params ({})
|
1244
|
+
def delete_ip_access_settings(params = {}, options = {})
|
1245
|
+
req = build_request(:delete_ip_access_settings, params)
|
1246
|
+
req.send_request(options)
|
1247
|
+
end
|
1248
|
+
|
1112
1249
|
# Deletes network settings.
|
1113
1250
|
#
|
1114
1251
|
# @option params [required, String] :network_settings_arn
|
@@ -1241,6 +1378,28 @@ module Aws::WorkSpacesWeb
|
|
1241
1378
|
req.send_request(options)
|
1242
1379
|
end
|
1243
1380
|
|
1381
|
+
# Disassociates IP access settings from a web portal.
|
1382
|
+
#
|
1383
|
+
# @option params [required, String] :portal_arn
|
1384
|
+
# The ARN of the web portal.
|
1385
|
+
#
|
1386
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1387
|
+
#
|
1388
|
+
# @example Request syntax with placeholder values
|
1389
|
+
#
|
1390
|
+
# resp = client.disassociate_ip_access_settings({
|
1391
|
+
# portal_arn: "ARN", # required
|
1392
|
+
# })
|
1393
|
+
#
|
1394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateIpAccessSettings AWS API Documentation
|
1395
|
+
#
|
1396
|
+
# @overload disassociate_ip_access_settings(params = {})
|
1397
|
+
# @param [Hash] params ({})
|
1398
|
+
def disassociate_ip_access_settings(params = {}, options = {})
|
1399
|
+
req = build_request(:disassociate_ip_access_settings, params)
|
1400
|
+
req.send_request(options)
|
1401
|
+
end
|
1402
|
+
|
1244
1403
|
# Disassociates network settings from a web portal.
|
1245
1404
|
#
|
1246
1405
|
# @option params [required, String] :portal_arn
|
@@ -1392,6 +1551,42 @@ module Aws::WorkSpacesWeb
|
|
1392
1551
|
req.send_request(options)
|
1393
1552
|
end
|
1394
1553
|
|
1554
|
+
# Gets the IP access settings.
|
1555
|
+
#
|
1556
|
+
# @option params [required, String] :ip_access_settings_arn
|
1557
|
+
# The ARN of the IP access settings.
|
1558
|
+
#
|
1559
|
+
# @return [Types::GetIpAccessSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1560
|
+
#
|
1561
|
+
# * {Types::GetIpAccessSettingsResponse#ip_access_settings #ip_access_settings} => Types::IpAccessSettings
|
1562
|
+
#
|
1563
|
+
# @example Request syntax with placeholder values
|
1564
|
+
#
|
1565
|
+
# resp = client.get_ip_access_settings({
|
1566
|
+
# ip_access_settings_arn: "ARN", # required
|
1567
|
+
# })
|
1568
|
+
#
|
1569
|
+
# @example Response structure
|
1570
|
+
#
|
1571
|
+
# resp.ip_access_settings.associated_portal_arns #=> Array
|
1572
|
+
# resp.ip_access_settings.associated_portal_arns[0] #=> String
|
1573
|
+
# resp.ip_access_settings.creation_date #=> Time
|
1574
|
+
# resp.ip_access_settings.description #=> String
|
1575
|
+
# resp.ip_access_settings.display_name #=> String
|
1576
|
+
# resp.ip_access_settings.ip_access_settings_arn #=> String
|
1577
|
+
# resp.ip_access_settings.ip_rules #=> Array
|
1578
|
+
# resp.ip_access_settings.ip_rules[0].description #=> String
|
1579
|
+
# resp.ip_access_settings.ip_rules[0].ip_range #=> String
|
1580
|
+
#
|
1581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetIpAccessSettings AWS API Documentation
|
1582
|
+
#
|
1583
|
+
# @overload get_ip_access_settings(params = {})
|
1584
|
+
# @param [Hash] params ({})
|
1585
|
+
def get_ip_access_settings(params = {}, options = {})
|
1586
|
+
req = build_request(:get_ip_access_settings, params)
|
1587
|
+
req.send_request(options)
|
1588
|
+
end
|
1589
|
+
|
1395
1590
|
# Gets the network settings.
|
1396
1591
|
#
|
1397
1592
|
# @option params [required, String] :network_settings_arn
|
@@ -1449,6 +1644,7 @@ module Aws::WorkSpacesWeb
|
|
1449
1644
|
# resp.portal.browser_type #=> String, one of "Chrome"
|
1450
1645
|
# resp.portal.creation_date #=> Time
|
1451
1646
|
# resp.portal.display_name #=> String
|
1647
|
+
# resp.portal.ip_access_settings_arn #=> String
|
1452
1648
|
# resp.portal.network_settings_arn #=> String
|
1453
1649
|
# resp.portal.portal_arn #=> String
|
1454
1650
|
# resp.portal.portal_endpoint #=> String
|
@@ -1717,6 +1913,47 @@ module Aws::WorkSpacesWeb
|
|
1717
1913
|
req.send_request(options)
|
1718
1914
|
end
|
1719
1915
|
|
1916
|
+
# Retrieves a list of IP access settings.
|
1917
|
+
#
|
1918
|
+
# @option params [Integer] :max_results
|
1919
|
+
# The maximum number of results to be included in the next page.
|
1920
|
+
#
|
1921
|
+
# @option params [String] :next_token
|
1922
|
+
# The pagination token used to retrieve the next page of results for
|
1923
|
+
# this operation.
|
1924
|
+
#
|
1925
|
+
# @return [Types::ListIpAccessSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1926
|
+
#
|
1927
|
+
# * {Types::ListIpAccessSettingsResponse#ip_access_settings #ip_access_settings} => Array<Types::IpAccessSettingsSummary>
|
1928
|
+
# * {Types::ListIpAccessSettingsResponse#next_token #next_token} => String
|
1929
|
+
#
|
1930
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1931
|
+
#
|
1932
|
+
# @example Request syntax with placeholder values
|
1933
|
+
#
|
1934
|
+
# resp = client.list_ip_access_settings({
|
1935
|
+
# max_results: 1,
|
1936
|
+
# next_token: "PaginationToken",
|
1937
|
+
# })
|
1938
|
+
#
|
1939
|
+
# @example Response structure
|
1940
|
+
#
|
1941
|
+
# resp.ip_access_settings #=> Array
|
1942
|
+
# resp.ip_access_settings[0].creation_date #=> Time
|
1943
|
+
# resp.ip_access_settings[0].description #=> String
|
1944
|
+
# resp.ip_access_settings[0].display_name #=> String
|
1945
|
+
# resp.ip_access_settings[0].ip_access_settings_arn #=> String
|
1946
|
+
# resp.next_token #=> String
|
1947
|
+
#
|
1948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListIpAccessSettings AWS API Documentation
|
1949
|
+
#
|
1950
|
+
# @overload list_ip_access_settings(params = {})
|
1951
|
+
# @param [Hash] params ({})
|
1952
|
+
def list_ip_access_settings(params = {}, options = {})
|
1953
|
+
req = build_request(:list_ip_access_settings, params)
|
1954
|
+
req.send_request(options)
|
1955
|
+
end
|
1956
|
+
|
1720
1957
|
# Retrieves a list of network settings.
|
1721
1958
|
#
|
1722
1959
|
# @option params [Integer] :max_results
|
@@ -1788,6 +2025,7 @@ module Aws::WorkSpacesWeb
|
|
1788
2025
|
# resp.portals[0].browser_type #=> String, one of "Chrome"
|
1789
2026
|
# resp.portals[0].creation_date #=> Time
|
1790
2027
|
# resp.portals[0].display_name #=> String
|
2028
|
+
# resp.portals[0].ip_access_settings_arn #=> String
|
1791
2029
|
# resp.portals[0].network_settings_arn #=> String
|
1792
2030
|
# resp.portals[0].portal_arn #=> String
|
1793
2031
|
# resp.portals[0].portal_endpoint #=> String
|
@@ -2248,6 +2486,73 @@ module Aws::WorkSpacesWeb
|
|
2248
2486
|
req.send_request(options)
|
2249
2487
|
end
|
2250
2488
|
|
2489
|
+
# Updates IP access settings.
|
2490
|
+
#
|
2491
|
+
# @option params [String] :client_token
|
2492
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
2493
|
+
# idempotency of the request. Idempotency ensures that an API request
|
2494
|
+
# completes only once. With an idempotent request, if the original
|
2495
|
+
# request completes successfully, subsequent retries with the same
|
2496
|
+
# client token return the result from the original successful request.
|
2497
|
+
#
|
2498
|
+
# If you do not specify a client token, one is automatically generated
|
2499
|
+
# by the AWS SDK.
|
2500
|
+
#
|
2501
|
+
# **A suitable default value is auto-generated.** You should normally
|
2502
|
+
# not need to pass this option.**
|
2503
|
+
#
|
2504
|
+
# @option params [String] :description
|
2505
|
+
# The description of the IP access settings.
|
2506
|
+
#
|
2507
|
+
# @option params [String] :display_name
|
2508
|
+
# The display name of the IP access settings.
|
2509
|
+
#
|
2510
|
+
# @option params [required, String] :ip_access_settings_arn
|
2511
|
+
# The ARN of the IP access settings.
|
2512
|
+
#
|
2513
|
+
# @option params [Array<Types::IpRule>] :ip_rules
|
2514
|
+
# The updated IP rules of the IP access settings.
|
2515
|
+
#
|
2516
|
+
# @return [Types::UpdateIpAccessSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2517
|
+
#
|
2518
|
+
# * {Types::UpdateIpAccessSettingsResponse#ip_access_settings #ip_access_settings} => Types::IpAccessSettings
|
2519
|
+
#
|
2520
|
+
# @example Request syntax with placeholder values
|
2521
|
+
#
|
2522
|
+
# resp = client.update_ip_access_settings({
|
2523
|
+
# client_token: "ClientToken",
|
2524
|
+
# description: "Description",
|
2525
|
+
# display_name: "DisplayName",
|
2526
|
+
# ip_access_settings_arn: "ARN", # required
|
2527
|
+
# ip_rules: [
|
2528
|
+
# {
|
2529
|
+
# description: "Description",
|
2530
|
+
# ip_range: "IpRange", # required
|
2531
|
+
# },
|
2532
|
+
# ],
|
2533
|
+
# })
|
2534
|
+
#
|
2535
|
+
# @example Response structure
|
2536
|
+
#
|
2537
|
+
# resp.ip_access_settings.associated_portal_arns #=> Array
|
2538
|
+
# resp.ip_access_settings.associated_portal_arns[0] #=> String
|
2539
|
+
# resp.ip_access_settings.creation_date #=> Time
|
2540
|
+
# resp.ip_access_settings.description #=> String
|
2541
|
+
# resp.ip_access_settings.display_name #=> String
|
2542
|
+
# resp.ip_access_settings.ip_access_settings_arn #=> String
|
2543
|
+
# resp.ip_access_settings.ip_rules #=> Array
|
2544
|
+
# resp.ip_access_settings.ip_rules[0].description #=> String
|
2545
|
+
# resp.ip_access_settings.ip_rules[0].ip_range #=> String
|
2546
|
+
#
|
2547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateIpAccessSettings AWS API Documentation
|
2548
|
+
#
|
2549
|
+
# @overload update_ip_access_settings(params = {})
|
2550
|
+
# @param [Hash] params ({})
|
2551
|
+
def update_ip_access_settings(params = {}, options = {})
|
2552
|
+
req = build_request(:update_ip_access_settings, params)
|
2553
|
+
req.send_request(options)
|
2554
|
+
end
|
2555
|
+
|
2251
2556
|
# Updates network settings.
|
2252
2557
|
#
|
2253
2558
|
# @option params [String] :client_token
|
@@ -2357,6 +2662,7 @@ module Aws::WorkSpacesWeb
|
|
2357
2662
|
# resp.portal.browser_type #=> String, one of "Chrome"
|
2358
2663
|
# resp.portal.creation_date #=> Time
|
2359
2664
|
# resp.portal.display_name #=> String
|
2665
|
+
# resp.portal.ip_access_settings_arn #=> String
|
2360
2666
|
# resp.portal.network_settings_arn #=> String
|
2361
2667
|
# resp.portal.portal_arn #=> String
|
2362
2668
|
# resp.portal.portal_endpoint #=> String
|
@@ -2574,7 +2880,7 @@ module Aws::WorkSpacesWeb
|
|
2574
2880
|
params: params,
|
2575
2881
|
config: config)
|
2576
2882
|
context[:gem_name] = 'aws-sdk-workspacesweb'
|
2577
|
-
context[:gem_version] = '1.
|
2883
|
+
context[:gem_version] = '1.9.0'
|
2578
2884
|
Seahorse::Client::Request.new(handlers, context)
|
2579
2885
|
end
|
2580
2886
|
|