aws-sdk-directoryservice 1.22.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -266,6 +266,142 @@ module Aws::DirectoryService
266
266
  #
267
267
  class CancelSchemaExtensionResult < Aws::EmptyStructure; end
268
268
 
269
+ # Information about the certificate.
270
+ #
271
+ # @!attribute [rw] certificate_id
272
+ # The identifier of the certificate.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] state
276
+ # The state of the certificate.
277
+ # @return [String]
278
+ #
279
+ # @!attribute [rw] state_reason
280
+ # Describes a state change for the certificate.
281
+ # @return [String]
282
+ #
283
+ # @!attribute [rw] common_name
284
+ # The common name for the certificate.
285
+ # @return [String]
286
+ #
287
+ # @!attribute [rw] registered_date_time
288
+ # The date and time that the certificate was registered.
289
+ # @return [Time]
290
+ #
291
+ # @!attribute [rw] expiry_date_time
292
+ # The date and time when the certificate will expire.
293
+ # @return [Time]
294
+ #
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Certificate AWS API Documentation
296
+ #
297
+ class Certificate < Struct.new(
298
+ :certificate_id,
299
+ :state,
300
+ :state_reason,
301
+ :common_name,
302
+ :registered_date_time,
303
+ :expiry_date_time)
304
+ include Aws::Structure
305
+ end
306
+
307
+ # The certificate has already been registered into the system.
308
+ #
309
+ # @!attribute [rw] message
310
+ # The descriptive message for the exception.
311
+ # @return [String]
312
+ #
313
+ # @!attribute [rw] request_id
314
+ # The AWS request identifier.
315
+ # @return [String]
316
+ #
317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateAlreadyExistsException AWS API Documentation
318
+ #
319
+ class CertificateAlreadyExistsException < Struct.new(
320
+ :message,
321
+ :request_id)
322
+ include Aws::Structure
323
+ end
324
+
325
+ # The certificate is not present in the system for describe or
326
+ # deregister activities.
327
+ #
328
+ # @!attribute [rw] message
329
+ # The descriptive message for the exception.
330
+ # @return [String]
331
+ #
332
+ # @!attribute [rw] request_id
333
+ # The AWS request identifier.
334
+ # @return [String]
335
+ #
336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateDoesNotExistException AWS API Documentation
337
+ #
338
+ class CertificateDoesNotExistException < Struct.new(
339
+ :message,
340
+ :request_id)
341
+ include Aws::Structure
342
+ end
343
+
344
+ # The certificate is being used for the LDAP security connection and
345
+ # cannot be removed without disabling LDAP security.
346
+ #
347
+ # @!attribute [rw] message
348
+ # The descriptive message for the exception.
349
+ # @return [String]
350
+ #
351
+ # @!attribute [rw] request_id
352
+ # The AWS request identifier.
353
+ # @return [String]
354
+ #
355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateInUseException AWS API Documentation
356
+ #
357
+ class CertificateInUseException < Struct.new(
358
+ :message,
359
+ :request_id)
360
+ include Aws::Structure
361
+ end
362
+
363
+ # Contains general information about a certificate.
364
+ #
365
+ # @!attribute [rw] certificate_id
366
+ # The identifier of the certificate.
367
+ # @return [String]
368
+ #
369
+ # @!attribute [rw] common_name
370
+ # The common name for the certificate.
371
+ # @return [String]
372
+ #
373
+ # @!attribute [rw] state
374
+ # The state of the certificate.
375
+ # @return [String]
376
+ #
377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateInfo AWS API Documentation
378
+ #
379
+ class CertificateInfo < Struct.new(
380
+ :certificate_id,
381
+ :common_name,
382
+ :state)
383
+ include Aws::Structure
384
+ end
385
+
386
+ # The certificate could not be added because the certificate limit has
387
+ # been reached.
388
+ #
389
+ # @!attribute [rw] message
390
+ # The descriptive message for the exception.
391
+ # @return [String]
392
+ #
393
+ # @!attribute [rw] request_id
394
+ # The AWS request identifier.
395
+ # @return [String]
396
+ #
397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CertificateLimitExceededException AWS API Documentation
398
+ #
399
+ class CertificateLimitExceededException < Struct.new(
400
+ :message,
401
+ :request_id)
402
+ include Aws::Structure
403
+ end
404
+
269
405
  # A client exception has occurred.
270
406
  #
271
407
  # @!attribute [rw] message
@@ -377,7 +513,7 @@ module Aws::DirectoryService
377
513
  # @return [String]
378
514
  #
379
515
  # @!attribute [rw] description
380
- # A textual description for the directory.
516
+ # A description for the directory.
381
517
  # @return [String]
382
518
  #
383
519
  # @!attribute [rw] size
@@ -607,17 +743,20 @@ module Aws::DirectoryService
607
743
  # @return [String]
608
744
  #
609
745
  # @!attribute [rw] short_name
610
- # The short name of the directory, such as `CORP`.
746
+ # The NetBIOS name of the directory, such as `CORP`.
611
747
  # @return [String]
612
748
  #
613
749
  # @!attribute [rw] password
614
750
  # The password for the directory administrator. The directory creation
615
751
  # process creates a directory administrator account with the user name
616
752
  # `Administrator` and this password.
753
+ #
754
+ # If you need to change the password for the administrator account,
755
+ # you can use the ResetUserPassword API call.
617
756
  # @return [String]
618
757
  #
619
758
  # @!attribute [rw] description
620
- # A textual description for the directory.
759
+ # A description for the directory.
621
760
  # @return [String]
622
761
  #
623
762
  # @!attribute [rw] size
@@ -668,7 +807,7 @@ module Aws::DirectoryService
668
807
  # }
669
808
  #
670
809
  # @!attribute [rw] directory_id
671
- # Identifier (ID) of the directory to which you want to subscribe and
810
+ # Identifier of the directory to which you want to subscribe and
672
811
  # receive real-time logs to your specified CloudWatch log group.
673
812
  # @return [String]
674
813
  #
@@ -713,26 +852,28 @@ module Aws::DirectoryService
713
852
  # }
714
853
  #
715
854
  # @!attribute [rw] name
716
- # The fully qualified domain name for the directory, such as
717
- # `corp.example.com`. This name will resolve inside your VPC only. It
718
- # does not need to be publicly resolvable.
855
+ # The fully qualified domain name for the AWS Managed Microsoft AD
856
+ # directory, such as `corp.example.com`. This name will resolve inside
857
+ # your VPC only. It does not need to be publicly resolvable.
719
858
  # @return [String]
720
859
  #
721
860
  # @!attribute [rw] short_name
722
- # The NetBIOS name for your domain. A short identifier for your
723
- # domain, such as `CORP`. If you don't specify a NetBIOS name, it
724
- # will default to the first part of your directory DNS. For example,
725
- # `CORP` for the directory DNS `corp.example.com`.
861
+ # The NetBIOS name for your domain, such as `CORP`. If you don't
862
+ # specify a NetBIOS name, it will default to the first part of your
863
+ # directory DNS. For example, `CORP` for the directory DNS
864
+ # `corp.example.com`.
726
865
  # @return [String]
727
866
  #
728
867
  # @!attribute [rw] password
729
868
  # The password for the default administrative user named `Admin`.
869
+ #
870
+ # If you need to change the password for the administrator account,
871
+ # you can use the ResetUserPassword API call.
730
872
  # @return [String]
731
873
  #
732
874
  # @!attribute [rw] description
733
- # A textual description for the directory. This label will appear on
734
- # the AWS console `Directory Details` page after the directory is
735
- # created.
875
+ # A description for the directory. This label will appear on the AWS
876
+ # console `Directory Details` page after the directory is created.
736
877
  # @return [String]
737
878
  #
738
879
  # @!attribute [rw] vpc_settings
@@ -741,8 +882,8 @@ module Aws::DirectoryService
741
882
  # @return [Types::DirectoryVpcSettings]
742
883
  #
743
884
  # @!attribute [rw] edition
744
- # AWS Managed Microsoft AD is available in two editions: Standard and
745
- # Enterprise. Enterprise is the default.
885
+ # AWS Managed Microsoft AD is available in two editions: `Standard`
886
+ # and `Enterprise`. `Enterprise` is the default.
746
887
  # @return [String]
747
888
  #
748
889
  # @!attribute [rw] tags
@@ -971,7 +1112,7 @@ module Aws::DirectoryService
971
1112
  # }
972
1113
  #
973
1114
  # @!attribute [rw] directory_id
974
- # Identifier (ID) of the directory whose log subscription you want to
1115
+ # Identifier of the directory whose log subscription you want to
975
1116
  # delete.
976
1117
  # @return [String]
977
1118
  #
@@ -1059,6 +1200,34 @@ module Aws::DirectoryService
1059
1200
  include Aws::Structure
1060
1201
  end
1061
1202
 
1203
+ # @note When making an API call, you may pass DeregisterCertificateRequest
1204
+ # data as a hash:
1205
+ #
1206
+ # {
1207
+ # directory_id: "DirectoryId", # required
1208
+ # certificate_id: "CertificateId", # required
1209
+ # }
1210
+ #
1211
+ # @!attribute [rw] directory_id
1212
+ # The identifier of the directory.
1213
+ # @return [String]
1214
+ #
1215
+ # @!attribute [rw] certificate_id
1216
+ # The identifier of the certificate.
1217
+ # @return [String]
1218
+ #
1219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterCertificateRequest AWS API Documentation
1220
+ #
1221
+ class DeregisterCertificateRequest < Struct.new(
1222
+ :directory_id,
1223
+ :certificate_id)
1224
+ include Aws::Structure
1225
+ end
1226
+
1227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterCertificateResult AWS API Documentation
1228
+ #
1229
+ class DeregisterCertificateResult < Aws::EmptyStructure; end
1230
+
1062
1231
  # Removes the specified directory as a publisher to the specified SNS
1063
1232
  # topic.
1064
1233
  #
@@ -1094,6 +1263,43 @@ module Aws::DirectoryService
1094
1263
  #
1095
1264
  class DeregisterEventTopicResult < Aws::EmptyStructure; end
1096
1265
 
1266
+ # @note When making an API call, you may pass DescribeCertificateRequest
1267
+ # data as a hash:
1268
+ #
1269
+ # {
1270
+ # directory_id: "DirectoryId", # required
1271
+ # certificate_id: "CertificateId", # required
1272
+ # }
1273
+ #
1274
+ # @!attribute [rw] directory_id
1275
+ # The identifier of the directory.
1276
+ # @return [String]
1277
+ #
1278
+ # @!attribute [rw] certificate_id
1279
+ # The identifier of the certificate.
1280
+ # @return [String]
1281
+ #
1282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCertificateRequest AWS API Documentation
1283
+ #
1284
+ class DescribeCertificateRequest < Struct.new(
1285
+ :directory_id,
1286
+ :certificate_id)
1287
+ include Aws::Structure
1288
+ end
1289
+
1290
+ # @!attribute [rw] certificate
1291
+ # Information about the certificate, including registered date time,
1292
+ # certificate state, the reason for the state, expiration date time,
1293
+ # and certificate common name.
1294
+ # @return [Types::Certificate]
1295
+ #
1296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCertificateResult AWS API Documentation
1297
+ #
1298
+ class DescribeCertificateResult < Struct.new(
1299
+ :certificate)
1300
+ include Aws::Structure
1301
+ end
1302
+
1097
1303
  # Describes a conditional forwarder.
1098
1304
  #
1099
1305
  # @note When making an API call, you may pass DescribeConditionalForwardersRequest
@@ -1305,6 +1511,62 @@ module Aws::DirectoryService
1305
1511
  include Aws::Structure
1306
1512
  end
1307
1513
 
1514
+ # @note When making an API call, you may pass DescribeLDAPSSettingsRequest
1515
+ # data as a hash:
1516
+ #
1517
+ # {
1518
+ # directory_id: "DirectoryId", # required
1519
+ # type: "Client", # accepts Client
1520
+ # next_token: "NextToken",
1521
+ # limit: 1,
1522
+ # }
1523
+ #
1524
+ # @!attribute [rw] directory_id
1525
+ # The identifier of the directory.
1526
+ # @return [String]
1527
+ #
1528
+ # @!attribute [rw] type
1529
+ # The type of LDAP security the customer wants to enable, either
1530
+ # server or client. Currently supports only `Client`, (the default).
1531
+ # @return [String]
1532
+ #
1533
+ # @!attribute [rw] next_token
1534
+ # The type of next token used for pagination.
1535
+ # @return [String]
1536
+ #
1537
+ # @!attribute [rw] limit
1538
+ # Specifies the number of items that should be displayed on one page.
1539
+ # @return [Integer]
1540
+ #
1541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeLDAPSSettingsRequest AWS API Documentation
1542
+ #
1543
+ class DescribeLDAPSSettingsRequest < Struct.new(
1544
+ :directory_id,
1545
+ :type,
1546
+ :next_token,
1547
+ :limit)
1548
+ include Aws::Structure
1549
+ end
1550
+
1551
+ # @!attribute [rw] ldaps_settings_info
1552
+ # Information about LDAP security for the specified directory,
1553
+ # including status of enablement, state last updated date time, and
1554
+ # the reason for the state.
1555
+ # @return [Array<Types::LDAPSSettingInfo>]
1556
+ #
1557
+ # @!attribute [rw] next_token
1558
+ # The next token used to retrieve the LDAPS settings if the number of
1559
+ # setting types exceeds page limit and there is another page.
1560
+ # @return [String]
1561
+ #
1562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeLDAPSSettingsResult AWS API Documentation
1563
+ #
1564
+ class DescribeLDAPSSettingsResult < Struct.new(
1565
+ :ldaps_settings_info,
1566
+ :next_token)
1567
+ include Aws::Structure
1568
+ end
1569
+
1308
1570
  # @note When making an API call, you may pass DescribeSharedDirectoriesRequest
1309
1571
  # data as a hash:
1310
1572
  #
@@ -1575,7 +1837,7 @@ module Aws::DirectoryService
1575
1837
  # @return [String]
1576
1838
  #
1577
1839
  # @!attribute [rw] subnet_ids
1578
- # A list of subnet identifiers in the VPC that the AD connector is in.
1840
+ # A list of subnet identifiers in the VPC that the AD Connector is in.
1579
1841
  # @return [Array<String>]
1580
1842
  #
1581
1843
  # @!attribute [rw] customer_user_name
@@ -1642,7 +1904,7 @@ module Aws::DirectoryService
1642
1904
  # @return [String]
1643
1905
  #
1644
1906
  # @!attribute [rw] description
1645
- # The textual description for the directory.
1907
+ # The description for the directory.
1646
1908
  # @return [String]
1647
1909
  #
1648
1910
  # @!attribute [rw] dns_ip_addrs
@@ -1759,6 +2021,24 @@ module Aws::DirectoryService
1759
2021
  include Aws::Structure
1760
2022
  end
1761
2023
 
2024
+ # The specified directory does not exist in the system.
2025
+ #
2026
+ # @!attribute [rw] message
2027
+ # The descriptive message for the exception.
2028
+ # @return [String]
2029
+ #
2030
+ # @!attribute [rw] request_id
2031
+ # The AWS request identifier.
2032
+ # @return [String]
2033
+ #
2034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDoesNotExistException AWS API Documentation
2035
+ #
2036
+ class DirectoryDoesNotExistException < Struct.new(
2037
+ :message,
2038
+ :request_id)
2039
+ include Aws::Structure
2040
+ end
2041
+
1762
2042
  # The maximum number of directories in the region has been reached. You
1763
2043
  # can use the GetDirectoryLimits operation to determine your directory
1764
2044
  # limits in the region.
@@ -1779,14 +2059,14 @@ module Aws::DirectoryService
1779
2059
  include Aws::Structure
1780
2060
  end
1781
2061
 
1782
- # Contains directory limit information for a region.
2062
+ # Contains directory limit information for a Region.
1783
2063
  #
1784
2064
  # @!attribute [rw] cloud_only_directories_limit
1785
- # The maximum number of cloud directories allowed in the region.
2065
+ # The maximum number of cloud directories allowed in the Region.
1786
2066
  # @return [Integer]
1787
2067
  #
1788
2068
  # @!attribute [rw] cloud_only_directories_current_count
1789
- # The current number of cloud directories in the region.
2069
+ # The current number of cloud directories in the Region.
1790
2070
  # @return [Integer]
1791
2071
  #
1792
2072
  # @!attribute [rw] cloud_only_directories_limit_reached
@@ -1809,11 +2089,11 @@ module Aws::DirectoryService
1809
2089
  # @return [Boolean]
1810
2090
  #
1811
2091
  # @!attribute [rw] connected_directories_limit
1812
- # The maximum number of connected directories allowed in the region.
2092
+ # The maximum number of connected directories allowed in the Region.
1813
2093
  # @return [Integer]
1814
2094
  #
1815
2095
  # @!attribute [rw] connected_directories_current_count
1816
- # The current number of connected directories in the region.
2096
+ # The current number of connected directories in the Region.
1817
2097
  # @return [Integer]
1818
2098
  #
1819
2099
  # @!attribute [rw] connected_directories_limit_reached
@@ -1929,6 +2209,36 @@ module Aws::DirectoryService
1929
2209
  include Aws::Structure
1930
2210
  end
1931
2211
 
2212
+ # @note When making an API call, you may pass DisableLDAPSRequest
2213
+ # data as a hash:
2214
+ #
2215
+ # {
2216
+ # directory_id: "DirectoryId", # required
2217
+ # type: "Client", # accepts Client
2218
+ # }
2219
+ #
2220
+ # @!attribute [rw] directory_id
2221
+ # The identifier of the directory.
2222
+ # @return [String]
2223
+ #
2224
+ # @!attribute [rw] type
2225
+ # The type of LDAP security that the customer wants to enable. The
2226
+ # security can be either server or client, but currently only the
2227
+ # default `Client` is supported.
2228
+ # @return [String]
2229
+ #
2230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableLDAPSRequest AWS API Documentation
2231
+ #
2232
+ class DisableLDAPSRequest < Struct.new(
2233
+ :directory_id,
2234
+ :type)
2235
+ include Aws::Structure
2236
+ end
2237
+
2238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableLDAPSResult AWS API Documentation
2239
+ #
2240
+ class DisableLDAPSResult < Aws::EmptyStructure; end
2241
+
1932
2242
  # Contains the inputs for the DisableRadius operation.
1933
2243
  #
1934
2244
  # @note When making an API call, you may pass DisableRadiusRequest
@@ -2083,6 +2393,36 @@ module Aws::DirectoryService
2083
2393
  include Aws::Structure
2084
2394
  end
2085
2395
 
2396
+ # @note When making an API call, you may pass EnableLDAPSRequest
2397
+ # data as a hash:
2398
+ #
2399
+ # {
2400
+ # directory_id: "DirectoryId", # required
2401
+ # type: "Client", # accepts Client
2402
+ # }
2403
+ #
2404
+ # @!attribute [rw] directory_id
2405
+ # The identifier of the directory.
2406
+ # @return [String]
2407
+ #
2408
+ # @!attribute [rw] type
2409
+ # The type of LDAP security the customer wants to enable. The security
2410
+ # can be either server or client, but currently only the default
2411
+ # `Client` is supported.
2412
+ # @return [String]
2413
+ #
2414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableLDAPSRequest AWS API Documentation
2415
+ #
2416
+ class EnableLDAPSRequest < Struct.new(
2417
+ :directory_id,
2418
+ :type)
2419
+ include Aws::Structure
2420
+ end
2421
+
2422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableLDAPSResult AWS API Documentation
2423
+ #
2424
+ class EnableLDAPSResult < Aws::EmptyStructure; end
2425
+
2086
2426
  # Contains the inputs for the EnableRadius operation.
2087
2427
  #
2088
2428
  # @note When making an API call, you may pass EnableRadiusRequest
@@ -2258,7 +2598,7 @@ module Aws::DirectoryService
2258
2598
  #
2259
2599
  # @!attribute [rw] directory_limits
2260
2600
  # A DirectoryLimits object that contains the directory limits for the
2261
- # current region.
2601
+ # current rRegion.
2262
2602
  # @return [Types::DirectoryLimits]
2263
2603
  #
2264
2604
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimitsResult AWS API Documentation
@@ -2321,6 +2661,43 @@ module Aws::DirectoryService
2321
2661
  include Aws::Structure
2322
2662
  end
2323
2663
 
2664
+ # The certificate PEM that was provided has incorrect encoding.
2665
+ #
2666
+ # @!attribute [rw] message
2667
+ # The descriptive message for the exception.
2668
+ # @return [String]
2669
+ #
2670
+ # @!attribute [rw] request_id
2671
+ # The AWS request identifier.
2672
+ # @return [String]
2673
+ #
2674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidCertificateException AWS API Documentation
2675
+ #
2676
+ class InvalidCertificateException < Struct.new(
2677
+ :message,
2678
+ :request_id)
2679
+ include Aws::Structure
2680
+ end
2681
+
2682
+ # The LDAP activities could not be performed because they are limited by
2683
+ # the LDAPS status.
2684
+ #
2685
+ # @!attribute [rw] message
2686
+ # The descriptive message for the exception.
2687
+ # @return [String]
2688
+ #
2689
+ # @!attribute [rw] request_id
2690
+ # The AWS request identifier.
2691
+ # @return [String]
2692
+ #
2693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidLDAPSStatusException AWS API Documentation
2694
+ #
2695
+ class InvalidLDAPSStatusException < Struct.new(
2696
+ :message,
2697
+ :request_id)
2698
+ include Aws::Structure
2699
+ end
2700
+
2324
2701
  # The `NextToken` value is not valid.
2325
2702
  #
2326
2703
  # @!attribute [rw] message
@@ -2481,6 +2858,81 @@ module Aws::DirectoryService
2481
2858
  include Aws::Structure
2482
2859
  end
2483
2860
 
2861
+ # Contains general information about the LDAPS settings.
2862
+ #
2863
+ # @!attribute [rw] ldaps_status
2864
+ # The state of the LDAPS settings.
2865
+ # @return [String]
2866
+ #
2867
+ # @!attribute [rw] ldaps_status_reason
2868
+ # Describes a state change for LDAPS.
2869
+ # @return [String]
2870
+ #
2871
+ # @!attribute [rw] last_updated_date_time
2872
+ # The date and time when the LDAPS settings were last updated.
2873
+ # @return [Time]
2874
+ #
2875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/LDAPSSettingInfo AWS API Documentation
2876
+ #
2877
+ class LDAPSSettingInfo < Struct.new(
2878
+ :ldaps_status,
2879
+ :ldaps_status_reason,
2880
+ :last_updated_date_time)
2881
+ include Aws::Structure
2882
+ end
2883
+
2884
+ # @note When making an API call, you may pass ListCertificatesRequest
2885
+ # data as a hash:
2886
+ #
2887
+ # {
2888
+ # directory_id: "DirectoryId", # required
2889
+ # next_token: "NextToken",
2890
+ # limit: 1,
2891
+ # }
2892
+ #
2893
+ # @!attribute [rw] directory_id
2894
+ # The identifier of the directory.
2895
+ # @return [String]
2896
+ #
2897
+ # @!attribute [rw] next_token
2898
+ # A token for requesting another page of certificates if the
2899
+ # `NextToken` response element indicates that more certificates are
2900
+ # available. Use the value of the returned `NextToken` element in your
2901
+ # request until the token comes back as `null`. Pass `null` if this is
2902
+ # the first call.
2903
+ # @return [String]
2904
+ #
2905
+ # @!attribute [rw] limit
2906
+ # The number of items that should show up on one page
2907
+ # @return [Integer]
2908
+ #
2909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListCertificatesRequest AWS API Documentation
2910
+ #
2911
+ class ListCertificatesRequest < Struct.new(
2912
+ :directory_id,
2913
+ :next_token,
2914
+ :limit)
2915
+ include Aws::Structure
2916
+ end
2917
+
2918
+ # @!attribute [rw] next_token
2919
+ # Indicates whether another page of certificates is available when the
2920
+ # number of available certificates exceeds the page limit.
2921
+ # @return [String]
2922
+ #
2923
+ # @!attribute [rw] certificates_info
2924
+ # A list of certificates with basic details including certificate ID,
2925
+ # certificate common name, certificate state.
2926
+ # @return [Array<Types::CertificateInfo>]
2927
+ #
2928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListCertificatesResult AWS API Documentation
2929
+ #
2930
+ class ListCertificatesResult < Struct.new(
2931
+ :next_token,
2932
+ :certificates_info)
2933
+ include Aws::Structure
2934
+ end
2935
+
2484
2936
  # @note When making an API call, you may pass ListIpRoutesRequest
2485
2937
  # data as a hash:
2486
2938
  #
@@ -2706,6 +3158,25 @@ module Aws::DirectoryService
2706
3158
  include Aws::Structure
2707
3159
  end
2708
3160
 
3161
+ # The LDAP activities could not be performed because at least one valid
3162
+ # certificate must be registered with the system.
3163
+ #
3164
+ # @!attribute [rw] message
3165
+ # The descriptive message for the exception.
3166
+ # @return [String]
3167
+ #
3168
+ # @!attribute [rw] request_id
3169
+ # The AWS request identifier.
3170
+ # @return [String]
3171
+ #
3172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/NoAvailableCertificateException AWS API Documentation
3173
+ #
3174
+ class NoAvailableCertificateException < Struct.new(
3175
+ :message,
3176
+ :request_id)
3177
+ include Aws::Structure
3178
+ end
3179
+
2709
3180
  # Exception encountered while trying to access your AWS organization.
2710
3181
  #
2711
3182
  # @!attribute [rw] message
@@ -2834,6 +3305,41 @@ module Aws::DirectoryService
2834
3305
  include Aws::Structure
2835
3306
  end
2836
3307
 
3308
+ # @note When making an API call, you may pass RegisterCertificateRequest
3309
+ # data as a hash:
3310
+ #
3311
+ # {
3312
+ # directory_id: "DirectoryId", # required
3313
+ # certificate_data: "CertificateData", # required
3314
+ # }
3315
+ #
3316
+ # @!attribute [rw] directory_id
3317
+ # The identifier of the directory.
3318
+ # @return [String]
3319
+ #
3320
+ # @!attribute [rw] certificate_data
3321
+ # The certificate PEM string that needs to be registered.
3322
+ # @return [String]
3323
+ #
3324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificateRequest AWS API Documentation
3325
+ #
3326
+ class RegisterCertificateRequest < Struct.new(
3327
+ :directory_id,
3328
+ :certificate_data)
3329
+ include Aws::Structure
3330
+ end
3331
+
3332
+ # @!attribute [rw] certificate_id
3333
+ # The identifier of the certificate.
3334
+ # @return [String]
3335
+ #
3336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificateResult AWS API Documentation
3337
+ #
3338
+ class RegisterCertificateResult < Struct.new(
3339
+ :certificate_id)
3340
+ include Aws::Structure
3341
+ end
3342
+
2837
3343
  # Registers a new event topic.
2838
3344
  #
2839
3345
  # @note When making an API call, you may pass RegisterEventTopicRequest