aws-sdk-workspaces 1.47.0 → 1.52.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -212,7 +212,14 @@ module Aws::WorkSpaces
212
212
  include Aws::Structure
213
213
  end
214
214
 
215
- # Describes the compute type.
215
+ # Describes the compute type of the bundle.
216
+ #
217
+ # @note When making an API call, you may pass ComputeType
218
+ # data as a hash:
219
+ #
220
+ # {
221
+ # name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO
222
+ # }
216
223
  #
217
224
  # @!attribute [rw] name
218
225
  # The compute type.
@@ -529,9 +536,7 @@ module Aws::WorkSpaces
529
536
  # @return [String]
530
537
  #
531
538
  # @!attribute [rw] tags
532
- # The tags. Each WorkSpaces resource can have a maximum of 50 tags. If
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.
539
+ # The tags. Each WorkSpaces resource can have a maximum of 50 tags.
535
540
  # @return [Array<Types::Tag>]
536
541
  #
537
542
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsRequest AWS API Documentation
@@ -547,6 +552,90 @@ module Aws::WorkSpaces
547
552
  #
548
553
  class CreateTagsResult < Aws::EmptyStructure; end
549
554
 
555
+ # @note When making an API call, you may pass CreateWorkspaceBundleRequest
556
+ # data as a hash:
557
+ #
558
+ # {
559
+ # bundle_name: "WorkspaceBundleName", # required
560
+ # bundle_description: "WorkspaceBundleDescription", # required
561
+ # image_id: "WorkspaceImageId", # required
562
+ # compute_type: { # required
563
+ # name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO
564
+ # },
565
+ # user_storage: { # required
566
+ # capacity: "NonEmptyString",
567
+ # },
568
+ # root_storage: {
569
+ # capacity: "NonEmptyString",
570
+ # },
571
+ # tags: [
572
+ # {
573
+ # key: "TagKey", # required
574
+ # value: "TagValue",
575
+ # },
576
+ # ],
577
+ # }
578
+ #
579
+ # @!attribute [rw] bundle_name
580
+ # The name of the bundle.
581
+ # @return [String]
582
+ #
583
+ # @!attribute [rw] bundle_description
584
+ # The description of the bundle.
585
+ # @return [String]
586
+ #
587
+ # @!attribute [rw] image_id
588
+ # The identifier of the image that is used to create the bundle.
589
+ # @return [String]
590
+ #
591
+ # @!attribute [rw] compute_type
592
+ # Describes the compute type of the bundle.
593
+ # @return [Types::ComputeType]
594
+ #
595
+ # @!attribute [rw] user_storage
596
+ # Describes the user volume for a WorkSpace bundle.
597
+ # @return [Types::UserStorage]
598
+ #
599
+ # @!attribute [rw] root_storage
600
+ # Describes the root volume for a WorkSpace bundle.
601
+ # @return [Types::RootStorage]
602
+ #
603
+ # @!attribute [rw] tags
604
+ # The tags associated with the bundle.
605
+ #
606
+ # <note markdown="1"> To add tags at the same time that you're creating the bundle, you
607
+ # must create an IAM policy that grants your IAM user permissions to
608
+ # use `workspaces:CreateTags`.
609
+ #
610
+ # </note>
611
+ # @return [Array<Types::Tag>]
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundleRequest AWS API Documentation
614
+ #
615
+ class CreateWorkspaceBundleRequest < Struct.new(
616
+ :bundle_name,
617
+ :bundle_description,
618
+ :image_id,
619
+ :compute_type,
620
+ :user_storage,
621
+ :root_storage,
622
+ :tags)
623
+ SENSITIVE = []
624
+ include Aws::Structure
625
+ end
626
+
627
+ # @!attribute [rw] workspace_bundle
628
+ # Describes a WorkSpace bundle.
629
+ # @return [Types::WorkspaceBundle]
630
+ #
631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundleResult AWS API Documentation
632
+ #
633
+ class CreateWorkspaceBundleResult < Struct.new(
634
+ :workspace_bundle)
635
+ SENSITIVE = []
636
+ include Aws::Structure
637
+ end
638
+
550
639
  # @note When making an API call, you may pass CreateWorkspacesRequest
551
640
  # data as a hash:
552
641
  #
@@ -759,6 +848,29 @@ module Aws::WorkSpaces
759
848
  #
760
849
  class DeleteTagsResult < Aws::EmptyStructure; end
761
850
 
851
+ # @note When making an API call, you may pass DeleteWorkspaceBundleRequest
852
+ # data as a hash:
853
+ #
854
+ # {
855
+ # bundle_id: "BundleId",
856
+ # }
857
+ #
858
+ # @!attribute [rw] bundle_id
859
+ # The identifier of the bundle.
860
+ # @return [String]
861
+ #
862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundleRequest AWS API Documentation
863
+ #
864
+ class DeleteWorkspaceBundleRequest < Struct.new(
865
+ :bundle_id)
866
+ SENSITIVE = []
867
+ include Aws::Structure
868
+ end
869
+
870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundleResult AWS API Documentation
871
+ #
872
+ class DeleteWorkspaceBundleResult < Aws::EmptyStructure; end
873
+
762
874
  # @note When making an API call, you may pass DeleteWorkspaceImageRequest
763
875
  # data as a hash:
764
876
  #
@@ -833,8 +945,8 @@ module Aws::WorkSpaces
833
945
  # @return [Array<Types::AccountModification>]
834
946
  #
835
947
  # @!attribute [rw] next_token
836
- # The token to use to retrieve the next set of results, or null if no
837
- # more results are available.
948
+ # The token to use to retrieve the next page of results. This value is
949
+ # null when there are no more results to return.
838
950
  # @return [String]
839
951
  #
840
952
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModificationsResult AWS API Documentation
@@ -947,8 +1059,8 @@ module Aws::WorkSpaces
947
1059
  # @return [Array<Types::ConnectionAliasPermission>]
948
1060
  #
949
1061
  # @!attribute [rw] next_token
950
- # The token to use to retrieve the next set of results, or null if no
951
- # more results are available.
1062
+ # The token to use to retrieve the next page of results. This value is
1063
+ # null when there are no more results to return.
952
1064
  # @return [String]
953
1065
  #
954
1066
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliasPermissionsResult AWS API Documentation
@@ -1005,8 +1117,8 @@ module Aws::WorkSpaces
1005
1117
  # @return [Array<Types::ConnectionAlias>]
1006
1118
  #
1007
1119
  # @!attribute [rw] next_token
1008
- # The token to use to retrieve the next set of results, or null if no
1009
- # more results are available.
1120
+ # The token to use to retrieve the next page of results. This value is
1121
+ # null when there are no more results to return.
1010
1122
  # @return [String]
1011
1123
  #
1012
1124
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliasesResult AWS API Documentation
@@ -1055,8 +1167,8 @@ module Aws::WorkSpaces
1055
1167
  # @return [Array<Types::WorkspacesIpGroup>]
1056
1168
  #
1057
1169
  # @!attribute [rw] next_token
1058
- # The token to use to retrieve the next set of results, or null if no
1059
- # more results are available.
1170
+ # The token to use to retrieve the next page of results. This value is
1171
+ # null when there are no more results to return.
1060
1172
  # @return [String]
1061
1173
  #
1062
1174
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeIpGroupsResult AWS API Documentation
@@ -1119,8 +1231,9 @@ module Aws::WorkSpaces
1119
1231
  # The owner of the bundles. You cannot combine this parameter with any
1120
1232
  # other filter.
1121
1233
  #
1122
- # Specify `AMAZON` to describe the bundles provided by AWS or null to
1123
- # describe the bundles that belong to your account.
1234
+ # To describe the bundles provided by AWS, specify `AMAZON`. To
1235
+ # describe the bundles that belong to your account, don't specify a
1236
+ # value.
1124
1237
  # @return [String]
1125
1238
  #
1126
1239
  # @!attribute [rw] next_token
@@ -1143,9 +1256,9 @@ module Aws::WorkSpaces
1143
1256
  # @return [Array<Types::WorkspaceBundle>]
1144
1257
  #
1145
1258
  # @!attribute [rw] next_token
1146
- # The token to use to retrieve the next set of results, or null if
1147
- # there are no more results available. This token is valid for one day
1148
- # and must be used within that time frame.
1259
+ # The token to use to retrieve the next page of results. This value is
1260
+ # null when there are no more results to return. This token is valid
1261
+ # for one day and must be used within that time frame.
1149
1262
  # @return [String]
1150
1263
  #
1151
1264
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesResult AWS API Documentation
@@ -1195,8 +1308,8 @@ module Aws::WorkSpaces
1195
1308
  # @return [Array<Types::WorkspaceDirectory>]
1196
1309
  #
1197
1310
  # @!attribute [rw] next_token
1198
- # The token to use to retrieve the next set of results, or null if no
1199
- # more results are available.
1311
+ # The token to use to retrieve the next page of results. This value is
1312
+ # null when there are no more results to return.
1200
1313
  # @return [String]
1201
1314
  #
1202
1315
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesResult AWS API Documentation
@@ -1250,8 +1363,8 @@ module Aws::WorkSpaces
1250
1363
  # @return [Array<Types::ImagePermission>]
1251
1364
  #
1252
1365
  # @!attribute [rw] next_token
1253
- # The token to use to retrieve the next set of results, or null if no
1254
- # more results are available.
1366
+ # The token to use to retrieve the next page of results. This value is
1367
+ # null when there are no more results to return.
1255
1368
  # @return [String]
1256
1369
  #
1257
1370
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagePermissionsResult AWS API Documentation
@@ -1307,8 +1420,8 @@ module Aws::WorkSpaces
1307
1420
  # @return [Array<Types::WorkspaceImage>]
1308
1421
  #
1309
1422
  # @!attribute [rw] next_token
1310
- # The token to use to retrieve the next set of results, or null if no
1311
- # more results are available.
1423
+ # The token to use to retrieve the next page of results. This value is
1424
+ # null when there are no more results to return.
1312
1425
  # @return [String]
1313
1426
  #
1314
1427
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagesResult AWS API Documentation
@@ -1391,8 +1504,8 @@ module Aws::WorkSpaces
1391
1504
  # @return [Array<Types::WorkspaceConnectionStatus>]
1392
1505
  #
1393
1506
  # @!attribute [rw] next_token
1394
- # The token to use to retrieve the next set of results, or null if no
1395
- # more results are available.
1507
+ # The token to use to retrieve the next page of results. This value is
1508
+ # null when there are no more results to return.
1396
1509
  # @return [String]
1397
1510
  #
1398
1511
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusResult AWS API Documentation
@@ -1473,8 +1586,8 @@ module Aws::WorkSpaces
1473
1586
  # @return [Array<Types::Workspace>]
1474
1587
  #
1475
1588
  # @!attribute [rw] next_token
1476
- # The token to use to retrieve the next set of results, or null if no
1477
- # more results are available.
1589
+ # The token to use to retrieve the next page of results. This value is
1590
+ # null when there are no more results to return.
1478
1591
  # @return [String]
1479
1592
  #
1480
1593
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesResult AWS API Documentation
@@ -1592,7 +1705,12 @@ module Aws::WorkSpaces
1592
1705
  end
1593
1706
 
1594
1707
  # Describes the AWS accounts that have been granted permission to use a
1595
- # shared image.
1708
+ # shared image. For more information about sharing images, see [ Share
1709
+ # or Unshare a Custom WorkSpaces Image][1].
1710
+ #
1711
+ #
1712
+ #
1713
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html
1596
1714
  #
1597
1715
  # @!attribute [rw] shared_account_id
1598
1716
  # The identifier of the AWS account that an image has been shared
@@ -1612,7 +1730,7 @@ module Aws::WorkSpaces
1612
1730
  #
1613
1731
  # {
1614
1732
  # ec2_image_id: "Ec2ImageId", # required
1615
- # ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO
1733
+ # ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO, BYOL_REGULAR_WSP
1616
1734
  # image_name: "WorkspaceImageName", # required
1617
1735
  # image_description: "WorkspaceImageDescription", # required
1618
1736
  # tags: [
@@ -1629,9 +1747,15 @@ module Aws::WorkSpaces
1629
1747
  # @return [String]
1630
1748
  #
1631
1749
  # @!attribute [rw] ingestion_process
1632
- # The ingestion process to be used when importing the image. For
1633
- # non-GPU-enabled bundles (bundles other than Graphics or
1634
- # GraphicsPro), specify `BYOL_REGULAR`.
1750
+ # The ingestion process to be used when importing the image, depending
1751
+ # on which protocol you want to use for your BYOL Workspace image,
1752
+ # either PCoIP or WorkSpaces Streaming Protocol (WSP). To use WSP,
1753
+ # specify a value that ends in `_WSP`. To use PCoIP, specify a value
1754
+ # that does not end in `_WSP`.
1755
+ #
1756
+ # For non-GPU-enabled bundles (bundles other than Graphics or
1757
+ # GraphicsPro), specify `BYOL_REGULAR` or `BYOL_REGULAR_WSP`,
1758
+ # depending on the protocol.
1635
1759
  # @return [String]
1636
1760
  #
1637
1761
  # @!attribute [rw] image_name
@@ -1781,8 +1905,8 @@ module Aws::WorkSpaces
1781
1905
  # @return [Array<String>]
1782
1906
  #
1783
1907
  # @!attribute [rw] next_token
1784
- # The token to use to retrieve the next set of results, or null if no
1785
- # more results are available.
1908
+ # The token to use to retrieve the next page of results. This value is
1909
+ # null when there are no more results to return.
1786
1910
  # @return [String]
1787
1911
  #
1788
1912
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRangesResult AWS API Documentation
@@ -2475,6 +2599,13 @@ module Aws::WorkSpaces
2475
2599
 
2476
2600
  # Describes the root volume for a WorkSpace bundle.
2477
2601
  #
2602
+ # @note When making an API call, you may pass RootStorage
2603
+ # data as a hash:
2604
+ #
2605
+ # {
2606
+ # capacity: "NonEmptyString",
2607
+ # }
2608
+ #
2478
2609
  # @!attribute [rw] capacity
2479
2610
  # The size of the root volume.
2480
2611
  # @return [String]
@@ -2858,6 +2989,35 @@ module Aws::WorkSpaces
2858
2989
  #
2859
2990
  class UpdateRulesOfIpGroupResult < Aws::EmptyStructure; end
2860
2991
 
2992
+ # @note When making an API call, you may pass UpdateWorkspaceBundleRequest
2993
+ # data as a hash:
2994
+ #
2995
+ # {
2996
+ # bundle_id: "BundleId",
2997
+ # image_id: "WorkspaceImageId",
2998
+ # }
2999
+ #
3000
+ # @!attribute [rw] bundle_id
3001
+ # The identifier of the bundle.
3002
+ # @return [String]
3003
+ #
3004
+ # @!attribute [rw] image_id
3005
+ # The identifier of the image.
3006
+ # @return [String]
3007
+ #
3008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundleRequest AWS API Documentation
3009
+ #
3010
+ class UpdateWorkspaceBundleRequest < Struct.new(
3011
+ :bundle_id,
3012
+ :image_id)
3013
+ SENSITIVE = []
3014
+ include Aws::Structure
3015
+ end
3016
+
3017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundleResult AWS API Documentation
3018
+ #
3019
+ class UpdateWorkspaceBundleResult < Aws::EmptyStructure; end
3020
+
2861
3021
  # @note When making an API call, you may pass UpdateWorkspaceImagePermissionRequest
2862
3022
  # data as a hash:
2863
3023
  #
@@ -2879,6 +3039,9 @@ module Aws::WorkSpaces
2879
3039
  # @!attribute [rw] shared_account_id
2880
3040
  # The identifier of the AWS account to share or unshare the image
2881
3041
  # with.
3042
+ #
3043
+ # Before sharing the image, confirm that you are sharing to the
3044
+ # correct AWS account ID.
2882
3045
  # @return [String]
2883
3046
  #
2884
3047
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermissionRequest AWS API Documentation
@@ -2895,10 +3058,17 @@ module Aws::WorkSpaces
2895
3058
  #
2896
3059
  class UpdateWorkspaceImagePermissionResult < Aws::EmptyStructure; end
2897
3060
 
2898
- # Describes the user storage for a WorkSpace bundle.
3061
+ # Describes the user volume for a WorkSpace bundle.
3062
+ #
3063
+ # @note When making an API call, you may pass UserStorage
3064
+ # data as a hash:
3065
+ #
3066
+ # {
3067
+ # capacity: "NonEmptyString",
3068
+ # }
2899
3069
  #
2900
3070
  # @!attribute [rw] capacity
2901
- # The size of the user storage.
3071
+ # The size of the user volume.
2902
3072
  # @return [String]
2903
3073
  #
2904
3074
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UserStorage AWS API Documentation
@@ -2930,6 +3100,19 @@ module Aws::WorkSpaces
2930
3100
  #
2931
3101
  # @!attribute [rw] state
2932
3102
  # The operational state of the WorkSpace.
3103
+ #
3104
+ # <note markdown="1"> After a WorkSpace is terminated, the `TERMINATED` state is returned
3105
+ # only briefly before the WorkSpace directory metadata is cleaned up,
3106
+ # so this state is rarely returned. To confirm that a WorkSpace is
3107
+ # terminated, check for the WorkSpace ID by using [
3108
+ # DescribeWorkSpaces][1]. If the WorkSpace ID isn't returned, then
3109
+ # the WorkSpace has been successfully terminated.
3110
+ #
3111
+ # </note>
3112
+ #
3113
+ #
3114
+ #
3115
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html
2933
3116
  # @return [String]
2934
3117
  #
2935
3118
  # @!attribute [rw] bundle_id
@@ -3090,7 +3273,7 @@ module Aws::WorkSpaces
3090
3273
  # Describes a WorkSpace bundle.
3091
3274
  #
3092
3275
  # @!attribute [rw] bundle_id
3093
- # The bundle identifier.
3276
+ # The identifier of the bundle.
3094
3277
  # @return [String]
3095
3278
  #
3096
3279
  # @!attribute [rw] name
@@ -3103,11 +3286,11 @@ module Aws::WorkSpaces
3103
3286
  # @return [String]
3104
3287
  #
3105
3288
  # @!attribute [rw] description
3106
- # A description.
3289
+ # The description of the bundle.
3107
3290
  # @return [String]
3108
3291
  #
3109
3292
  # @!attribute [rw] image_id
3110
- # The image identifier of the bundle.
3293
+ # The identifier of the image that was used to create the bundle.
3111
3294
  # @return [String]
3112
3295
  #
3113
3296
  # @!attribute [rw] root_storage
@@ -3115,12 +3298,12 @@ module Aws::WorkSpaces
3115
3298
  # @return [Types::RootStorage]
3116
3299
  #
3117
3300
  # @!attribute [rw] user_storage
3118
- # The size of the user storage.
3301
+ # The size of the user volume.
3119
3302
  # @return [Types::UserStorage]
3120
3303
  #
3121
3304
  # @!attribute [rw] compute_type
3122
- # The compute type. For more information, see [Amazon WorkSpaces
3123
- # Bundles][1].
3305
+ # The compute type of the bundle. For more information, see [Amazon
3306
+ # WorkSpaces Bundles][1].
3124
3307
  #
3125
3308
  #
3126
3309
  #
@@ -3131,6 +3314,10 @@ module Aws::WorkSpaces
3131
3314
  # The last time that the bundle was updated.
3132
3315
  # @return [Time]
3133
3316
  #
3317
+ # @!attribute [rw] creation_time
3318
+ # The time when the bundle was created.
3319
+ # @return [Time]
3320
+ #
3134
3321
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceBundle AWS API Documentation
3135
3322
  #
3136
3323
  class WorkspaceBundle < Struct.new(
@@ -3142,7 +3329,8 @@ module Aws::WorkSpaces
3142
3329
  :root_storage,
3143
3330
  :user_storage,
3144
3331
  :compute_type,
3145
- :last_updated_time)
3332
+ :last_updated_time,
3333
+ :creation_time)
3146
3334
  SENSITIVE = []
3147
3335
  include Aws::Structure
3148
3336
  end
@@ -3325,6 +3513,16 @@ module Aws::WorkSpaces
3325
3513
  #
3326
3514
  # @!attribute [rw] state
3327
3515
  # The state of the directory's registration with Amazon WorkSpaces.
3516
+ # After a directory is deregistered, the `DEREGISTERED` state is
3517
+ # returned very briefly before the directory metadata is cleaned up,
3518
+ # so this state is rarely returned. To confirm that a directory is
3519
+ # deregistered, check for the directory ID by using [
3520
+ # DescribeWorkspaceDirectories][1]. If the directory ID isn't
3521
+ # returned, then the directory has been successfully deregistered.
3522
+ #
3523
+ #
3524
+ #
3525
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceDirectories.html
3328
3526
  # @return [String]
3329
3527
  #
3330
3528
  # @!attribute [rw] workspace_creation_properties