aws-sdk-workspaces 1.45.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-workspaces.rb +2 -1
- data/lib/aws-sdk-workspaces/client.rb +110 -16
- data/lib/aws-sdk-workspaces/types.rb +43 -8
- 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: 19009d2f85abbd493e2f1248e471ecee29d9b6553c9a7280b567d2017ca5c194
|
4
|
+
data.tar.gz: '08bb6ba9d697426a849b2cf2efc69aa24627331c52e507de2262856049e8057c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34091854a20e9dbb326acca6366fe04703fe14c61de774f493bbebf85ec06534541669ee88f7c324fd713b593a48c0cb8bdf01cacffbab0b3ea21d774818201c
|
7
|
+
data.tar.gz: 9d9c87c1558222a71d72e4e55a979ca405469235c70e7c9242af7baf78b82a99896916c09fce784560f61d4070a64beb7c7c0b7cab1df384916d2037a74d4327
|
data/lib/aws-sdk-workspaces.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-workspaces/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::WorkSpaces
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.50.0'
|
51
52
|
|
52
53
|
end
|
@@ -445,7 +445,28 @@ module Aws::WorkSpaces
|
|
445
445
|
end
|
446
446
|
|
447
447
|
# Copies the specified image from the specified Region to the current
|
448
|
-
# Region.
|
448
|
+
# Region. For more information about copying images, see [ Copy a Custom
|
449
|
+
# WorkSpaces Image][1].
|
450
|
+
#
|
451
|
+
# <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
|
452
|
+
# same Region.
|
453
|
+
#
|
454
|
+
# In the AWS GovCloud (US-West) Region, to copy images to and from other
|
455
|
+
# AWS Regions, contact AWS Support.
|
456
|
+
#
|
457
|
+
# </note>
|
458
|
+
#
|
459
|
+
# Before copying a shared image, be sure to verify that it has been
|
460
|
+
# shared from the correct AWS account. To determine if an image has been
|
461
|
+
# shared and to see the AWS account ID that owns an image, use the
|
462
|
+
# [DescribeWorkSpaceImages][2] and
|
463
|
+
# [DescribeWorkspaceImagePermissions][3] API operations.
|
464
|
+
#
|
465
|
+
#
|
466
|
+
#
|
467
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/copy-custom-image.html
|
468
|
+
# [2]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html
|
469
|
+
# [3]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImagePermissions.html
|
449
470
|
#
|
450
471
|
# @option params [required, String] :name
|
451
472
|
# The name of the image.
|
@@ -616,9 +637,7 @@ module Aws::WorkSpaces
|
|
616
637
|
# IP access control groups, and connection aliases.
|
617
638
|
#
|
618
639
|
# @option params [required, Array<Types::Tag>] :tags
|
619
|
-
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
620
|
-
# you want to add new tags to a set of existing tags, you must submit
|
621
|
-
# all of the existing tags along with the new ones.
|
640
|
+
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
622
641
|
#
|
623
642
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
624
643
|
#
|
@@ -860,6 +879,25 @@ module Aws::WorkSpaces
|
|
860
879
|
# WorkSpaces are registered to this directory, you must remove them
|
861
880
|
# before you can deregister the directory.
|
862
881
|
#
|
882
|
+
# <note markdown="1"> Simple AD and AD Connector are made available to you free of charge to
|
883
|
+
# use with WorkSpaces. If there are no WorkSpaces being used with your
|
884
|
+
# Simple AD or AD Connector directory for 30 consecutive days, this
|
885
|
+
# directory will be automatically deregistered for use with Amazon
|
886
|
+
# WorkSpaces, and you will be charged for this directory as per the [AWS
|
887
|
+
# Directory Services pricing terms][1].
|
888
|
+
#
|
889
|
+
# To delete empty directories, see [ Delete the Directory for Your
|
890
|
+
# WorkSpaces][2]. If you delete your Simple AD or AD Connector
|
891
|
+
# directory, you can always create a new one when you want to start
|
892
|
+
# using WorkSpaces again.
|
893
|
+
#
|
894
|
+
# </note>
|
895
|
+
#
|
896
|
+
#
|
897
|
+
#
|
898
|
+
# [1]: http://aws.amazon.com/directoryservice/pricing/
|
899
|
+
# [2]: https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html
|
900
|
+
#
|
863
901
|
# @option params [required, String] :directory_id
|
864
902
|
# The identifier of the directory. If any WorkSpaces are registered to
|
865
903
|
# this directory, you must remove them before you deregister the
|
@@ -1628,9 +1666,15 @@ module Aws::WorkSpaces
|
|
1628
1666
|
# The identifier of the EC2 image.
|
1629
1667
|
#
|
1630
1668
|
# @option params [required, String] :ingestion_process
|
1631
|
-
# The ingestion process to be used when importing the image
|
1632
|
-
#
|
1633
|
-
#
|
1669
|
+
# The ingestion process to be used when importing the image, depending
|
1670
|
+
# on which protocol you want to use for your BYOL Workspace image,
|
1671
|
+
# either PCoIP or WorkSpaces Streaming Protocol (WSP). To use WSP,
|
1672
|
+
# specify a value that ends in `_WSP`. To use PCoIP, specify a value
|
1673
|
+
# that does not end in `_WSP`.
|
1674
|
+
#
|
1675
|
+
# For non-GPU-enabled bundles (bundles other than Graphics or
|
1676
|
+
# GraphicsPro), specify `BYOL_REGULAR` or `BYOL_REGULAR_WSP`, depending
|
1677
|
+
# on the protocol.
|
1634
1678
|
#
|
1635
1679
|
# @option params [required, String] :image_name
|
1636
1680
|
# The name of the WorkSpace image.
|
@@ -1664,7 +1708,7 @@ module Aws::WorkSpaces
|
|
1664
1708
|
#
|
1665
1709
|
# resp = client.import_workspace_image({
|
1666
1710
|
# ec2_image_id: "Ec2ImageId", # required
|
1667
|
-
# ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO
|
1711
|
+
# ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO, BYOL_REGULAR_WSP
|
1668
1712
|
# image_name: "WorkspaceImageName", # required
|
1669
1713
|
# image_description: "WorkspaceImageDescription", # required
|
1670
1714
|
# tags: [
|
@@ -1693,6 +1737,10 @@ module Aws::WorkSpaces
|
|
1693
1737
|
# that you can use for the network management interface when you enable
|
1694
1738
|
# Bring Your Own License (BYOL).
|
1695
1739
|
#
|
1740
|
+
# This operation can be run only by AWS accounts that are enabled for
|
1741
|
+
# BYOL. If your account isn't enabled for BYOL, you'll receive an
|
1742
|
+
# `AccessDeniedException` error.
|
1743
|
+
#
|
1696
1744
|
# The management network interface is connected to a secure Amazon
|
1697
1745
|
# WorkSpaces management network. It is used for interactive streaming of
|
1698
1746
|
# the WorkSpace desktop to Amazon WorkSpaces clients, and to allow
|
@@ -2340,12 +2388,37 @@ module Aws::WorkSpaces
|
|
2340
2388
|
#
|
2341
2389
|
# Terminating a WorkSpace is a permanent action and cannot be undone.
|
2342
2390
|
# The user's data is destroyed. If you need to archive any user data,
|
2343
|
-
# contact
|
2391
|
+
# contact AWS Support before terminating the WorkSpace.
|
2344
2392
|
#
|
2345
2393
|
# You can terminate a WorkSpace that is in any state except `SUSPENDED`.
|
2346
2394
|
#
|
2347
2395
|
# This operation is asynchronous and returns before the WorkSpaces have
|
2348
|
-
# been completely terminated.
|
2396
|
+
# been completely terminated. After a WorkSpace is terminated, the
|
2397
|
+
# `TERMINATED` state is returned only briefly before the WorkSpace
|
2398
|
+
# directory metadata is cleaned up, so this state is rarely returned. To
|
2399
|
+
# confirm that a WorkSpace is terminated, check for the WorkSpace ID by
|
2400
|
+
# using [ DescribeWorkSpaces][1]. If the WorkSpace ID isn't returned,
|
2401
|
+
# then the WorkSpace has been successfully terminated.
|
2402
|
+
#
|
2403
|
+
# <note markdown="1"> Simple AD and AD Connector are made available to you free of charge to
|
2404
|
+
# use with WorkSpaces. If there are no WorkSpaces being used with your
|
2405
|
+
# Simple AD or AD Connector directory for 30 consecutive days, this
|
2406
|
+
# directory will be automatically deregistered for use with Amazon
|
2407
|
+
# WorkSpaces, and you will be charged for this directory as per the [AWS
|
2408
|
+
# Directory Services pricing terms][2].
|
2409
|
+
#
|
2410
|
+
# To delete empty directories, see [ Delete the Directory for Your
|
2411
|
+
# WorkSpaces][3]. If you delete your Simple AD or AD Connector
|
2412
|
+
# directory, you can always create a new one when you want to start
|
2413
|
+
# using WorkSpaces again.
|
2414
|
+
#
|
2415
|
+
# </note>
|
2416
|
+
#
|
2417
|
+
#
|
2418
|
+
#
|
2419
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html
|
2420
|
+
# [2]: http://aws.amazon.com/directoryservice/pricing/
|
2421
|
+
# [3]: https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html
|
2349
2422
|
#
|
2350
2423
|
# @option params [required, Array<Types::TerminateRequest>] :terminate_workspace_requests
|
2351
2424
|
# The WorkSpaces to terminate. You can specify up to 25 WorkSpaces.
|
@@ -2467,11 +2540,25 @@ module Aws::WorkSpaces
|
|
2467
2540
|
req.send_request(options)
|
2468
2541
|
end
|
2469
2542
|
|
2470
|
-
# Shares or unshares an image with one account
|
2471
|
-
# that account has permission to copy the image. If
|
2472
|
-
# permission is granted, the image is shared with that
|
2473
|
-
# copy image permission is revoked, the image is
|
2474
|
-
# account.
|
2543
|
+
# Shares or unshares an image with one account in the same AWS Region by
|
2544
|
+
# specifying whether that account has permission to copy the image. If
|
2545
|
+
# the copy image permission is granted, the image is shared with that
|
2546
|
+
# account. If the copy image permission is revoked, the image is
|
2547
|
+
# unshared with the account.
|
2548
|
+
#
|
2549
|
+
# After an image has been shared, the recipient account can copy the
|
2550
|
+
# image to other AWS Regions as needed.
|
2551
|
+
#
|
2552
|
+
# <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
|
2553
|
+
# same Region.
|
2554
|
+
#
|
2555
|
+
# In the AWS GovCloud (US-West) Region, to copy images to and from other
|
2556
|
+
# AWS Regions, contact AWS Support.
|
2557
|
+
#
|
2558
|
+
# </note>
|
2559
|
+
#
|
2560
|
+
# For more information about sharing images, see [ Share or Unshare a
|
2561
|
+
# Custom WorkSpaces Image][1].
|
2475
2562
|
#
|
2476
2563
|
# <note markdown="1"> * To delete an image that has been shared, you must unshare the image
|
2477
2564
|
# before you delete it.
|
@@ -2483,6 +2570,10 @@ module Aws::WorkSpaces
|
|
2483
2570
|
#
|
2484
2571
|
# </note>
|
2485
2572
|
#
|
2573
|
+
#
|
2574
|
+
#
|
2575
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html
|
2576
|
+
#
|
2486
2577
|
# @option params [required, String] :image_id
|
2487
2578
|
# The identifier of the image.
|
2488
2579
|
#
|
@@ -2493,6 +2584,9 @@ module Aws::WorkSpaces
|
|
2493
2584
|
# @option params [required, String] :shared_account_id
|
2494
2585
|
# The identifier of the AWS account to share or unshare the image with.
|
2495
2586
|
#
|
2587
|
+
# Before sharing the image, confirm that you are sharing to the correct
|
2588
|
+
# AWS account ID.
|
2589
|
+
#
|
2496
2590
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2497
2591
|
#
|
2498
2592
|
# @example Request syntax with placeholder values
|
@@ -2525,7 +2619,7 @@ module Aws::WorkSpaces
|
|
2525
2619
|
params: params,
|
2526
2620
|
config: config)
|
2527
2621
|
context[:gem_name] = 'aws-sdk-workspaces'
|
2528
|
-
context[:gem_version] = '1.
|
2622
|
+
context[:gem_version] = '1.50.0'
|
2529
2623
|
Seahorse::Client::Request.new(handlers, context)
|
2530
2624
|
end
|
2531
2625
|
|
@@ -529,9 +529,7 @@ module Aws::WorkSpaces
|
|
529
529
|
# @return [String]
|
530
530
|
#
|
531
531
|
# @!attribute [rw] tags
|
532
|
-
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
533
|
-
# you want to add new tags to a set of existing tags, you must submit
|
534
|
-
# all of the existing tags along with the new ones.
|
532
|
+
# The tags. Each WorkSpaces resource can have a maximum of 50 tags.
|
535
533
|
# @return [Array<Types::Tag>]
|
536
534
|
#
|
537
535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsRequest AWS API Documentation
|
@@ -1592,7 +1590,12 @@ module Aws::WorkSpaces
|
|
1592
1590
|
end
|
1593
1591
|
|
1594
1592
|
# Describes the AWS accounts that have been granted permission to use a
|
1595
|
-
# shared image.
|
1593
|
+
# shared image. For more information about sharing images, see [ Share
|
1594
|
+
# or Unshare a Custom WorkSpaces Image][1].
|
1595
|
+
#
|
1596
|
+
#
|
1597
|
+
#
|
1598
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html
|
1596
1599
|
#
|
1597
1600
|
# @!attribute [rw] shared_account_id
|
1598
1601
|
# The identifier of the AWS account that an image has been shared
|
@@ -1612,7 +1615,7 @@ module Aws::WorkSpaces
|
|
1612
1615
|
#
|
1613
1616
|
# {
|
1614
1617
|
# ec2_image_id: "Ec2ImageId", # required
|
1615
|
-
# ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO
|
1618
|
+
# ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO, BYOL_REGULAR_WSP
|
1616
1619
|
# image_name: "WorkspaceImageName", # required
|
1617
1620
|
# image_description: "WorkspaceImageDescription", # required
|
1618
1621
|
# tags: [
|
@@ -1629,9 +1632,15 @@ module Aws::WorkSpaces
|
|
1629
1632
|
# @return [String]
|
1630
1633
|
#
|
1631
1634
|
# @!attribute [rw] ingestion_process
|
1632
|
-
# The ingestion process to be used when importing the image
|
1633
|
-
#
|
1634
|
-
#
|
1635
|
+
# The ingestion process to be used when importing the image, depending
|
1636
|
+
# on which protocol you want to use for your BYOL Workspace image,
|
1637
|
+
# either PCoIP or WorkSpaces Streaming Protocol (WSP). To use WSP,
|
1638
|
+
# specify a value that ends in `_WSP`. To use PCoIP, specify a value
|
1639
|
+
# that does not end in `_WSP`.
|
1640
|
+
#
|
1641
|
+
# For non-GPU-enabled bundles (bundles other than Graphics or
|
1642
|
+
# GraphicsPro), specify `BYOL_REGULAR` or `BYOL_REGULAR_WSP`,
|
1643
|
+
# depending on the protocol.
|
1635
1644
|
# @return [String]
|
1636
1645
|
#
|
1637
1646
|
# @!attribute [rw] image_name
|
@@ -2879,6 +2888,9 @@ module Aws::WorkSpaces
|
|
2879
2888
|
# @!attribute [rw] shared_account_id
|
2880
2889
|
# The identifier of the AWS account to share or unshare the image
|
2881
2890
|
# with.
|
2891
|
+
#
|
2892
|
+
# Before sharing the image, confirm that you are sharing to the
|
2893
|
+
# correct AWS account ID.
|
2882
2894
|
# @return [String]
|
2883
2895
|
#
|
2884
2896
|
# @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermissionRequest AWS API Documentation
|
@@ -2930,6 +2942,19 @@ module Aws::WorkSpaces
|
|
2930
2942
|
#
|
2931
2943
|
# @!attribute [rw] state
|
2932
2944
|
# The operational state of the WorkSpace.
|
2945
|
+
#
|
2946
|
+
# <note markdown="1"> After a WorkSpace is terminated, the `TERMINATED` state is returned
|
2947
|
+
# only briefly before the WorkSpace directory metadata is cleaned up,
|
2948
|
+
# so this state is rarely returned. To confirm that a WorkSpace is
|
2949
|
+
# terminated, check for the WorkSpace ID by using [
|
2950
|
+
# DescribeWorkSpaces][1]. If the WorkSpace ID isn't returned, then
|
2951
|
+
# the WorkSpace has been successfully terminated.
|
2952
|
+
#
|
2953
|
+
# </note>
|
2954
|
+
#
|
2955
|
+
#
|
2956
|
+
#
|
2957
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html
|
2933
2958
|
# @return [String]
|
2934
2959
|
#
|
2935
2960
|
# @!attribute [rw] bundle_id
|
@@ -3325,6 +3350,16 @@ module Aws::WorkSpaces
|
|
3325
3350
|
#
|
3326
3351
|
# @!attribute [rw] state
|
3327
3352
|
# The state of the directory's registration with Amazon WorkSpaces.
|
3353
|
+
# After a directory is deregistered, the `DEREGISTERED` state is
|
3354
|
+
# returned very briefly before the directory metadata is cleaned up,
|
3355
|
+
# so this state is rarely returned. To confirm that a directory is
|
3356
|
+
# deregistered, check for the directory ID by using [
|
3357
|
+
# DescribeWorkspaceDirectories][1]. If the directory ID isn't
|
3358
|
+
# returned, then the directory has been successfully deregistered.
|
3359
|
+
#
|
3360
|
+
#
|
3361
|
+
#
|
3362
|
+
# [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceDirectories.html
|
3328
3363
|
# @return [String]
|
3329
3364
|
#
|
3330
3365
|
# @!attribute [rw] workspace_creation_properties
|
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.
|
4
|
+
version: 1.50.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:
|
11
|
+
date: 2021-02-02 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.
|
22
|
+
version: 3.112.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.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|