@aws-sdk/client-directory-service 3.428.0 → 3.429.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.
@@ -65,7 +65,7 @@ export interface SharedDirectory {
65
65
  * shared within your Amazon Web Services organization (<code>ORGANIZATIONS</code>) or with any Amazon Web Services account by
66
66
  * sending a shared directory request (<code>HANDSHAKE</code>).</p>
67
67
  */
68
- ShareMethod?: ShareMethod | string;
68
+ ShareMethod?: ShareMethod;
69
69
  /**
70
70
  * @public
71
71
  * <p>Identifier of the directory consumer account that has access to the shared directory
@@ -82,7 +82,7 @@ export interface SharedDirectory {
82
82
  * @public
83
83
  * <p>Current directory status of the shared Managed Microsoft AD directory.</p>
84
84
  */
85
- ShareStatus?: ShareStatus | string;
85
+ ShareStatus?: ShareStatus;
86
86
  /**
87
87
  * @public
88
88
  * <p>A directory share request that is sent by the directory owner to the directory consumer.
@@ -730,7 +730,7 @@ export interface Certificate {
730
730
  * @public
731
731
  * <p>The state of the certificate.</p>
732
732
  */
733
- State?: CertificateState | string;
733
+ State?: CertificateState;
734
734
  /**
735
735
  * @public
736
736
  * <p>Describes a state change for the certificate.</p>
@@ -755,7 +755,7 @@ export interface Certificate {
755
755
  * @public
756
756
  * <p>The function that the registered certificate performs. Valid values include <code>ClientLDAPS</code> or <code>ClientCertAuth</code>. The default value is <code>ClientLDAPS</code>.</p>
757
757
  */
758
- Type?: CertificateType | string;
758
+ Type?: CertificateType;
759
759
  /**
760
760
  * @public
761
761
  * <p>A <code>ClientCertAuthSettings</code> object that contains client certificate authentication settings.</p>
@@ -825,7 +825,7 @@ export interface CertificateInfo {
825
825
  * @public
826
826
  * <p>The state of the certificate.</p>
827
827
  */
828
- State?: CertificateState | string;
828
+ State?: CertificateState;
829
829
  /**
830
830
  * @public
831
831
  * <p>The date and time when the certificate will expire.</p>
@@ -835,7 +835,7 @@ export interface CertificateInfo {
835
835
  * @public
836
836
  * <p>The function that the registered certificate performs. Valid values include <code>ClientLDAPS</code> or <code>ClientCertAuth</code>. The default value is <code>ClientLDAPS</code>.</p>
837
837
  */
838
- Type?: CertificateType | string;
838
+ Type?: CertificateType;
839
839
  }
840
840
  /**
841
841
  * @public
@@ -915,12 +915,12 @@ export interface ClientAuthenticationSettingInfo {
915
915
  * @public
916
916
  * <p>The type of client authentication for the specified directory. If no type is specified, a list of all client authentication types that are supported for the directory is retrieved. </p>
917
917
  */
918
- Type?: ClientAuthenticationType | string;
918
+ Type?: ClientAuthenticationType;
919
919
  /**
920
920
  * @public
921
921
  * <p>Whether the client authentication type is enabled or disabled for the specified directory.</p>
922
922
  */
923
- Status?: ClientAuthenticationStatus | string;
923
+ Status?: ClientAuthenticationStatus;
924
924
  /**
925
925
  * @public
926
926
  * <p>The date and time when the status of the client authentication type was last updated.</p>
@@ -985,7 +985,7 @@ export interface ConditionalForwarder {
985
985
  * <code>Domain</code>, which will replicate the conditional forwarder to all of the domain
986
986
  * controllers for your Amazon Web Services directory.</p>
987
987
  */
988
- ReplicationScope?: ReplicationScope | string;
988
+ ReplicationScope?: ReplicationScope;
989
989
  }
990
990
  /**
991
991
  * @public
@@ -1069,7 +1069,7 @@ export interface ConnectDirectoryRequest {
1069
1069
  * @public
1070
1070
  * <p>The size of the directory.</p>
1071
1071
  */
1072
- Size: DirectorySize | string | undefined;
1072
+ Size: DirectorySize | undefined;
1073
1073
  /**
1074
1074
  * @public
1075
1075
  * <p>A <a>DirectoryConnectSettings</a> object that contains additional information
@@ -1282,7 +1282,7 @@ export interface CreateDirectoryRequest {
1282
1282
  * @public
1283
1283
  * <p>The size of the directory.</p>
1284
1284
  */
1285
- Size: DirectorySize | string | undefined;
1285
+ Size: DirectorySize | undefined;
1286
1286
  /**
1287
1287
  * @public
1288
1288
  * <p>A <a>DirectoryVpcSettings</a> object that contains additional information for
@@ -1403,7 +1403,7 @@ export interface CreateMicrosoftADRequest {
1403
1403
  * <p>Managed Microsoft AD is available in two editions: <code>Standard</code> and
1404
1404
  * <code>Enterprise</code>. <code>Enterprise</code> is the default.</p>
1405
1405
  */
1406
- Edition?: DirectoryEdition | string;
1406
+ Edition?: DirectoryEdition;
1407
1407
  /**
1408
1408
  * @public
1409
1409
  * <p>The tags to be assigned to the Managed Microsoft AD directory.</p>
@@ -1541,12 +1541,12 @@ export interface CreateTrustRequest {
1541
1541
  * @public
1542
1542
  * <p>The direction of the trust relationship.</p>
1543
1543
  */
1544
- TrustDirection: TrustDirection | string | undefined;
1544
+ TrustDirection: TrustDirection | undefined;
1545
1545
  /**
1546
1546
  * @public
1547
1547
  * <p>The trust relationship type. <code>Forest</code> is the default.</p>
1548
1548
  */
1549
- TrustType?: TrustType | string;
1549
+ TrustType?: TrustType;
1550
1550
  /**
1551
1551
  * @public
1552
1552
  * <p>The IP addresses of the remote DNS server associated with RemoteDomainName.</p>
@@ -1556,7 +1556,7 @@ export interface CreateTrustRequest {
1556
1556
  * @public
1557
1557
  * <p>Optional parameter to enable selective authentication for the trust.</p>
1558
1558
  */
1559
- SelectiveAuth?: SelectiveAuth | string;
1559
+ SelectiveAuth?: SelectiveAuth;
1560
1560
  }
1561
1561
  /**
1562
1562
  * @public
@@ -1762,7 +1762,7 @@ export interface DescribeClientAuthenticationSettingsRequest {
1762
1762
  * @public
1763
1763
  * <p>The type of client authentication for which to retrieve information. If no type is specified, a list of all client authentication types that are supported for the specified directory is retrieved.</p>
1764
1764
  */
1765
- Type?: ClientAuthenticationType | string;
1765
+ Type?: ClientAuthenticationType;
1766
1766
  /**
1767
1767
  * @public
1768
1768
  * <p>The <i>DescribeClientAuthenticationSettingsResult.NextToken</i> value from a previous call to <a>DescribeClientAuthenticationSettings</a>. Pass null if this is the first call.</p>
@@ -1945,7 +1945,7 @@ export interface RadiusSettings {
1945
1945
  * @public
1946
1946
  * <p>The protocol specified for your RADIUS endpoints.</p>
1947
1947
  */
1948
- AuthenticationProtocol?: RadiusAuthenticationProtocol | string;
1948
+ AuthenticationProtocol?: RadiusAuthenticationProtocol;
1949
1949
  /**
1950
1950
  * @public
1951
1951
  * <p>Not currently used.</p>
@@ -2033,7 +2033,7 @@ export interface OwnerDirectoryDescription {
2033
2033
  * @public
2034
2034
  * <p>Information about the status of the RADIUS server.</p>
2035
2035
  */
2036
- RadiusStatus?: RadiusStatus | string;
2036
+ RadiusStatus?: RadiusStatus;
2037
2037
  }
2038
2038
  /**
2039
2039
  * @public
@@ -2112,12 +2112,12 @@ export interface DirectoryDescription {
2112
2112
  * @public
2113
2113
  * <p>The directory size.</p>
2114
2114
  */
2115
- Size?: DirectorySize | string;
2115
+ Size?: DirectorySize;
2116
2116
  /**
2117
2117
  * @public
2118
2118
  * <p>The edition associated with this directory.</p>
2119
2119
  */
2120
- Edition?: DirectoryEdition | string;
2120
+ Edition?: DirectoryEdition;
2121
2121
  /**
2122
2122
  * @public
2123
2123
  * <p>The alias for the directory. If no alias has been created for the directory, the alias is
@@ -2149,19 +2149,19 @@ export interface DirectoryDescription {
2149
2149
  * @public
2150
2150
  * <p>The current stage of the directory.</p>
2151
2151
  */
2152
- Stage?: DirectoryStage | string;
2152
+ Stage?: DirectoryStage;
2153
2153
  /**
2154
2154
  * @public
2155
2155
  * <p>Current directory status of the shared Managed Microsoft AD directory.</p>
2156
2156
  */
2157
- ShareStatus?: ShareStatus | string;
2157
+ ShareStatus?: ShareStatus;
2158
2158
  /**
2159
2159
  * @public
2160
2160
  * <p>The method used when sharing a directory to determine whether the directory should be
2161
2161
  * shared within your Amazon Web Services organization (<code>ORGANIZATIONS</code>) or with any Amazon Web Services account by
2162
2162
  * sending a shared directory request (<code>HANDSHAKE</code>).</p>
2163
2163
  */
2164
- ShareMethod?: ShareMethod | string;
2164
+ ShareMethod?: ShareMethod;
2165
2165
  /**
2166
2166
  * @public
2167
2167
  * <p>A directory share request that is sent by the directory owner to the directory consumer.
@@ -2183,7 +2183,7 @@ export interface DirectoryDescription {
2183
2183
  * @public
2184
2184
  * <p>The directory size.</p>
2185
2185
  */
2186
- Type?: DirectoryType | string;
2186
+ Type?: DirectoryType;
2187
2187
  /**
2188
2188
  * @public
2189
2189
  * <p>A <a>DirectoryVpcSettingsDescription</a> object that contains additional
@@ -2208,7 +2208,7 @@ export interface DirectoryDescription {
2208
2208
  * @public
2209
2209
  * <p>The status of the RADIUS MFA server connection.</p>
2210
2210
  */
2211
- RadiusStatus?: RadiusStatus | string;
2211
+ RadiusStatus?: RadiusStatus;
2212
2212
  /**
2213
2213
  * @public
2214
2214
  * <p>Additional information about the directory stage.</p>
@@ -2239,7 +2239,7 @@ export interface DirectoryDescription {
2239
2239
  * @public
2240
2240
  * <p>The operating system (OS) version of the directory.</p>
2241
2241
  */
2242
- OsVersion?: OSVersion | string;
2242
+ OsVersion?: OSVersion;
2243
2243
  }
2244
2244
  /**
2245
2245
  * @public
@@ -2370,7 +2370,7 @@ export interface DomainController {
2370
2370
  * @public
2371
2371
  * <p>The status of the domain controller.</p>
2372
2372
  */
2373
- Status?: DomainControllerStatus | string;
2373
+ Status?: DomainControllerStatus;
2374
2374
  /**
2375
2375
  * @public
2376
2376
  * <p>A description of the domain controller state.</p>
@@ -2468,7 +2468,7 @@ export interface EventTopic {
2468
2468
  * @public
2469
2469
  * <p>The topic registration status.</p>
2470
2470
  */
2471
- Status?: TopicStatus | string;
2471
+ Status?: TopicStatus;
2472
2472
  }
2473
2473
  /**
2474
2474
  * @public
@@ -2507,7 +2507,7 @@ export interface DescribeLDAPSSettingsRequest {
2507
2507
  * <p>The type of LDAP security to enable. Currently only the value <code>Client</code> is
2508
2508
  * supported.</p>
2509
2509
  */
2510
- Type?: LDAPSType | string;
2510
+ Type?: LDAPSType;
2511
2511
  /**
2512
2512
  * @public
2513
2513
  * <p>The type of next token used for pagination.</p>
@@ -2542,7 +2542,7 @@ export interface LDAPSSettingInfo {
2542
2542
  * @public
2543
2543
  * <p>The state of the LDAPS settings.</p>
2544
2544
  */
2545
- LDAPSStatus?: LDAPSStatus | string;
2545
+ LDAPSStatus?: LDAPSStatus;
2546
2546
  /**
2547
2547
  * @public
2548
2548
  * <p>Describes a state change for LDAPS.</p>
@@ -2622,12 +2622,12 @@ export interface RegionDescription {
2622
2622
  * @public
2623
2623
  * <p>Specifies whether the Region is the primary Region or an additional Region.</p>
2624
2624
  */
2625
- RegionType?: RegionType | string;
2625
+ RegionType?: RegionType;
2626
2626
  /**
2627
2627
  * @public
2628
2628
  * <p>The status of the replication process for the specified Region.</p>
2629
2629
  */
2630
- Status?: DirectoryStage | string;
2630
+ Status?: DirectoryStage;
2631
2631
  /**
2632
2632
  * @public
2633
2633
  * <p>Contains VPC information for the <a>CreateDirectory</a> or <a>CreateMicrosoftAD</a> operation.</p>
@@ -2700,7 +2700,7 @@ export interface DescribeSettingsRequest {
2700
2700
  * @public
2701
2701
  * <p>The status of the directory settings for which to retrieve information.</p>
2702
2702
  */
2703
- Status?: DirectoryConfigurationStatus | string;
2703
+ Status?: DirectoryConfigurationStatus;
2704
2704
  /**
2705
2705
  * @public
2706
2706
  * <p>The <code>DescribeSettingsResult.NextToken</code> value from a previous call to <a>DescribeSettings</a>. Pass null if this is the first call.</p>
@@ -2745,12 +2745,12 @@ export interface SettingEntry {
2745
2745
  * @public
2746
2746
  * <p>The overall status of the request to update the directory setting request. If the directory setting is deployed in more than one region, and the request fails in any region, the overall status is <code>Failed</code>.</p>
2747
2747
  */
2748
- RequestStatus?: DirectoryConfigurationStatus | string;
2748
+ RequestStatus?: DirectoryConfigurationStatus;
2749
2749
  /**
2750
2750
  * @public
2751
2751
  * <p>Details about the status of the request to update the directory setting. If the directory setting is deployed in more than one region, status is returned for the request in each region where the setting is deployed.</p>
2752
2752
  */
2753
- RequestDetailedStatus?: Record<string, DirectoryConfigurationStatus | string>;
2753
+ RequestDetailedStatus?: Record<string, DirectoryConfigurationStatus>;
2754
2754
  /**
2755
2755
  * @public
2756
2756
  * <p>The last status message for the directory status request.</p>
@@ -2912,7 +2912,7 @@ export interface Snapshot {
2912
2912
  * @public
2913
2913
  * <p>The snapshot type.</p>
2914
2914
  */
2915
- Type?: SnapshotType | string;
2915
+ Type?: SnapshotType;
2916
2916
  /**
2917
2917
  * @public
2918
2918
  * <p>The descriptive name of the snapshot.</p>
@@ -2922,7 +2922,7 @@ export interface Snapshot {
2922
2922
  * @public
2923
2923
  * <p>The snapshot status.</p>
2924
2924
  */
2925
- Status?: SnapshotStatus | string;
2925
+ Status?: SnapshotStatus;
2926
2926
  /**
2927
2927
  * @public
2928
2928
  * <p>The date and time that the snapshot was taken.</p>
@@ -3030,17 +3030,17 @@ export interface Trust {
3030
3030
  * @public
3031
3031
  * <p>The trust relationship type. <code>Forest</code> is the default.</p>
3032
3032
  */
3033
- TrustType?: TrustType | string;
3033
+ TrustType?: TrustType;
3034
3034
  /**
3035
3035
  * @public
3036
3036
  * <p>The trust relationship direction.</p>
3037
3037
  */
3038
- TrustDirection?: TrustDirection | string;
3038
+ TrustDirection?: TrustDirection;
3039
3039
  /**
3040
3040
  * @public
3041
3041
  * <p>The trust relationship state.</p>
3042
3042
  */
3043
- TrustState?: TrustState | string;
3043
+ TrustState?: TrustState;
3044
3044
  /**
3045
3045
  * @public
3046
3046
  * <p>The date and time that the trust relationship was created.</p>
@@ -3065,7 +3065,7 @@ export interface Trust {
3065
3065
  * @public
3066
3066
  * <p>Current state of selective authentication for the trust.</p>
3067
3067
  */
3068
- SelectiveAuth?: SelectiveAuth | string;
3068
+ SelectiveAuth?: SelectiveAuth;
3069
3069
  }
3070
3070
  /**
3071
3071
  * @public
@@ -3116,7 +3116,7 @@ export interface DescribeUpdateDirectoryRequest {
3116
3116
  * The type of updates you want to describe for the directory.
3117
3117
  * </p>
3118
3118
  */
3119
- UpdateType: UpdateType | string | undefined;
3119
+ UpdateType: UpdateType | undefined;
3120
3120
  /**
3121
3121
  * @public
3122
3122
  * <p>
@@ -3145,7 +3145,7 @@ export interface OSUpdateSettings {
3145
3145
  * OS version that the directory needs to be updated to.
3146
3146
  * </p>
3147
3147
  */
3148
- OSVersion?: OSVersion | string;
3148
+ OSVersion?: OSVersion;
3149
3149
  }
3150
3150
  /**
3151
3151
  * @public
@@ -3195,7 +3195,7 @@ export interface UpdateInfoEntry {
3195
3195
  * The status of the update performed on the directory.
3196
3196
  * </p>
3197
3197
  */
3198
- Status?: UpdateStatus | string;
3198
+ Status?: UpdateStatus;
3199
3199
  /**
3200
3200
  * @public
3201
3201
  * <p>
@@ -3368,7 +3368,7 @@ export interface DisableClientAuthenticationRequest {
3368
3368
  * @public
3369
3369
  * <p>The type of client authentication to disable. Currently, only the parameter, <code>SmartCard</code> is supported.</p>
3370
3370
  */
3371
- Type: ClientAuthenticationType | string | undefined;
3371
+ Type: ClientAuthenticationType | undefined;
3372
3372
  }
3373
3373
  /**
3374
3374
  * @public
@@ -3411,7 +3411,7 @@ export interface DisableLDAPSRequest {
3411
3411
  * <p>The type of LDAP security to enable. Currently only the value <code>Client</code> is
3412
3412
  * supported.</p>
3413
3413
  */
3414
- Type: LDAPSType | string | undefined;
3414
+ Type: LDAPSType | undefined;
3415
3415
  }
3416
3416
  /**
3417
3417
  * @public
@@ -3510,7 +3510,7 @@ export interface EnableClientAuthenticationRequest {
3510
3510
  * Constrained Delegation for the Service User to the LDAP service in your self-managed AD.
3511
3511
  * </p>
3512
3512
  */
3513
- Type: ClientAuthenticationType | string | undefined;
3513
+ Type: ClientAuthenticationType | undefined;
3514
3514
  }
3515
3515
  /**
3516
3516
  * @public
@@ -3554,7 +3554,7 @@ export interface EnableLDAPSRequest {
3554
3554
  * <p>The type of LDAP security to enable. Currently only the value <code>Client</code> is
3555
3555
  * supported.</p>
3556
3556
  */
3557
- Type: LDAPSType | string | undefined;
3557
+ Type: LDAPSType | undefined;
3558
3558
  }
3559
3559
  /**
3560
3560
  * @public
@@ -3779,7 +3779,7 @@ export interface IpRouteInfo {
3779
3779
  * @public
3780
3780
  * <p>The status of the IP address block.</p>
3781
3781
  */
3782
- IpRouteStatusMsg?: IpRouteStatusMsg | string;
3782
+ IpRouteStatusMsg?: IpRouteStatusMsg;
3783
3783
  /**
3784
3784
  * @public
3785
3785
  * <p>The date and time the address block was added to the directory.</p>
@@ -3938,7 +3938,7 @@ export interface SchemaExtensionInfo {
3938
3938
  * @public
3939
3939
  * <p>The current status of the schema extension.</p>
3940
3940
  */
3941
- SchemaExtensionStatus?: SchemaExtensionStatus | string;
3941
+ SchemaExtensionStatus?: SchemaExtensionStatus;
3942
3942
  /**
3943
3943
  * @public
3944
3944
  * <p>The reason for the <code>SchemaExtensionStatus</code>.</p>
@@ -4048,7 +4048,7 @@ export interface RegisterCertificateRequest {
4048
4048
  * @public
4049
4049
  * <p>The function that the registered certificate performs. Valid values include <code>ClientLDAPS</code> or <code>ClientCertAuth</code>. The default value is <code>ClientLDAPS</code>.</p>
4050
4050
  */
4051
- Type?: CertificateType | string;
4051
+ Type?: CertificateType;
4052
4052
  /**
4053
4053
  * @public
4054
4054
  * <p>A <code>ClientCertAuthSettings</code> object that contains client certificate authentication settings.</p>
@@ -4322,7 +4322,7 @@ export interface ShareTarget {
4322
4322
  * @public
4323
4323
  * <p>Type of identifier to be used in the <code>Id</code> field.</p>
4324
4324
  */
4325
- Type: TargetType | string | undefined;
4325
+ Type: TargetType | undefined;
4326
4326
  }
4327
4327
  /**
4328
4328
  * @public
@@ -4352,7 +4352,7 @@ export interface ShareDirectoryRequest {
4352
4352
  * shared within your Amazon Web Services organization (<code>ORGANIZATIONS</code>) or with any Amazon Web Services account by
4353
4353
  * sending a directory sharing request (<code>HANDSHAKE</code>).</p>
4354
4354
  */
4355
- ShareMethod: ShareMethod | string | undefined;
4355
+ ShareMethod: ShareMethod | undefined;
4356
4356
  }
4357
4357
  /**
4358
4358
  * @public
@@ -4442,7 +4442,7 @@ export interface UnshareTarget {
4442
4442
  * @public
4443
4443
  * <p>Type of identifier to be used in the <i>Id</i> field.</p>
4444
4444
  */
4445
- Type: TargetType | string | undefined;
4445
+ Type: TargetType | undefined;
4446
4446
  }
4447
4447
  /**
4448
4448
  * @public
@@ -4519,7 +4519,7 @@ export interface UpdateDirectorySetupRequest {
4519
4519
  * The type of update that needs to be performed on the directory. For example, OS.
4520
4520
  * </p>
4521
4521
  */
4522
- UpdateType: UpdateType | string | undefined;
4522
+ UpdateType: UpdateType | undefined;
4523
4523
  /**
4524
4524
  * @public
4525
4525
  * <p>
@@ -4709,7 +4709,7 @@ export interface UpdateTrustRequest {
4709
4709
  * @public
4710
4710
  * <p>Updates selective authentication for the trust.</p>
4711
4711
  */
4712
- SelectiveAuth?: SelectiveAuth | string;
4712
+ SelectiveAuth?: SelectiveAuth;
4713
4713
  }
4714
4714
  /**
4715
4715
  * @public
@@ -23,10 +23,10 @@ export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
23
23
  export interface SharedDirectory {
24
24
  OwnerAccountId?: string;
25
25
  OwnerDirectoryId?: string;
26
- ShareMethod?: ShareMethod | string;
26
+ ShareMethod?: ShareMethod;
27
27
  SharedAccountId?: string;
28
28
  SharedDirectoryId?: string;
29
- ShareStatus?: ShareStatus | string;
29
+ ShareStatus?: ShareStatus;
30
30
  ShareNotes?: string;
31
31
  CreatedDateTime?: Date;
32
32
  LastUpdatedDateTime?: Date;
@@ -230,12 +230,12 @@ export type CertificateType =
230
230
  (typeof CertificateType)[keyof typeof CertificateType];
231
231
  export interface Certificate {
232
232
  CertificateId?: string;
233
- State?: CertificateState | string;
233
+ State?: CertificateState;
234
234
  StateReason?: string;
235
235
  CommonName?: string;
236
236
  RegisteredDateTime?: Date;
237
237
  ExpiryDateTime?: Date;
238
- Type?: CertificateType | string;
238
+ Type?: CertificateType;
239
239
  ClientCertAuthSettings?: ClientCertAuthSettings;
240
240
  }
241
241
  export declare class CertificateAlreadyExistsException extends __BaseException {
@@ -265,9 +265,9 @@ export declare class CertificateDoesNotExistException extends __BaseException {
265
265
  export interface CertificateInfo {
266
266
  CertificateId?: string;
267
267
  CommonName?: string;
268
- State?: CertificateState | string;
268
+ State?: CertificateState;
269
269
  ExpiryDateTime?: Date;
270
- Type?: CertificateType | string;
270
+ Type?: CertificateType;
271
271
  }
272
272
  export declare class CertificateInUseException extends __BaseException {
273
273
  readonly name: "CertificateInUseException";
@@ -303,8 +303,8 @@ export declare const ClientAuthenticationType: {
303
303
  export type ClientAuthenticationType =
304
304
  (typeof ClientAuthenticationType)[keyof typeof ClientAuthenticationType];
305
305
  export interface ClientAuthenticationSettingInfo {
306
- Type?: ClientAuthenticationType | string;
307
- Status?: ClientAuthenticationStatus | string;
306
+ Type?: ClientAuthenticationType;
307
+ Status?: ClientAuthenticationStatus;
308
308
  LastUpdatedDateTime?: Date;
309
309
  }
310
310
  export interface Computer {
@@ -320,7 +320,7 @@ export type ReplicationScope =
320
320
  export interface ConditionalForwarder {
321
321
  RemoteDomainName?: string;
322
322
  DnsIpAddrs?: string[];
323
- ReplicationScope?: ReplicationScope | string;
323
+ ReplicationScope?: ReplicationScope;
324
324
  }
325
325
  export interface DirectoryConnectSettings {
326
326
  VpcId: string | undefined;
@@ -338,7 +338,7 @@ export interface ConnectDirectoryRequest {
338
338
  ShortName?: string;
339
339
  Password: string | undefined;
340
340
  Description?: string;
341
- Size: DirectorySize | string | undefined;
341
+ Size: DirectorySize | undefined;
342
342
  ConnectSettings: DirectoryConnectSettings | undefined;
343
343
  Tags?: Tag[];
344
344
  }
@@ -386,7 +386,7 @@ export interface CreateDirectoryRequest {
386
386
  ShortName?: string;
387
387
  Password: string | undefined;
388
388
  Description?: string;
389
- Size: DirectorySize | string | undefined;
389
+ Size: DirectorySize | undefined;
390
390
  VpcSettings?: DirectoryVpcSettings;
391
391
  Tags?: Tag[];
392
392
  }
@@ -422,7 +422,7 @@ export interface CreateMicrosoftADRequest {
422
422
  Password: string | undefined;
423
423
  Description?: string;
424
424
  VpcSettings: DirectoryVpcSettings | undefined;
425
- Edition?: DirectoryEdition | string;
425
+ Edition?: DirectoryEdition;
426
426
  Tags?: Tag[];
427
427
  }
428
428
  export interface CreateMicrosoftADResult {
@@ -465,10 +465,10 @@ export interface CreateTrustRequest {
465
465
  DirectoryId: string | undefined;
466
466
  RemoteDomainName: string | undefined;
467
467
  TrustPassword: string | undefined;
468
- TrustDirection: TrustDirection | string | undefined;
469
- TrustType?: TrustType | string;
468
+ TrustDirection: TrustDirection | undefined;
469
+ TrustType?: TrustType;
470
470
  ConditionalForwarderIpAddrs?: string[];
471
- SelectiveAuth?: SelectiveAuth | string;
471
+ SelectiveAuth?: SelectiveAuth;
472
472
  }
473
473
  export interface CreateTrustResult {
474
474
  TrustId?: string;
@@ -520,7 +520,7 @@ export interface DescribeCertificateResult {
520
520
  }
521
521
  export interface DescribeClientAuthenticationSettingsRequest {
522
522
  DirectoryId: string | undefined;
523
- Type?: ClientAuthenticationType | string;
523
+ Type?: ClientAuthenticationType;
524
524
  NextToken?: string;
525
525
  Limit?: number;
526
526
  }
@@ -567,7 +567,7 @@ export interface RadiusSettings {
567
567
  RadiusTimeout?: number;
568
568
  RadiusRetries?: number;
569
569
  SharedSecret?: string;
570
- AuthenticationProtocol?: RadiusAuthenticationProtocol | string;
570
+ AuthenticationProtocol?: RadiusAuthenticationProtocol;
571
571
  DisplayLabel?: string;
572
572
  UseSameUsername?: boolean;
573
573
  }
@@ -589,7 +589,7 @@ export interface OwnerDirectoryDescription {
589
589
  DnsIpAddrs?: string[];
590
590
  VpcSettings?: DirectoryVpcSettingsDescription;
591
591
  RadiusSettings?: RadiusSettings;
592
- RadiusStatus?: RadiusStatus | string;
592
+ RadiusStatus?: RadiusStatus;
593
593
  }
594
594
  export interface RegionsInfo {
595
595
  PrimaryRegion?: string;
@@ -621,29 +621,29 @@ export interface DirectoryDescription {
621
621
  DirectoryId?: string;
622
622
  Name?: string;
623
623
  ShortName?: string;
624
- Size?: DirectorySize | string;
625
- Edition?: DirectoryEdition | string;
624
+ Size?: DirectorySize;
625
+ Edition?: DirectoryEdition;
626
626
  Alias?: string;
627
627
  AccessUrl?: string;
628
628
  Description?: string;
629
629
  DnsIpAddrs?: string[];
630
- Stage?: DirectoryStage | string;
631
- ShareStatus?: ShareStatus | string;
632
- ShareMethod?: ShareMethod | string;
630
+ Stage?: DirectoryStage;
631
+ ShareStatus?: ShareStatus;
632
+ ShareMethod?: ShareMethod;
633
633
  ShareNotes?: string;
634
634
  LaunchTime?: Date;
635
635
  StageLastUpdatedDateTime?: Date;
636
- Type?: DirectoryType | string;
636
+ Type?: DirectoryType;
637
637
  VpcSettings?: DirectoryVpcSettingsDescription;
638
638
  ConnectSettings?: DirectoryConnectSettingsDescription;
639
639
  RadiusSettings?: RadiusSettings;
640
- RadiusStatus?: RadiusStatus | string;
640
+ RadiusStatus?: RadiusStatus;
641
641
  StageReason?: string;
642
642
  SsoEnabled?: boolean;
643
643
  DesiredNumberOfDomainControllers?: number;
644
644
  OwnerDirectoryDescription?: OwnerDirectoryDescription;
645
645
  RegionsInfo?: RegionsInfo;
646
- OsVersion?: OSVersion | string;
646
+ OsVersion?: OSVersion;
647
647
  }
648
648
  export interface DescribeDirectoriesResult {
649
649
  DirectoryDescriptions?: DirectoryDescription[];
@@ -682,7 +682,7 @@ export interface DomainController {
682
682
  VpcId?: string;
683
683
  SubnetId?: string;
684
684
  AvailabilityZone?: string;
685
- Status?: DomainControllerStatus | string;
685
+ Status?: DomainControllerStatus;
686
686
  StatusReason?: string;
687
687
  LaunchTime?: Date;
688
688
  StatusLastUpdatedDateTime?: Date;
@@ -707,7 +707,7 @@ export interface EventTopic {
707
707
  TopicName?: string;
708
708
  TopicArn?: string;
709
709
  CreatedDateTime?: Date;
710
- Status?: TopicStatus | string;
710
+ Status?: TopicStatus;
711
711
  }
712
712
  export interface DescribeEventTopicsResult {
713
713
  EventTopics?: EventTopic[];
@@ -718,7 +718,7 @@ export declare const LDAPSType: {
718
718
  export type LDAPSType = (typeof LDAPSType)[keyof typeof LDAPSType];
719
719
  export interface DescribeLDAPSSettingsRequest {
720
720
  DirectoryId: string | undefined;
721
- Type?: LDAPSType | string;
721
+ Type?: LDAPSType;
722
722
  NextToken?: string;
723
723
  Limit?: number;
724
724
  }
@@ -730,7 +730,7 @@ export declare const LDAPSStatus: {
730
730
  };
731
731
  export type LDAPSStatus = (typeof LDAPSStatus)[keyof typeof LDAPSStatus];
732
732
  export interface LDAPSSettingInfo {
733
- LDAPSStatus?: LDAPSStatus | string;
733
+ LDAPSStatus?: LDAPSStatus;
734
734
  LDAPSStatusReason?: string;
735
735
  LastUpdatedDateTime?: Date;
736
736
  }
@@ -751,8 +751,8 @@ export type RegionType = (typeof RegionType)[keyof typeof RegionType];
751
751
  export interface RegionDescription {
752
752
  DirectoryId?: string;
753
753
  RegionName?: string;
754
- RegionType?: RegionType | string;
755
- Status?: DirectoryStage | string;
754
+ RegionType?: RegionType;
755
+ Status?: DirectoryStage;
756
756
  VpcSettings?: DirectoryVpcSettings;
757
757
  DesiredNumberOfDomainControllers?: number;
758
758
  LaunchTime?: Date;
@@ -774,7 +774,7 @@ export type DirectoryConfigurationStatus =
774
774
  (typeof DirectoryConfigurationStatus)[keyof typeof DirectoryConfigurationStatus];
775
775
  export interface DescribeSettingsRequest {
776
776
  DirectoryId: string | undefined;
777
- Status?: DirectoryConfigurationStatus | string;
777
+ Status?: DirectoryConfigurationStatus;
778
778
  NextToken?: string;
779
779
  }
780
780
  export interface SettingEntry {
@@ -783,8 +783,8 @@ export interface SettingEntry {
783
783
  AllowedValues?: string;
784
784
  AppliedValue?: string;
785
785
  RequestedValue?: string;
786
- RequestStatus?: DirectoryConfigurationStatus | string;
787
- RequestDetailedStatus?: Record<string, DirectoryConfigurationStatus | string>;
786
+ RequestStatus?: DirectoryConfigurationStatus;
787
+ RequestDetailedStatus?: Record<string, DirectoryConfigurationStatus>;
788
788
  RequestStatusMessage?: string;
789
789
  LastUpdatedDateTime?: Date;
790
790
  LastRequestedDateTime?: Date;
@@ -826,9 +826,9 @@ export type SnapshotType = (typeof SnapshotType)[keyof typeof SnapshotType];
826
826
  export interface Snapshot {
827
827
  DirectoryId?: string;
828
828
  SnapshotId?: string;
829
- Type?: SnapshotType | string;
829
+ Type?: SnapshotType;
830
830
  Name?: string;
831
- Status?: SnapshotStatus | string;
831
+ Status?: SnapshotStatus;
832
832
  StartTime?: Date;
833
833
  }
834
834
  export interface DescribeSnapshotsResult {
@@ -859,14 +859,14 @@ export interface Trust {
859
859
  DirectoryId?: string;
860
860
  TrustId?: string;
861
861
  RemoteDomainName?: string;
862
- TrustType?: TrustType | string;
863
- TrustDirection?: TrustDirection | string;
864
- TrustState?: TrustState | string;
862
+ TrustType?: TrustType;
863
+ TrustDirection?: TrustDirection;
864
+ TrustState?: TrustState;
865
865
  CreatedDateTime?: Date;
866
866
  LastUpdatedDateTime?: Date;
867
867
  StateLastUpdatedDateTime?: Date;
868
868
  TrustStateReason?: string;
869
- SelectiveAuth?: SelectiveAuth | string;
869
+ SelectiveAuth?: SelectiveAuth;
870
870
  }
871
871
  export interface DescribeTrustsResult {
872
872
  Trusts?: Trust[];
@@ -878,12 +878,12 @@ export declare const UpdateType: {
878
878
  export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
879
879
  export interface DescribeUpdateDirectoryRequest {
880
880
  DirectoryId: string | undefined;
881
- UpdateType: UpdateType | string | undefined;
881
+ UpdateType: UpdateType | undefined;
882
882
  RegionName?: string;
883
883
  NextToken?: string;
884
884
  }
885
885
  export interface OSUpdateSettings {
886
- OSVersion?: OSVersion | string;
886
+ OSVersion?: OSVersion;
887
887
  }
888
888
  export interface UpdateValue {
889
889
  OSUpdateSettings?: OSUpdateSettings;
@@ -896,7 +896,7 @@ export declare const UpdateStatus: {
896
896
  export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
897
897
  export interface UpdateInfoEntry {
898
898
  Region?: string;
899
- Status?: UpdateStatus | string;
899
+ Status?: UpdateStatus;
900
900
  StatusReason?: string;
901
901
  InitiatedBy?: string;
902
902
  NewValue?: UpdateValue;
@@ -942,7 +942,7 @@ export declare class DirectoryNotSharedException extends __BaseException {
942
942
  }
943
943
  export interface DisableClientAuthenticationRequest {
944
944
  DirectoryId: string | undefined;
945
- Type: ClientAuthenticationType | string | undefined;
945
+ Type: ClientAuthenticationType | undefined;
946
946
  }
947
947
  export interface DisableClientAuthenticationResult {}
948
948
  export declare class InvalidClientAuthStatusException extends __BaseException {
@@ -959,7 +959,7 @@ export declare class InvalidClientAuthStatusException extends __BaseException {
959
959
  }
960
960
  export interface DisableLDAPSRequest {
961
961
  DirectoryId: string | undefined;
962
- Type: LDAPSType | string | undefined;
962
+ Type: LDAPSType | undefined;
963
963
  }
964
964
  export interface DisableLDAPSResult {}
965
965
  export declare class InvalidLDAPSStatusException extends __BaseException {
@@ -983,7 +983,7 @@ export interface DisableSsoRequest {
983
983
  export interface DisableSsoResult {}
984
984
  export interface EnableClientAuthenticationRequest {
985
985
  DirectoryId: string | undefined;
986
- Type: ClientAuthenticationType | string | undefined;
986
+ Type: ClientAuthenticationType | undefined;
987
987
  }
988
988
  export interface EnableClientAuthenticationResult {}
989
989
  export declare class NoAvailableCertificateException extends __BaseException {
@@ -1000,7 +1000,7 @@ export declare class NoAvailableCertificateException extends __BaseException {
1000
1000
  }
1001
1001
  export interface EnableLDAPSRequest {
1002
1002
  DirectoryId: string | undefined;
1003
- Type: LDAPSType | string | undefined;
1003
+ Type: LDAPSType | undefined;
1004
1004
  }
1005
1005
  export interface EnableLDAPSResult {}
1006
1006
  export interface EnableRadiusRequest {
@@ -1056,7 +1056,7 @@ export type IpRouteStatusMsg =
1056
1056
  export interface IpRouteInfo {
1057
1057
  DirectoryId?: string;
1058
1058
  CidrIp?: string;
1059
- IpRouteStatusMsg?: IpRouteStatusMsg | string;
1059
+ IpRouteStatusMsg?: IpRouteStatusMsg;
1060
1060
  AddedDateTime?: Date;
1061
1061
  IpRouteStatusReason?: string;
1062
1062
  Description?: string;
@@ -1101,7 +1101,7 @@ export interface SchemaExtensionInfo {
1101
1101
  DirectoryId?: string;
1102
1102
  SchemaExtensionId?: string;
1103
1103
  Description?: string;
1104
- SchemaExtensionStatus?: SchemaExtensionStatus | string;
1104
+ SchemaExtensionStatus?: SchemaExtensionStatus;
1105
1105
  SchemaExtensionStatusReason?: string;
1106
1106
  StartDateTime?: Date;
1107
1107
  EndDateTime?: Date;
@@ -1131,7 +1131,7 @@ export declare class InvalidCertificateException extends __BaseException {
1131
1131
  export interface RegisterCertificateRequest {
1132
1132
  DirectoryId: string | undefined;
1133
1133
  CertificateData: string | undefined;
1134
- Type?: CertificateType | string;
1134
+ Type?: CertificateType;
1135
1135
  ClientCertAuthSettings?: ClientCertAuthSettings;
1136
1136
  }
1137
1137
  export interface RegisterCertificateResult {
@@ -1214,13 +1214,13 @@ export declare const TargetType: {
1214
1214
  export type TargetType = (typeof TargetType)[keyof typeof TargetType];
1215
1215
  export interface ShareTarget {
1216
1216
  Id: string | undefined;
1217
- Type: TargetType | string | undefined;
1217
+ Type: TargetType | undefined;
1218
1218
  }
1219
1219
  export interface ShareDirectoryRequest {
1220
1220
  DirectoryId: string | undefined;
1221
1221
  ShareNotes?: string;
1222
1222
  ShareTarget: ShareTarget | undefined;
1223
- ShareMethod: ShareMethod | string | undefined;
1223
+ ShareMethod: ShareMethod | undefined;
1224
1224
  }
1225
1225
  export interface ShareDirectoryResult {
1226
1226
  SharedDirectoryId?: string;
@@ -1245,7 +1245,7 @@ export interface StartSchemaExtensionResult {
1245
1245
  }
1246
1246
  export interface UnshareTarget {
1247
1247
  Id: string | undefined;
1248
- Type: TargetType | string | undefined;
1248
+ Type: TargetType | undefined;
1249
1249
  }
1250
1250
  export interface UnshareDirectoryRequest {
1251
1251
  DirectoryId: string | undefined;
@@ -1262,7 +1262,7 @@ export interface UpdateConditionalForwarderRequest {
1262
1262
  export interface UpdateConditionalForwarderResult {}
1263
1263
  export interface UpdateDirectorySetupRequest {
1264
1264
  DirectoryId: string | undefined;
1265
- UpdateType: UpdateType | string | undefined;
1265
+ UpdateType: UpdateType | undefined;
1266
1266
  OSUpdateSettings?: OSUpdateSettings;
1267
1267
  CreateSnapshotBeforeUpdate?: boolean;
1268
1268
  }
@@ -1320,7 +1320,7 @@ export interface UpdateSettingsResult {
1320
1320
  }
1321
1321
  export interface UpdateTrustRequest {
1322
1322
  TrustId: string | undefined;
1323
- SelectiveAuth?: SelectiveAuth | string;
1323
+ SelectiveAuth?: SelectiveAuth;
1324
1324
  }
1325
1325
  export interface UpdateTrustResult {
1326
1326
  RequestId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-directory-service",
3
3
  "description": "AWS SDK for JavaScript Directory Service Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",