aws-sdk-directoryservice 1.6.0 → 1.7.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.
@@ -8,6 +8,37 @@
8
8
  module Aws::DirectoryService
9
9
  module Types
10
10
 
11
+ # @note When making an API call, you may pass AcceptSharedDirectoryRequest
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # shared_directory_id: "DirectoryId", # required
16
+ # }
17
+ #
18
+ # @!attribute [rw] shared_directory_id
19
+ # Identifier of the shared directory in the directory consumer
20
+ # account. This identifier is different for each directory owner
21
+ # account.
22
+ # @return [String]
23
+ #
24
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectoryRequest AWS API Documentation
25
+ #
26
+ class AcceptSharedDirectoryRequest < Struct.new(
27
+ :shared_directory_id)
28
+ include Aws::Structure
29
+ end
30
+
31
+ # @!attribute [rw] shared_directory
32
+ # The shared directory in the directory consumer account.
33
+ # @return [Types::SharedDirectory]
34
+ #
35
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectoryResult AWS API Documentation
36
+ #
37
+ class AcceptSharedDirectoryResult < Struct.new(
38
+ :shared_directory)
39
+ include Aws::Structure
40
+ end
41
+
11
42
  # @note When making an API call, you may pass AddIpRoutesRequest
12
43
  # data as a hash:
13
44
  #
@@ -273,7 +304,7 @@ module Aws::DirectoryService
273
304
  # }
274
305
  #
275
306
  # @!attribute [rw] name
276
- # The fully-qualified name of the on-premises directory, such as
307
+ # The fully qualified name of the on-premises directory, such as
277
308
  # `corp.example.com`.
278
309
  # @return [String]
279
310
  #
@@ -510,7 +541,7 @@ module Aws::DirectoryService
510
541
  #
511
542
  # @!attribute [rw] password
512
543
  # The password for the directory administrator. The directory creation
513
- # process creates a directory administrator account with the username
544
+ # process creates a directory administrator account with the user name
514
545
  # `Administrator` and this password.
515
546
  # @return [String]
516
547
  #
@@ -1033,7 +1064,7 @@ module Aws::DirectoryService
1033
1064
  # @return [Array<String>]
1034
1065
  #
1035
1066
  # @!attribute [rw] next_token
1036
- # The *DescribeDirectoriesResult.NextToken* value from a previous call
1067
+ # The `DescribeDirectoriesResult.NextToken` value from a previous call
1037
1068
  # to DescribeDirectories. Pass null if this is the first call.
1038
1069
  # @return [String]
1039
1070
  #
@@ -1058,14 +1089,14 @@ module Aws::DirectoryService
1058
1089
  # The list of DirectoryDescription objects that were retrieved.
1059
1090
  #
1060
1091
  # It is possible that this list contains less than the number of items
1061
- # specified in the *Limit* member of the request. This occurs if there
1092
+ # specified in the `Limit` member of the request. This occurs if there
1062
1093
  # are less than the requested number of items left to retrieve, or if
1063
1094
  # the limitations of the operation have been exceeded.
1064
1095
  # @return [Array<Types::DirectoryDescription>]
1065
1096
  #
1066
1097
  # @!attribute [rw] next_token
1067
1098
  # If not null, more results are available. Pass this value for the
1068
- # *NextToken* parameter in a subsequent call to DescribeDirectories to
1099
+ # `NextToken` parameter in a subsequent call to DescribeDirectories to
1069
1100
  # retrieve the next set of items.
1070
1101
  # @return [String]
1071
1102
  #
@@ -1181,6 +1212,63 @@ module Aws::DirectoryService
1181
1212
  include Aws::Structure
1182
1213
  end
1183
1214
 
1215
+ # @note When making an API call, you may pass DescribeSharedDirectoriesRequest
1216
+ # data as a hash:
1217
+ #
1218
+ # {
1219
+ # owner_directory_id: "DirectoryId", # required
1220
+ # shared_directory_ids: ["DirectoryId"],
1221
+ # next_token: "NextToken",
1222
+ # limit: 1,
1223
+ # }
1224
+ #
1225
+ # @!attribute [rw] owner_directory_id
1226
+ # Returns the identifier of the directory in the directory owner
1227
+ # account.
1228
+ # @return [String]
1229
+ #
1230
+ # @!attribute [rw] shared_directory_ids
1231
+ # A list of identifiers of all shared directories in your account.
1232
+ # @return [Array<String>]
1233
+ #
1234
+ # @!attribute [rw] next_token
1235
+ # The `DescribeSharedDirectoriesResult.NextToken` value from a
1236
+ # previous call to DescribeSharedDirectories. Pass null if this is the
1237
+ # first call.
1238
+ # @return [String]
1239
+ #
1240
+ # @!attribute [rw] limit
1241
+ # The number of shared directories to return in the response object.
1242
+ # @return [Integer]
1243
+ #
1244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectoriesRequest AWS API Documentation
1245
+ #
1246
+ class DescribeSharedDirectoriesRequest < Struct.new(
1247
+ :owner_directory_id,
1248
+ :shared_directory_ids,
1249
+ :next_token,
1250
+ :limit)
1251
+ include Aws::Structure
1252
+ end
1253
+
1254
+ # @!attribute [rw] shared_directories
1255
+ # A list of all shared directories in your account.
1256
+ # @return [Array<Types::SharedDirectory>]
1257
+ #
1258
+ # @!attribute [rw] next_token
1259
+ # If not null, token that indicates that more results are available.
1260
+ # Pass this value for the `NextToken` parameter in a subsequent call
1261
+ # to DescribeSharedDirectories to retrieve the next set of items.
1262
+ # @return [String]
1263
+ #
1264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectoriesResult AWS API Documentation
1265
+ #
1266
+ class DescribeSharedDirectoriesResult < Struct.new(
1267
+ :shared_directories,
1268
+ :next_token)
1269
+ include Aws::Structure
1270
+ end
1271
+
1184
1272
  # Contains the inputs for the DescribeSnapshots operation.
1185
1273
  #
1186
1274
  # @note When making an API call, you may pass DescribeSnapshotsRequest
@@ -1347,9 +1435,9 @@ module Aws::DirectoryService
1347
1435
  # @return [Array<String>]
1348
1436
  #
1349
1437
  # @!attribute [rw] customer_user_name
1350
- # The username of an account in the on-premises directory that is used
1351
- # to connect to the directory. This account must have the following
1352
- # privileges:
1438
+ # The user name of an account in the on-premises directory that is
1439
+ # used to connect to the directory. This account must have the
1440
+ # following permissions:
1353
1441
  #
1354
1442
  # * Read users and groups
1355
1443
  #
@@ -1379,7 +1467,7 @@ module Aws::DirectoryService
1379
1467
  # @return [Array<String>]
1380
1468
  #
1381
1469
  # @!attribute [rw] customer_user_name
1382
- # The username of the service account in the on-premises directory.
1470
+ # The user name of the service account in the on-premises directory.
1383
1471
  # @return [String]
1384
1472
  #
1385
1473
  # @!attribute [rw] security_group_id
@@ -1413,7 +1501,7 @@ module Aws::DirectoryService
1413
1501
  # @return [String]
1414
1502
  #
1415
1503
  # @!attribute [rw] name
1416
- # The fully-qualified name of the directory.
1504
+ # The fully qualified name of the directory.
1417
1505
  # @return [String]
1418
1506
  #
1419
1507
  # @!attribute [rw] short_name
@@ -1458,6 +1546,25 @@ module Aws::DirectoryService
1458
1546
  # The current stage of the directory.
1459
1547
  # @return [String]
1460
1548
  #
1549
+ # @!attribute [rw] share_status
1550
+ # Current directory status of the shared AWS Managed Microsoft AD
1551
+ # directory.
1552
+ # @return [String]
1553
+ #
1554
+ # @!attribute [rw] share_method
1555
+ # The method used when sharing a directory to determine whether the
1556
+ # directory should be shared within your AWS organization
1557
+ # (`ORGANIZATIONS`) or with any AWS account by sending a shared
1558
+ # directory request (`HANDSHAKE`).
1559
+ # @return [String]
1560
+ #
1561
+ # @!attribute [rw] share_notes
1562
+ # A directory share request that is sent by the directory owner to the
1563
+ # directory consumer. The request includes a typed message to help the
1564
+ # directory consumer administrator determine whether to approve or
1565
+ # reject the share invitation.
1566
+ # @return [String]
1567
+ #
1461
1568
  # @!attribute [rw] launch_time
1462
1569
  # Specifies when the directory was created.
1463
1570
  # @return [Time]
@@ -1496,7 +1603,7 @@ module Aws::DirectoryService
1496
1603
  # @return [String]
1497
1604
  #
1498
1605
  # @!attribute [rw] sso_enabled
1499
- # Indicates if single-sign on is enabled for the directory. For more
1606
+ # Indicates if single sign-on is enabled for the directory. For more
1500
1607
  # information, see EnableSso and DisableSso.
1501
1608
  # @return [Boolean]
1502
1609
  #
@@ -1505,6 +1612,11 @@ module Aws::DirectoryService
1505
1612
  # directory is Microsoft AD.
1506
1613
  # @return [Integer]
1507
1614
  #
1615
+ # @!attribute [rw] owner_directory_description
1616
+ # Describes the AWS Managed Microsoft AD directory in the directory
1617
+ # owner account.
1618
+ # @return [Types::OwnerDirectoryDescription]
1619
+ #
1508
1620
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription AWS API Documentation
1509
1621
  #
1510
1622
  class DirectoryDescription < Struct.new(
@@ -1518,6 +1630,9 @@ module Aws::DirectoryService
1518
1630
  :description,
1519
1631
  :dns_ip_addrs,
1520
1632
  :stage,
1633
+ :share_status,
1634
+ :share_method,
1635
+ :share_notes,
1521
1636
  :launch_time,
1522
1637
  :stage_last_updated_date_time,
1523
1638
  :type,
@@ -1527,7 +1642,8 @@ module Aws::DirectoryService
1527
1642
  :radius_status,
1528
1643
  :stage_reason,
1529
1644
  :sso_enabled,
1530
- :desired_number_of_domain_controllers)
1645
+ :desired_number_of_domain_controllers,
1646
+ :owner_directory_description)
1531
1647
  include Aws::Structure
1532
1648
  end
1533
1649
 
@@ -2254,6 +2370,47 @@ module Aws::DirectoryService
2254
2370
  include Aws::Structure
2255
2371
  end
2256
2372
 
2373
+ # Describes the directory owner account details that have been shared to
2374
+ # the directory consumer account.
2375
+ #
2376
+ # @!attribute [rw] directory_id
2377
+ # Identifier of the AWS Managed Microsoft AD directory in the
2378
+ # directory owner account.
2379
+ # @return [String]
2380
+ #
2381
+ # @!attribute [rw] account_id
2382
+ # Identifier of the directory owner account.
2383
+ # @return [String]
2384
+ #
2385
+ # @!attribute [rw] dns_ip_addrs
2386
+ # IP address of the directory’s domain controllers.
2387
+ # @return [Array<String>]
2388
+ #
2389
+ # @!attribute [rw] vpc_settings
2390
+ # Information about the VPC settings for the directory.
2391
+ # @return [Types::DirectoryVpcSettingsDescription]
2392
+ #
2393
+ # @!attribute [rw] radius_settings
2394
+ # A RadiusSettings object that contains information about the RADIUS
2395
+ # server.
2396
+ # @return [Types::RadiusSettings]
2397
+ #
2398
+ # @!attribute [rw] radius_status
2399
+ # Information about the status of the RADIUS server.
2400
+ # @return [String]
2401
+ #
2402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/OwnerDirectoryDescription AWS API Documentation
2403
+ #
2404
+ class OwnerDirectoryDescription < Struct.new(
2405
+ :directory_id,
2406
+ :account_id,
2407
+ :dns_ip_addrs,
2408
+ :vpc_settings,
2409
+ :radius_settings,
2410
+ :radius_status)
2411
+ include Aws::Structure
2412
+ end
2413
+
2257
2414
  # Contains information about a Remote Authentication Dial In User
2258
2415
  # Service (RADIUS) server.
2259
2416
  #
@@ -2294,7 +2451,7 @@ module Aws::DirectoryService
2294
2451
  # @return [Integer]
2295
2452
  #
2296
2453
  # @!attribute [rw] shared_secret
2297
- # Not currently used.
2454
+ # Required for enabling RADIUS on the directory.
2298
2455
  # @return [String]
2299
2456
  #
2300
2457
  # @!attribute [rw] authentication_protocol
@@ -2357,6 +2514,38 @@ module Aws::DirectoryService
2357
2514
  #
2358
2515
  class RegisterEventTopicResult < Aws::EmptyStructure; end
2359
2516
 
2517
+ # @note When making an API call, you may pass RejectSharedDirectoryRequest
2518
+ # data as a hash:
2519
+ #
2520
+ # {
2521
+ # shared_directory_id: "DirectoryId", # required
2522
+ # }
2523
+ #
2524
+ # @!attribute [rw] shared_directory_id
2525
+ # Identifier of the shared directory in the directory consumer
2526
+ # account. This identifier is different for each directory owner
2527
+ # account.
2528
+ # @return [String]
2529
+ #
2530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectoryRequest AWS API Documentation
2531
+ #
2532
+ class RejectSharedDirectoryRequest < Struct.new(
2533
+ :shared_directory_id)
2534
+ include Aws::Structure
2535
+ end
2536
+
2537
+ # @!attribute [rw] shared_directory_id
2538
+ # Identifier of the shared directory in the directory consumer
2539
+ # account.
2540
+ # @return [String]
2541
+ #
2542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectoryResult AWS API Documentation
2543
+ #
2544
+ class RejectSharedDirectoryResult < Struct.new(
2545
+ :shared_directory_id)
2546
+ include Aws::Structure
2547
+ end
2548
+
2360
2549
  # @note When making an API call, you may pass RemoveIpRoutesRequest
2361
2550
  # data as a hash:
2362
2551
  #
@@ -2429,7 +2618,7 @@ module Aws::DirectoryService
2429
2618
  # @return [String]
2430
2619
  #
2431
2620
  # @!attribute [rw] user_name
2432
- # The username of the user whose password will be reset.
2621
+ # The user name of the user whose password will be reset.
2433
2622
  # @return [String]
2434
2623
  #
2435
2624
  # @!attribute [rw] new_password
@@ -2521,6 +2710,158 @@ module Aws::DirectoryService
2521
2710
  include Aws::Structure
2522
2711
  end
2523
2712
 
2713
+ # @note When making an API call, you may pass ShareDirectoryRequest
2714
+ # data as a hash:
2715
+ #
2716
+ # {
2717
+ # directory_id: "DirectoryId", # required
2718
+ # share_notes: "Notes",
2719
+ # share_target: { # required
2720
+ # id: "TargetId", # required
2721
+ # type: "ACCOUNT", # required, accepts ACCOUNT
2722
+ # },
2723
+ # share_method: "ORGANIZATIONS", # required, accepts ORGANIZATIONS, HANDSHAKE
2724
+ # }
2725
+ #
2726
+ # @!attribute [rw] directory_id
2727
+ # Identifier of the AWS Managed Microsoft AD directory that you want
2728
+ # to share with other AWS accounts.
2729
+ # @return [String]
2730
+ #
2731
+ # @!attribute [rw] share_notes
2732
+ # A directory share request that is sent by the directory owner to the
2733
+ # directory consumer. The request includes a typed message to help the
2734
+ # directory consumer administrator determine whether to approve or
2735
+ # reject the share invitation.
2736
+ # @return [String]
2737
+ #
2738
+ # @!attribute [rw] share_target
2739
+ # Identifier for the directory consumer account with whom the
2740
+ # directory is to be shared.
2741
+ # @return [Types::ShareTarget]
2742
+ #
2743
+ # @!attribute [rw] share_method
2744
+ # The method used when sharing a directory to determine whether the
2745
+ # directory should be shared within your AWS organization
2746
+ # (`ORGANIZATIONS`) or with any AWS account by sending a directory
2747
+ # sharing request (`HANDSHAKE`).
2748
+ # @return [String]
2749
+ #
2750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectoryRequest AWS API Documentation
2751
+ #
2752
+ class ShareDirectoryRequest < Struct.new(
2753
+ :directory_id,
2754
+ :share_notes,
2755
+ :share_target,
2756
+ :share_method)
2757
+ include Aws::Structure
2758
+ end
2759
+
2760
+ # @!attribute [rw] shared_directory_id
2761
+ # Identifier of the directory that is stored in the directory consumer
2762
+ # account that is shared from the specified directory (`DirectoryId`).
2763
+ # @return [String]
2764
+ #
2765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectoryResult AWS API Documentation
2766
+ #
2767
+ class ShareDirectoryResult < Struct.new(
2768
+ :shared_directory_id)
2769
+ include Aws::Structure
2770
+ end
2771
+
2772
+ # Identifier that contains details about the directory consumer account.
2773
+ #
2774
+ # @note When making an API call, you may pass ShareTarget
2775
+ # data as a hash:
2776
+ #
2777
+ # {
2778
+ # id: "TargetId", # required
2779
+ # type: "ACCOUNT", # required, accepts ACCOUNT
2780
+ # }
2781
+ #
2782
+ # @!attribute [rw] id
2783
+ # Identifier of the directory consumer account.
2784
+ # @return [String]
2785
+ #
2786
+ # @!attribute [rw] type
2787
+ # Type of identifier to be used in the `Id` field.
2788
+ # @return [String]
2789
+ #
2790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareTarget AWS API Documentation
2791
+ #
2792
+ class ShareTarget < Struct.new(
2793
+ :id,
2794
+ :type)
2795
+ include Aws::Structure
2796
+ end
2797
+
2798
+ # Details about the shared directory in the directory owner account for
2799
+ # which the share request in the directory consumer account has been
2800
+ # accepted.
2801
+ #
2802
+ # @!attribute [rw] owner_account_id
2803
+ # Identifier of the directory owner account, which contains the
2804
+ # directory that has been shared to the consumer account.
2805
+ # @return [String]
2806
+ #
2807
+ # @!attribute [rw] owner_directory_id
2808
+ # Identifier of the directory in the directory owner account.
2809
+ # @return [String]
2810
+ #
2811
+ # @!attribute [rw] share_method
2812
+ # The method used when sharing a directory to determine whether the
2813
+ # directory should be shared within your AWS organization
2814
+ # (`ORGANIZATIONS`) or with any AWS account by sending a shared
2815
+ # directory request (`HANDSHAKE`).
2816
+ # @return [String]
2817
+ #
2818
+ # @!attribute [rw] shared_account_id
2819
+ # Identifier of the directory consumer account that has access to the
2820
+ # shared directory (`OwnerDirectoryId`) in the directory owner
2821
+ # account.
2822
+ # @return [String]
2823
+ #
2824
+ # @!attribute [rw] shared_directory_id
2825
+ # Identifier of the shared directory in the directory consumer
2826
+ # account. This identifier is different for each directory owner
2827
+ # account.
2828
+ # @return [String]
2829
+ #
2830
+ # @!attribute [rw] share_status
2831
+ # Current directory status of the shared AWS Managed Microsoft AD
2832
+ # directory.
2833
+ # @return [String]
2834
+ #
2835
+ # @!attribute [rw] share_notes
2836
+ # A directory share request that is sent by the directory owner to the
2837
+ # directory consumer. The request includes a typed message to help the
2838
+ # directory consumer administrator determine whether to approve or
2839
+ # reject the share invitation.
2840
+ # @return [String]
2841
+ #
2842
+ # @!attribute [rw] created_date_time
2843
+ # The date and time that the shared directory was created.
2844
+ # @return [Time]
2845
+ #
2846
+ # @!attribute [rw] last_updated_date_time
2847
+ # The date and time that the shared directory was last updated.
2848
+ # @return [Time]
2849
+ #
2850
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SharedDirectory AWS API Documentation
2851
+ #
2852
+ class SharedDirectory < Struct.new(
2853
+ :owner_account_id,
2854
+ :owner_directory_id,
2855
+ :share_method,
2856
+ :shared_account_id,
2857
+ :shared_directory_id,
2858
+ :share_status,
2859
+ :share_notes,
2860
+ :created_date_time,
2861
+ :last_updated_date_time)
2862
+ include Aws::Structure
2863
+ end
2864
+
2524
2865
  # Describes a directory snapshot.
2525
2866
  #
2526
2867
  # @!attribute [rw] directory_id
@@ -2729,6 +3070,74 @@ module Aws::DirectoryService
2729
3070
  include Aws::Structure
2730
3071
  end
2731
3072
 
3073
+ # @note When making an API call, you may pass UnshareDirectoryRequest
3074
+ # data as a hash:
3075
+ #
3076
+ # {
3077
+ # directory_id: "DirectoryId", # required
3078
+ # unshare_target: { # required
3079
+ # id: "TargetId", # required
3080
+ # type: "ACCOUNT", # required, accepts ACCOUNT
3081
+ # },
3082
+ # }
3083
+ #
3084
+ # @!attribute [rw] directory_id
3085
+ # The identifier of the AWS Managed Microsoft AD directory that you
3086
+ # want to stop sharing.
3087
+ # @return [String]
3088
+ #
3089
+ # @!attribute [rw] unshare_target
3090
+ # Identifier for the directory consumer account with whom the
3091
+ # directory has to be unshared.
3092
+ # @return [Types::UnshareTarget]
3093
+ #
3094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectoryRequest AWS API Documentation
3095
+ #
3096
+ class UnshareDirectoryRequest < Struct.new(
3097
+ :directory_id,
3098
+ :unshare_target)
3099
+ include Aws::Structure
3100
+ end
3101
+
3102
+ # @!attribute [rw] shared_directory_id
3103
+ # Identifier of the directory stored in the directory consumer account
3104
+ # that is to be unshared from the specified directory (`DirectoryId`).
3105
+ # @return [String]
3106
+ #
3107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectoryResult AWS API Documentation
3108
+ #
3109
+ class UnshareDirectoryResult < Struct.new(
3110
+ :shared_directory_id)
3111
+ include Aws::Structure
3112
+ end
3113
+
3114
+ # Identifier that contains details about the directory consumer account
3115
+ # with whom the directory is being unshared.
3116
+ #
3117
+ # @note When making an API call, you may pass UnshareTarget
3118
+ # data as a hash:
3119
+ #
3120
+ # {
3121
+ # id: "TargetId", # required
3122
+ # type: "ACCOUNT", # required, accepts ACCOUNT
3123
+ # }
3124
+ #
3125
+ # @!attribute [rw] id
3126
+ # Identifier of the directory consumer account.
3127
+ # @return [String]
3128
+ #
3129
+ # @!attribute [rw] type
3130
+ # Type of identifier to be used in the *Id* field.
3131
+ # @return [String]
3132
+ #
3133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareTarget AWS API Documentation
3134
+ #
3135
+ class UnshareTarget < Struct.new(
3136
+ :id,
3137
+ :type)
3138
+ include Aws::Structure
3139
+ end
3140
+
2732
3141
  # Updates a conditional forwarder.
2733
3142
  #
2734
3143
  # @note When making an API call, you may pass UpdateConditionalForwarderRequest