directoryservice.d.ts (77684B)
1 import {Request} from '../lib/request'; 2 import {Response} from '../lib/response'; 3 import {AWSError} from '../lib/error'; 4 import {Service} from '../lib/service'; 5 import {ServiceConfigurationOptions} from '../lib/service'; 6 import {ConfigBase as Config} from '../lib/config'; 7 interface Blob {} 8 declare class DirectoryService extends Service { 9 /** 10 * Constructs a service object. This object has one method for each API operation. 11 */ 12 constructor(options?: DirectoryService.Types.ClientConfiguration) 13 config: Config & DirectoryService.Types.ClientConfiguration; 14 /** 15 * If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC. Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 16 */ 17 addIpRoutes(params: DirectoryService.Types.AddIpRoutesRequest, callback?: (err: AWSError, data: DirectoryService.Types.AddIpRoutesResult) => void): Request<DirectoryService.Types.AddIpRoutesResult, AWSError>; 18 /** 19 * If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC. Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 20 */ 21 addIpRoutes(callback?: (err: AWSError, data: DirectoryService.Types.AddIpRoutesResult) => void): Request<DirectoryService.Types.AddIpRoutesResult, AWSError>; 22 /** 23 * Adds or overwrites one or more tags for the specified Amazon Directory Services directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource. 24 */ 25 addTagsToResource(params: DirectoryService.Types.AddTagsToResourceRequest, callback?: (err: AWSError, data: DirectoryService.Types.AddTagsToResourceResult) => void): Request<DirectoryService.Types.AddTagsToResourceResult, AWSError>; 26 /** 27 * Adds or overwrites one or more tags for the specified Amazon Directory Services directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource. 28 */ 29 addTagsToResource(callback?: (err: AWSError, data: DirectoryService.Types.AddTagsToResourceResult) => void): Request<DirectoryService.Types.AddTagsToResourceResult, AWSError>; 30 /** 31 * Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema. 32 */ 33 cancelSchemaExtension(params: DirectoryService.Types.CancelSchemaExtensionRequest, callback?: (err: AWSError, data: DirectoryService.Types.CancelSchemaExtensionResult) => void): Request<DirectoryService.Types.CancelSchemaExtensionResult, AWSError>; 34 /** 35 * Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema. 36 */ 37 cancelSchemaExtension(callback?: (err: AWSError, data: DirectoryService.Types.CancelSchemaExtensionResult) => void): Request<DirectoryService.Types.CancelSchemaExtensionResult, AWSError>; 38 /** 39 * Creates an AD Connector to connect to an on-premises directory. Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 40 */ 41 connectDirectory(params: DirectoryService.Types.ConnectDirectoryRequest, callback?: (err: AWSError, data: DirectoryService.Types.ConnectDirectoryResult) => void): Request<DirectoryService.Types.ConnectDirectoryResult, AWSError>; 42 /** 43 * Creates an AD Connector to connect to an on-premises directory. Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 44 */ 45 connectDirectory(callback?: (err: AWSError, data: DirectoryService.Types.ConnectDirectoryResult) => void): Request<DirectoryService.Types.ConnectDirectoryResult, AWSError>; 46 /** 47 * Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as http://<alias>.awsapps.com. After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary. 48 */ 49 createAlias(params: DirectoryService.Types.CreateAliasRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateAliasResult) => void): Request<DirectoryService.Types.CreateAliasResult, AWSError>; 50 /** 51 * Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as http://<alias>.awsapps.com. After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary. 52 */ 53 createAlias(callback?: (err: AWSError, data: DirectoryService.Types.CreateAliasResult) => void): Request<DirectoryService.Types.CreateAliasResult, AWSError>; 54 /** 55 * Creates a computer account in the specified directory, and joins the computer to the directory. 56 */ 57 createComputer(params: DirectoryService.Types.CreateComputerRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateComputerResult) => void): Request<DirectoryService.Types.CreateComputerResult, AWSError>; 58 /** 59 * Creates a computer account in the specified directory, and joins the computer to the directory. 60 */ 61 createComputer(callback?: (err: AWSError, data: DirectoryService.Types.CreateComputerResult) => void): Request<DirectoryService.Types.CreateComputerResult, AWSError>; 62 /** 63 * Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain. 64 */ 65 createConditionalForwarder(params: DirectoryService.Types.CreateConditionalForwarderRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateConditionalForwarderResult) => void): Request<DirectoryService.Types.CreateConditionalForwarderResult, AWSError>; 66 /** 67 * Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain. 68 */ 69 createConditionalForwarder(callback?: (err: AWSError, data: DirectoryService.Types.CreateConditionalForwarderResult) => void): Request<DirectoryService.Types.CreateConditionalForwarderResult, AWSError>; 70 /** 71 * Creates a Simple AD directory. Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 72 */ 73 createDirectory(params: DirectoryService.Types.CreateDirectoryRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateDirectoryResult) => void): Request<DirectoryService.Types.CreateDirectoryResult, AWSError>; 74 /** 75 * Creates a Simple AD directory. Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 76 */ 77 createDirectory(callback?: (err: AWSError, data: DirectoryService.Types.CreateDirectoryResult) => void): Request<DirectoryService.Types.CreateDirectoryResult, AWSError>; 78 /** 79 * Creates a Microsoft AD in the AWS cloud. Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 80 */ 81 createMicrosoftAD(params: DirectoryService.Types.CreateMicrosoftADRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateMicrosoftADResult) => void): Request<DirectoryService.Types.CreateMicrosoftADResult, AWSError>; 82 /** 83 * Creates a Microsoft AD in the AWS cloud. Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 84 */ 85 createMicrosoftAD(callback?: (err: AWSError, data: DirectoryService.Types.CreateMicrosoftADResult) => void): Request<DirectoryService.Types.CreateMicrosoftADResult, AWSError>; 86 /** 87 * Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud. You cannot take snapshots of AD Connector directories. 88 */ 89 createSnapshot(params: DirectoryService.Types.CreateSnapshotRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateSnapshotResult) => void): Request<DirectoryService.Types.CreateSnapshotResult, AWSError>; 90 /** 91 * Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud. You cannot take snapshots of AD Connector directories. 92 */ 93 createSnapshot(callback?: (err: AWSError, data: DirectoryService.Types.CreateSnapshotResult) => void): Request<DirectoryService.Types.CreateSnapshotResult, AWSError>; 94 /** 95 * AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials. This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain. 96 */ 97 createTrust(params: DirectoryService.Types.CreateTrustRequest, callback?: (err: AWSError, data: DirectoryService.Types.CreateTrustResult) => void): Request<DirectoryService.Types.CreateTrustResult, AWSError>; 98 /** 99 * AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials. This action initiates the creation of the AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain. 100 */ 101 createTrust(callback?: (err: AWSError, data: DirectoryService.Types.CreateTrustResult) => void): Request<DirectoryService.Types.CreateTrustResult, AWSError>; 102 /** 103 * Deletes a conditional forwarder that has been set up for your AWS directory. 104 */ 105 deleteConditionalForwarder(params: DirectoryService.Types.DeleteConditionalForwarderRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteConditionalForwarderResult) => void): Request<DirectoryService.Types.DeleteConditionalForwarderResult, AWSError>; 106 /** 107 * Deletes a conditional forwarder that has been set up for your AWS directory. 108 */ 109 deleteConditionalForwarder(callback?: (err: AWSError, data: DirectoryService.Types.DeleteConditionalForwarderResult) => void): Request<DirectoryService.Types.DeleteConditionalForwarderResult, AWSError>; 110 /** 111 * Deletes an AWS Directory Service directory. Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 112 */ 113 deleteDirectory(params: DirectoryService.Types.DeleteDirectoryRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteDirectoryResult) => void): Request<DirectoryService.Types.DeleteDirectoryResult, AWSError>; 114 /** 115 * Deletes an AWS Directory Service directory. Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference. 116 */ 117 deleteDirectory(callback?: (err: AWSError, data: DirectoryService.Types.DeleteDirectoryResult) => void): Request<DirectoryService.Types.DeleteDirectoryResult, AWSError>; 118 /** 119 * Deletes a directory snapshot. 120 */ 121 deleteSnapshot(params: DirectoryService.Types.DeleteSnapshotRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteSnapshotResult) => void): Request<DirectoryService.Types.DeleteSnapshotResult, AWSError>; 122 /** 123 * Deletes a directory snapshot. 124 */ 125 deleteSnapshot(callback?: (err: AWSError, data: DirectoryService.Types.DeleteSnapshotResult) => void): Request<DirectoryService.Types.DeleteSnapshotResult, AWSError>; 126 /** 127 * Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain. 128 */ 129 deleteTrust(params: DirectoryService.Types.DeleteTrustRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeleteTrustResult) => void): Request<DirectoryService.Types.DeleteTrustResult, AWSError>; 130 /** 131 * Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain. 132 */ 133 deleteTrust(callback?: (err: AWSError, data: DirectoryService.Types.DeleteTrustResult) => void): Request<DirectoryService.Types.DeleteTrustResult, AWSError>; 134 /** 135 * Removes the specified directory as a publisher to the specified SNS topic. 136 */ 137 deregisterEventTopic(params: DirectoryService.Types.DeregisterEventTopicRequest, callback?: (err: AWSError, data: DirectoryService.Types.DeregisterEventTopicResult) => void): Request<DirectoryService.Types.DeregisterEventTopicResult, AWSError>; 138 /** 139 * Removes the specified directory as a publisher to the specified SNS topic. 140 */ 141 deregisterEventTopic(callback?: (err: AWSError, data: DirectoryService.Types.DeregisterEventTopicResult) => void): Request<DirectoryService.Types.DeregisterEventTopicResult, AWSError>; 142 /** 143 * Obtains information about the conditional forwarders for this account. If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID. 144 */ 145 describeConditionalForwarders(params: DirectoryService.Types.DescribeConditionalForwardersRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeConditionalForwardersResult) => void): Request<DirectoryService.Types.DescribeConditionalForwardersResult, AWSError>; 146 /** 147 * Obtains information about the conditional forwarders for this account. If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID. 148 */ 149 describeConditionalForwarders(callback?: (err: AWSError, data: DirectoryService.Types.DescribeConditionalForwardersResult) => void): Request<DirectoryService.Types.DescribeConditionalForwardersResult, AWSError>; 150 /** 151 * Obtains information about the directories that belong to this account. You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. 152 */ 153 describeDirectories(params: DirectoryService.Types.DescribeDirectoriesRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeDirectoriesResult) => void): Request<DirectoryService.Types.DescribeDirectoriesResult, AWSError>; 154 /** 155 * Obtains information about the directories that belong to this account. You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. 156 */ 157 describeDirectories(callback?: (err: AWSError, data: DirectoryService.Types.DescribeDirectoriesResult) => void): Request<DirectoryService.Types.DescribeDirectoriesResult, AWSError>; 158 /** 159 * Obtains information about which SNS topics receive status messages from the specified directory. If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account. 160 */ 161 describeEventTopics(params: DirectoryService.Types.DescribeEventTopicsRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeEventTopicsResult) => void): Request<DirectoryService.Types.DescribeEventTopicsResult, AWSError>; 162 /** 163 * Obtains information about which SNS topics receive status messages from the specified directory. If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account. 164 */ 165 describeEventTopics(callback?: (err: AWSError, data: DirectoryService.Types.DescribeEventTopicsResult) => void): Request<DirectoryService.Types.DescribeEventTopicsResult, AWSError>; 166 /** 167 * Obtains information about the directory snapshots that belong to this account. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. 168 */ 169 describeSnapshots(params: DirectoryService.Types.DescribeSnapshotsRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeSnapshotsResult) => void): Request<DirectoryService.Types.DescribeSnapshotsResult, AWSError>; 170 /** 171 * Obtains information about the directory snapshots that belong to this account. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items. You can also specify a maximum number of return results with the Limit parameter. 172 */ 173 describeSnapshots(callback?: (err: AWSError, data: DirectoryService.Types.DescribeSnapshotsResult) => void): Request<DirectoryService.Types.DescribeSnapshotsResult, AWSError>; 174 /** 175 * Obtains information about the trust relationships for this account. If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account. 176 */ 177 describeTrusts(params: DirectoryService.Types.DescribeTrustsRequest, callback?: (err: AWSError, data: DirectoryService.Types.DescribeTrustsResult) => void): Request<DirectoryService.Types.DescribeTrustsResult, AWSError>; 178 /** 179 * Obtains information about the trust relationships for this account. If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account. 180 */ 181 describeTrusts(callback?: (err: AWSError, data: DirectoryService.Types.DescribeTrustsResult) => void): Request<DirectoryService.Types.DescribeTrustsResult, AWSError>; 182 /** 183 * Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. 184 */ 185 disableRadius(params: DirectoryService.Types.DisableRadiusRequest, callback?: (err: AWSError, data: DirectoryService.Types.DisableRadiusResult) => void): Request<DirectoryService.Types.DisableRadiusResult, AWSError>; 186 /** 187 * Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. 188 */ 189 disableRadius(callback?: (err: AWSError, data: DirectoryService.Types.DisableRadiusResult) => void): Request<DirectoryService.Types.DisableRadiusResult, AWSError>; 190 /** 191 * Disables single-sign on for a directory. 192 */ 193 disableSso(params: DirectoryService.Types.DisableSsoRequest, callback?: (err: AWSError, data: DirectoryService.Types.DisableSsoResult) => void): Request<DirectoryService.Types.DisableSsoResult, AWSError>; 194 /** 195 * Disables single-sign on for a directory. 196 */ 197 disableSso(callback?: (err: AWSError, data: DirectoryService.Types.DisableSsoResult) => void): Request<DirectoryService.Types.DisableSsoResult, AWSError>; 198 /** 199 * Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. 200 */ 201 enableRadius(params: DirectoryService.Types.EnableRadiusRequest, callback?: (err: AWSError, data: DirectoryService.Types.EnableRadiusResult) => void): Request<DirectoryService.Types.EnableRadiusResult, AWSError>; 202 /** 203 * Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector directory. 204 */ 205 enableRadius(callback?: (err: AWSError, data: DirectoryService.Types.EnableRadiusResult) => void): Request<DirectoryService.Types.EnableRadiusResult, AWSError>; 206 /** 207 * Enables single-sign on for a directory. 208 */ 209 enableSso(params: DirectoryService.Types.EnableSsoRequest, callback?: (err: AWSError, data: DirectoryService.Types.EnableSsoResult) => void): Request<DirectoryService.Types.EnableSsoResult, AWSError>; 210 /** 211 * Enables single-sign on for a directory. 212 */ 213 enableSso(callback?: (err: AWSError, data: DirectoryService.Types.EnableSsoResult) => void): Request<DirectoryService.Types.EnableSsoResult, AWSError>; 214 /** 215 * Obtains directory limit information for the current region. 216 */ 217 getDirectoryLimits(params: DirectoryService.Types.GetDirectoryLimitsRequest, callback?: (err: AWSError, data: DirectoryService.Types.GetDirectoryLimitsResult) => void): Request<DirectoryService.Types.GetDirectoryLimitsResult, AWSError>; 218 /** 219 * Obtains directory limit information for the current region. 220 */ 221 getDirectoryLimits(callback?: (err: AWSError, data: DirectoryService.Types.GetDirectoryLimitsResult) => void): Request<DirectoryService.Types.GetDirectoryLimitsResult, AWSError>; 222 /** 223 * Obtains the manual snapshot limits for a directory. 224 */ 225 getSnapshotLimits(params: DirectoryService.Types.GetSnapshotLimitsRequest, callback?: (err: AWSError, data: DirectoryService.Types.GetSnapshotLimitsResult) => void): Request<DirectoryService.Types.GetSnapshotLimitsResult, AWSError>; 226 /** 227 * Obtains the manual snapshot limits for a directory. 228 */ 229 getSnapshotLimits(callback?: (err: AWSError, data: DirectoryService.Types.GetSnapshotLimitsResult) => void): Request<DirectoryService.Types.GetSnapshotLimitsResult, AWSError>; 230 /** 231 * Lists the address blocks that you have added to a directory. 232 */ 233 listIpRoutes(params: DirectoryService.Types.ListIpRoutesRequest, callback?: (err: AWSError, data: DirectoryService.Types.ListIpRoutesResult) => void): Request<DirectoryService.Types.ListIpRoutesResult, AWSError>; 234 /** 235 * Lists the address blocks that you have added to a directory. 236 */ 237 listIpRoutes(callback?: (err: AWSError, data: DirectoryService.Types.ListIpRoutesResult) => void): Request<DirectoryService.Types.ListIpRoutesResult, AWSError>; 238 /** 239 * Lists all schema extensions applied to a Microsoft AD Directory. 240 */ 241 listSchemaExtensions(params: DirectoryService.Types.ListSchemaExtensionsRequest, callback?: (err: AWSError, data: DirectoryService.Types.ListSchemaExtensionsResult) => void): Request<DirectoryService.Types.ListSchemaExtensionsResult, AWSError>; 242 /** 243 * Lists all schema extensions applied to a Microsoft AD Directory. 244 */ 245 listSchemaExtensions(callback?: (err: AWSError, data: DirectoryService.Types.ListSchemaExtensionsResult) => void): Request<DirectoryService.Types.ListSchemaExtensionsResult, AWSError>; 246 /** 247 * Lists all tags on an Amazon Directory Services directory. 248 */ 249 listTagsForResource(params: DirectoryService.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: DirectoryService.Types.ListTagsForResourceResult) => void): Request<DirectoryService.Types.ListTagsForResourceResult, AWSError>; 250 /** 251 * Lists all tags on an Amazon Directory Services directory. 252 */ 253 listTagsForResource(callback?: (err: AWSError, data: DirectoryService.Types.ListTagsForResourceResult) => void): Request<DirectoryService.Types.ListTagsForResourceResult, AWSError>; 254 /** 255 * Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status. 256 */ 257 registerEventTopic(params: DirectoryService.Types.RegisterEventTopicRequest, callback?: (err: AWSError, data: DirectoryService.Types.RegisterEventTopicResult) => void): Request<DirectoryService.Types.RegisterEventTopicResult, AWSError>; 258 /** 259 * Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status. 260 */ 261 registerEventTopic(callback?: (err: AWSError, data: DirectoryService.Types.RegisterEventTopicResult) => void): Request<DirectoryService.Types.RegisterEventTopicResult, AWSError>; 262 /** 263 * Removes IP address blocks from a directory. 264 */ 265 removeIpRoutes(params: DirectoryService.Types.RemoveIpRoutesRequest, callback?: (err: AWSError, data: DirectoryService.Types.RemoveIpRoutesResult) => void): Request<DirectoryService.Types.RemoveIpRoutesResult, AWSError>; 266 /** 267 * Removes IP address blocks from a directory. 268 */ 269 removeIpRoutes(callback?: (err: AWSError, data: DirectoryService.Types.RemoveIpRoutesResult) => void): Request<DirectoryService.Types.RemoveIpRoutesResult, AWSError>; 270 /** 271 * Removes tags from an Amazon Directory Services directory. 272 */ 273 removeTagsFromResource(params: DirectoryService.Types.RemoveTagsFromResourceRequest, callback?: (err: AWSError, data: DirectoryService.Types.RemoveTagsFromResourceResult) => void): Request<DirectoryService.Types.RemoveTagsFromResourceResult, AWSError>; 274 /** 275 * Removes tags from an Amazon Directory Services directory. 276 */ 277 removeTagsFromResource(callback?: (err: AWSError, data: DirectoryService.Types.RemoveTagsFromResourceResult) => void): Request<DirectoryService.Types.RemoveTagsFromResourceResult, AWSError>; 278 /** 279 * Restores a directory using an existing directory snapshot. When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten. This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active, the restore operation is complete. 280 */ 281 restoreFromSnapshot(params: DirectoryService.Types.RestoreFromSnapshotRequest, callback?: (err: AWSError, data: DirectoryService.Types.RestoreFromSnapshotResult) => void): Request<DirectoryService.Types.RestoreFromSnapshotResult, AWSError>; 282 /** 283 * Restores a directory using an existing directory snapshot. When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten. This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active, the restore operation is complete. 284 */ 285 restoreFromSnapshot(callback?: (err: AWSError, data: DirectoryService.Types.RestoreFromSnapshotResult) => void): Request<DirectoryService.Types.RestoreFromSnapshotResult, AWSError>; 286 /** 287 * Applies a schema extension to a Microsoft AD directory. 288 */ 289 startSchemaExtension(params: DirectoryService.Types.StartSchemaExtensionRequest, callback?: (err: AWSError, data: DirectoryService.Types.StartSchemaExtensionResult) => void): Request<DirectoryService.Types.StartSchemaExtensionResult, AWSError>; 290 /** 291 * Applies a schema extension to a Microsoft AD directory. 292 */ 293 startSchemaExtension(callback?: (err: AWSError, data: DirectoryService.Types.StartSchemaExtensionResult) => void): Request<DirectoryService.Types.StartSchemaExtensionResult, AWSError>; 294 /** 295 * Updates a conditional forwarder that has been set up for your AWS directory. 296 */ 297 updateConditionalForwarder(params: DirectoryService.Types.UpdateConditionalForwarderRequest, callback?: (err: AWSError, data: DirectoryService.Types.UpdateConditionalForwarderResult) => void): Request<DirectoryService.Types.UpdateConditionalForwarderResult, AWSError>; 298 /** 299 * Updates a conditional forwarder that has been set up for your AWS directory. 300 */ 301 updateConditionalForwarder(callback?: (err: AWSError, data: DirectoryService.Types.UpdateConditionalForwarderResult) => void): Request<DirectoryService.Types.UpdateConditionalForwarderResult, AWSError>; 302 /** 303 * Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory. 304 */ 305 updateRadius(params: DirectoryService.Types.UpdateRadiusRequest, callback?: (err: AWSError, data: DirectoryService.Types.UpdateRadiusResult) => void): Request<DirectoryService.Types.UpdateRadiusResult, AWSError>; 306 /** 307 * Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory. 308 */ 309 updateRadius(callback?: (err: AWSError, data: DirectoryService.Types.UpdateRadiusResult) => void): Request<DirectoryService.Types.UpdateRadiusResult, AWSError>; 310 /** 311 * AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships. This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain. 312 */ 313 verifyTrust(params: DirectoryService.Types.VerifyTrustRequest, callback?: (err: AWSError, data: DirectoryService.Types.VerifyTrustResult) => void): Request<DirectoryService.Types.VerifyTrustResult, AWSError>; 314 /** 315 * AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships. This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain. 316 */ 317 verifyTrust(callback?: (err: AWSError, data: DirectoryService.Types.VerifyTrustResult) => void): Request<DirectoryService.Types.VerifyTrustResult, AWSError>; 318 } 319 declare namespace DirectoryService.Types { 320 export type AccessUrl = string; 321 export interface AddIpRoutesRequest { 322 /** 323 * Identifier (ID) of the directory to which to add the address block. 324 */ 325 DirectoryId: DirectoryId; 326 /** 327 * IP address blocks, using CIDR format, of the traffic to route. This is often the IP address block of the DNS server used for your on-premises domain. 328 */ 329 IpRoutes: IpRoutes; 330 /** 331 * If set to true, updates the inbound and outbound rules of the security group that has the description: "AWS created security group for directory ID directory controllers." Following are the new rules: Inbound: Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0 Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: 0.0.0.0/0 Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: 0.0.0.0/0 Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0 Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0 Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0 Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0 Outbound: Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0 These security rules impact an internal network interface that is not exposed publicly. 332 */ 333 UpdateSecurityGroupForDirectoryControllers?: UpdateSecurityGroupForDirectoryControllers; 334 } 335 export interface AddIpRoutesResult { 336 } 337 export interface AddTagsToResourceRequest { 338 /** 339 * Identifier (ID) for the directory to which to add the tag. 340 */ 341 ResourceId: ResourceId; 342 /** 343 * The tags to be assigned to the Amazon Directory Services directory. 344 */ 345 Tags: Tags; 346 } 347 export interface AddTagsToResourceResult { 348 } 349 export type AddedDateTime = Date; 350 export type AliasName = string; 351 export interface Attribute { 352 /** 353 * The name of the attribute. 354 */ 355 Name?: AttributeName; 356 /** 357 * The value of the attribute. 358 */ 359 Value?: AttributeValue; 360 } 361 export type AttributeName = string; 362 export type AttributeValue = string; 363 export type Attributes = Attribute[]; 364 export type AvailabilityZone = string; 365 export type AvailabilityZones = AvailabilityZone[]; 366 export interface CancelSchemaExtensionRequest { 367 /** 368 * The identifier of the directory whose schema extension will be canceled. 369 */ 370 DirectoryId: DirectoryId; 371 /** 372 * The identifier of the schema extension that will be canceled. 373 */ 374 SchemaExtensionId: SchemaExtensionId; 375 } 376 export interface CancelSchemaExtensionResult { 377 } 378 export type CidrIp = string; 379 export type CidrIps = CidrIp[]; 380 export type CloudOnlyDirectoriesLimitReached = boolean; 381 export interface Computer { 382 /** 383 * The identifier of the computer. 384 */ 385 ComputerId?: SID; 386 /** 387 * The computer name. 388 */ 389 ComputerName?: ComputerName; 390 /** 391 * An array of Attribute objects containing the LDAP attributes that belong to the computer account. 392 */ 393 ComputerAttributes?: Attributes; 394 } 395 export type ComputerName = string; 396 export type ComputerPassword = string; 397 export interface ConditionalForwarder { 398 /** 399 * The fully qualified domain name (FQDN) of the remote domains pointed to by the conditional forwarder. 400 */ 401 RemoteDomainName?: RemoteDomainName; 402 /** 403 * The IP addresses of the remote DNS server associated with RemoteDomainName. This is the IP address of the DNS server that your conditional forwarder points to. 404 */ 405 DnsIpAddrs?: DnsIpAddrs; 406 /** 407 * The replication scope of the conditional forwarder. The only allowed value is Domain, which will replicate the conditional forwarder to all of the domain controllers for your AWS directory. 408 */ 409 ReplicationScope?: ReplicationScope; 410 } 411 export type ConditionalForwarders = ConditionalForwarder[]; 412 export interface ConnectDirectoryRequest { 413 /** 414 * The fully-qualified name of the on-premises directory, such as corp.example.com. 415 */ 416 Name: DirectoryName; 417 /** 418 * The NetBIOS name of the on-premises directory, such as CORP. 419 */ 420 ShortName?: DirectoryShortName; 421 /** 422 * The password for the on-premises user account. 423 */ 424 Password: ConnectPassword; 425 /** 426 * A textual description for the directory. 427 */ 428 Description?: Description; 429 /** 430 * The size of the directory. 431 */ 432 Size: DirectorySize; 433 /** 434 * A DirectoryConnectSettings object that contains additional information for the operation. 435 */ 436 ConnectSettings: DirectoryConnectSettings; 437 } 438 export interface ConnectDirectoryResult { 439 /** 440 * The identifier of the new directory. 441 */ 442 DirectoryId?: DirectoryId; 443 } 444 export type ConnectPassword = string; 445 export type ConnectedDirectoriesLimitReached = boolean; 446 export interface CreateAliasRequest { 447 /** 448 * The identifier of the directory for which to create the alias. 449 */ 450 DirectoryId: DirectoryId; 451 /** 452 * The requested alias. The alias must be unique amongst all aliases in AWS. This operation throws an EntityAlreadyExistsException error if the alias already exists. 453 */ 454 Alias: AliasName; 455 } 456 export interface CreateAliasResult { 457 /** 458 * The identifier of the directory. 459 */ 460 DirectoryId?: DirectoryId; 461 /** 462 * The alias for the directory. 463 */ 464 Alias?: AliasName; 465 } 466 export interface CreateComputerRequest { 467 /** 468 * The identifier of the directory in which to create the computer account. 469 */ 470 DirectoryId: DirectoryId; 471 /** 472 * The name of the computer account. 473 */ 474 ComputerName: ComputerName; 475 /** 476 * A one-time password that is used to join the computer to the directory. You should generate a random, strong password to use for this parameter. 477 */ 478 Password: ComputerPassword; 479 /** 480 * The fully-qualified distinguished name of the organizational unit to place the computer account in. 481 */ 482 OrganizationalUnitDistinguishedName?: OrganizationalUnitDN; 483 /** 484 * An array of Attribute objects that contain any LDAP attributes to apply to the computer account. 485 */ 486 ComputerAttributes?: Attributes; 487 } 488 export interface CreateComputerResult { 489 /** 490 * A Computer object that represents the computer account. 491 */ 492 Computer?: Computer; 493 } 494 export interface CreateConditionalForwarderRequest { 495 /** 496 * The directory ID of the AWS directory for which you are creating the conditional forwarder. 497 */ 498 DirectoryId: DirectoryId; 499 /** 500 * The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship. 501 */ 502 RemoteDomainName: RemoteDomainName; 503 /** 504 * The IP addresses of the remote DNS server associated with RemoteDomainName. 505 */ 506 DnsIpAddrs: DnsIpAddrs; 507 } 508 export interface CreateConditionalForwarderResult { 509 } 510 export interface CreateDirectoryRequest { 511 /** 512 * The fully qualified name for the directory, such as corp.example.com. 513 */ 514 Name: DirectoryName; 515 /** 516 * The short name of the directory, such as CORP. 517 */ 518 ShortName?: DirectoryShortName; 519 /** 520 * The password for the directory administrator. The directory creation process creates a directory administrator account with the username Administrator and this password. 521 */ 522 Password: Password; 523 /** 524 * A textual description for the directory. 525 */ 526 Description?: Description; 527 /** 528 * The size of the directory. 529 */ 530 Size: DirectorySize; 531 /** 532 * A DirectoryVpcSettings object that contains additional information for the operation. 533 */ 534 VpcSettings?: DirectoryVpcSettings; 535 } 536 export interface CreateDirectoryResult { 537 /** 538 * The identifier of the directory that was created. 539 */ 540 DirectoryId?: DirectoryId; 541 } 542 export interface CreateMicrosoftADRequest { 543 /** 544 * The fully qualified domain name for the directory, such as corp.example.com. This name will resolve inside your VPC only. It does not need to be publicly resolvable. 545 */ 546 Name: DirectoryName; 547 /** 548 * The NetBIOS name for your domain. A short identifier for your domain, such as CORP. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com. 549 */ 550 ShortName?: DirectoryShortName; 551 /** 552 * The password for the default administrative user named Admin. 553 */ 554 Password: Password; 555 /** 556 * A textual description for the directory. This label will appear on the AWS console Directory Details page after the directory is created. 557 */ 558 Description?: Description; 559 VpcSettings: DirectoryVpcSettings; 560 } 561 export interface CreateMicrosoftADResult { 562 /** 563 * The identifier of the directory that was created. 564 */ 565 DirectoryId?: DirectoryId; 566 } 567 export type CreateSnapshotBeforeSchemaExtension = boolean; 568 export interface CreateSnapshotRequest { 569 /** 570 * The identifier of the directory of which to take a snapshot. 571 */ 572 DirectoryId: DirectoryId; 573 /** 574 * The descriptive name to apply to the snapshot. 575 */ 576 Name?: SnapshotName; 577 } 578 export interface CreateSnapshotResult { 579 /** 580 * The identifier of the snapshot that was created. 581 */ 582 SnapshotId?: SnapshotId; 583 } 584 export interface CreateTrustRequest { 585 /** 586 * The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship. 587 */ 588 DirectoryId: DirectoryId; 589 /** 590 * The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship. 591 */ 592 RemoteDomainName: RemoteDomainName; 593 /** 594 * The trust password. The must be the same password that was used when creating the trust relationship on the external domain. 595 */ 596 TrustPassword: TrustPassword; 597 /** 598 * The direction of the trust relationship. 599 */ 600 TrustDirection: TrustDirection; 601 /** 602 * The trust relationship type. 603 */ 604 TrustType?: TrustType; 605 /** 606 * The IP addresses of the remote DNS server associated with RemoteDomainName. 607 */ 608 ConditionalForwarderIpAddrs?: DnsIpAddrs; 609 } 610 export interface CreateTrustResult { 611 /** 612 * A unique identifier for the trust relationship that was created. 613 */ 614 TrustId?: TrustId; 615 } 616 export type CreatedDateTime = Date; 617 export type DeleteAssociatedConditionalForwarder = boolean; 618 export interface DeleteConditionalForwarderRequest { 619 /** 620 * The directory ID for which you are deleting the conditional forwarder. 621 */ 622 DirectoryId: DirectoryId; 623 /** 624 * The fully qualified domain name (FQDN) of the remote domain with which you are deleting the conditional forwarder. 625 */ 626 RemoteDomainName: RemoteDomainName; 627 } 628 export interface DeleteConditionalForwarderResult { 629 } 630 export interface DeleteDirectoryRequest { 631 /** 632 * The identifier of the directory to delete. 633 */ 634 DirectoryId: DirectoryId; 635 } 636 export interface DeleteDirectoryResult { 637 /** 638 * The directory identifier. 639 */ 640 DirectoryId?: DirectoryId; 641 } 642 export interface DeleteSnapshotRequest { 643 /** 644 * The identifier of the directory snapshot to be deleted. 645 */ 646 SnapshotId: SnapshotId; 647 } 648 export interface DeleteSnapshotResult { 649 /** 650 * The identifier of the directory snapshot that was deleted. 651 */ 652 SnapshotId?: SnapshotId; 653 } 654 export interface DeleteTrustRequest { 655 /** 656 * The Trust ID of the trust relationship to be deleted. 657 */ 658 TrustId: TrustId; 659 /** 660 * Delete a conditional forwarder as part of a DeleteTrustRequest. 661 */ 662 DeleteAssociatedConditionalForwarder?: DeleteAssociatedConditionalForwarder; 663 } 664 export interface DeleteTrustResult { 665 /** 666 * The Trust ID of the trust relationship that was deleted. 667 */ 668 TrustId?: TrustId; 669 } 670 export interface DeregisterEventTopicRequest { 671 /** 672 * The Directory ID to remove as a publisher. This directory will no longer send messages to the specified SNS topic. 673 */ 674 DirectoryId: DirectoryId; 675 /** 676 * The name of the SNS topic from which to remove the directory as a publisher. 677 */ 678 TopicName: TopicName; 679 } 680 export interface DeregisterEventTopicResult { 681 } 682 export interface DescribeConditionalForwardersRequest { 683 /** 684 * The directory ID for which to get the list of associated conditional forwarders. 685 */ 686 DirectoryId: DirectoryId; 687 /** 688 * The fully qualified domain names (FQDN) of the remote domains for which to get the list of associated conditional forwarders. If this member is null, all conditional forwarders are returned. 689 */ 690 RemoteDomainNames?: RemoteDomainNames; 691 } 692 export interface DescribeConditionalForwardersResult { 693 /** 694 * The list of conditional forwarders that have been created. 695 */ 696 ConditionalForwarders?: ConditionalForwarders; 697 } 698 export interface DescribeDirectoriesRequest { 699 /** 700 * A list of identifiers of the directories for which to obtain the information. If this member is null, all directories that belong to the current account are returned. An empty list results in an InvalidParameterException being thrown. 701 */ 702 DirectoryIds?: DirectoryIds; 703 /** 704 * The DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories. Pass null if this is the first call. 705 */ 706 NextToken?: NextToken; 707 /** 708 * The maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation. 709 */ 710 Limit?: Limit; 711 } 712 export interface DescribeDirectoriesResult { 713 /** 714 * The list of DirectoryDescription objects that were retrieved. It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded. 715 */ 716 DirectoryDescriptions?: DirectoryDescriptions; 717 /** 718 * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDirectories to retrieve the next set of items. 719 */ 720 NextToken?: NextToken; 721 } 722 export interface DescribeEventTopicsRequest { 723 /** 724 * The Directory ID for which to get the list of associated SNS topics. If this member is null, associations for all Directory IDs are returned. 725 */ 726 DirectoryId?: DirectoryId; 727 /** 728 * A list of SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned. An empty list results in an InvalidParameterException being thrown. 729 */ 730 TopicNames?: TopicNames; 731 } 732 export interface DescribeEventTopicsResult { 733 /** 734 * A list of SNS topic names that receive status messages from the specified Directory ID. 735 */ 736 EventTopics?: EventTopics; 737 } 738 export interface DescribeSnapshotsRequest { 739 /** 740 * The identifier of the directory for which to retrieve snapshot information. 741 */ 742 DirectoryId?: DirectoryId; 743 /** 744 * A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members. 745 */ 746 SnapshotIds?: SnapshotIds; 747 /** 748 * The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. Pass null if this is the first call. 749 */ 750 NextToken?: NextToken; 751 /** 752 * The maximum number of objects to return. 753 */ 754 Limit?: Limit; 755 } 756 export interface DescribeSnapshotsResult { 757 /** 758 * The list of Snapshot objects that were retrieved. It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded. 759 */ 760 Snapshots?: Snapshots; 761 /** 762 * If not null, more results are available. Pass this value in the NextToken member of a subsequent call to DescribeSnapshots. 763 */ 764 NextToken?: NextToken; 765 } 766 export interface DescribeTrustsRequest { 767 /** 768 * The Directory ID of the AWS directory that is a part of the requested trust relationship. 769 */ 770 DirectoryId?: DirectoryId; 771 /** 772 * A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned. An empty list results in an InvalidParameterException being thrown. 773 */ 774 TrustIds?: TrustIds; 775 /** 776 * The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts. Pass null if this is the first call. 777 */ 778 NextToken?: NextToken; 779 /** 780 * The maximum number of objects to return. 781 */ 782 Limit?: Limit; 783 } 784 export interface DescribeTrustsResult { 785 /** 786 * The list of Trust objects that were retrieved. It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded. 787 */ 788 Trusts?: Trusts; 789 /** 790 * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items. 791 */ 792 NextToken?: NextToken; 793 } 794 export type Description = string; 795 export interface DirectoryConnectSettings { 796 /** 797 * The identifier of the VPC in which the AD Connector is created. 798 */ 799 VpcId: VpcId; 800 /** 801 * A list of subnet identifiers in the VPC in which the AD Connector is created. 802 */ 803 SubnetIds: SubnetIds; 804 /** 805 * A list of one or more IP addresses of DNS servers or domain controllers in the on-premises directory. 806 */ 807 CustomerDnsIps: DnsIpAddrs; 808 /** 809 * The username of an account in the on-premises directory that is used to connect to the directory. This account must have the following privileges: Read users and groups Create computer objects Join computers to the domain 810 */ 811 CustomerUserName: UserName; 812 } 813 export interface DirectoryConnectSettingsDescription { 814 /** 815 * The identifier of the VPC that the AD Connector is in. 816 */ 817 VpcId?: VpcId; 818 /** 819 * A list of subnet identifiers in the VPC that the AD connector is in. 820 */ 821 SubnetIds?: SubnetIds; 822 /** 823 * The username of the service account in the on-premises directory. 824 */ 825 CustomerUserName?: UserName; 826 /** 827 * The security group identifier for the AD Connector directory. 828 */ 829 SecurityGroupId?: SecurityGroupId; 830 /** 831 * A list of the Availability Zones that the directory is in. 832 */ 833 AvailabilityZones?: AvailabilityZones; 834 /** 835 * The IP addresses of the AD Connector servers. 836 */ 837 ConnectIps?: IpAddrs; 838 } 839 export interface DirectoryDescription { 840 /** 841 * The directory identifier. 842 */ 843 DirectoryId?: DirectoryId; 844 /** 845 * The fully-qualified name of the directory. 846 */ 847 Name?: DirectoryName; 848 /** 849 * The short name of the directory. 850 */ 851 ShortName?: DirectoryShortName; 852 /** 853 * The directory size. 854 */ 855 Size?: DirectorySize; 856 /** 857 * The alias for the directory. If no alias has been created for the directory, the alias is the directory identifier, such as d-XXXXXXXXXX. 858 */ 859 Alias?: AliasName; 860 /** 861 * The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has been created for the directory, <alias> is the directory identifier, such as d-XXXXXXXXXX. 862 */ 863 AccessUrl?: AccessUrl; 864 /** 865 * The textual description for the directory. 866 */ 867 Description?: Description; 868 /** 869 * The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP addresses of the DNS servers or domain controllers in the on-premises directory to which the AD Connector is connected. 870 */ 871 DnsIpAddrs?: DnsIpAddrs; 872 /** 873 * The current stage of the directory. 874 */ 875 Stage?: DirectoryStage; 876 /** 877 * Specifies when the directory was created. 878 */ 879 LaunchTime?: LaunchTime; 880 /** 881 * The date and time that the stage was last updated. 882 */ 883 StageLastUpdatedDateTime?: LastUpdatedDateTime; 884 /** 885 * The directory size. 886 */ 887 Type?: DirectoryType; 888 /** 889 * A DirectoryVpcSettingsDescription object that contains additional information about a directory. This member is only present if the directory is a Simple AD or Managed AD directory. 890 */ 891 VpcSettings?: DirectoryVpcSettingsDescription; 892 /** 893 * A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector directory. This member is only present if the directory is an AD Connector directory. 894 */ 895 ConnectSettings?: DirectoryConnectSettingsDescription; 896 /** 897 * A RadiusSettings object that contains information about the RADIUS server configured for this directory. 898 */ 899 RadiusSettings?: RadiusSettings; 900 /** 901 * The status of the RADIUS MFA server connection. 902 */ 903 RadiusStatus?: RadiusStatus; 904 /** 905 * Additional information about the directory stage. 906 */ 907 StageReason?: StageReason; 908 /** 909 * Indicates if single-sign on is enabled for the directory. For more information, see EnableSso and DisableSso. 910 */ 911 SsoEnabled?: SsoEnabled; 912 } 913 export type DirectoryDescriptions = DirectoryDescription[]; 914 export type DirectoryId = string; 915 export type DirectoryIds = DirectoryId[]; 916 export interface DirectoryLimits { 917 /** 918 * The maximum number of cloud directories allowed in the region. 919 */ 920 CloudOnlyDirectoriesLimit?: Limit; 921 /** 922 * The current number of cloud directories in the region. 923 */ 924 CloudOnlyDirectoriesCurrentCount?: Limit; 925 /** 926 * Indicates if the cloud directory limit has been reached. 927 */ 928 CloudOnlyDirectoriesLimitReached?: CloudOnlyDirectoriesLimitReached; 929 /** 930 * The maximum number of Microsoft AD directories allowed in the region. 931 */ 932 CloudOnlyMicrosoftADLimit?: Limit; 933 /** 934 * The current number of Microsoft AD directories in the region. 935 */ 936 CloudOnlyMicrosoftADCurrentCount?: Limit; 937 /** 938 * Indicates if the Microsoft AD directory limit has been reached. 939 */ 940 CloudOnlyMicrosoftADLimitReached?: CloudOnlyDirectoriesLimitReached; 941 /** 942 * The maximum number of connected directories allowed in the region. 943 */ 944 ConnectedDirectoriesLimit?: Limit; 945 /** 946 * The current number of connected directories in the region. 947 */ 948 ConnectedDirectoriesCurrentCount?: Limit; 949 /** 950 * Indicates if the connected directory limit has been reached. 951 */ 952 ConnectedDirectoriesLimitReached?: ConnectedDirectoriesLimitReached; 953 } 954 export type DirectoryName = string; 955 export type DirectoryShortName = string; 956 export type DirectorySize = "Small"|"Large"|string; 957 export type DirectoryStage = "Requested"|"Creating"|"Created"|"Active"|"Inoperable"|"Impaired"|"Restoring"|"RestoreFailed"|"Deleting"|"Deleted"|"Failed"|string; 958 export type DirectoryType = "SimpleAD"|"ADConnector"|"MicrosoftAD"|string; 959 export interface DirectoryVpcSettings { 960 /** 961 * The identifier of the VPC in which to create the directory. 962 */ 963 VpcId: VpcId; 964 /** 965 * The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service creates a directory server and a DNS server in each of these subnets. 966 */ 967 SubnetIds: SubnetIds; 968 } 969 export interface DirectoryVpcSettingsDescription { 970 /** 971 * The identifier of the VPC that the directory is in. 972 */ 973 VpcId?: VpcId; 974 /** 975 * The identifiers of the subnets for the directory servers. 976 */ 977 SubnetIds?: SubnetIds; 978 /** 979 * The security group identifier for the directory. If the directory was created before 8/1/2014, this is the identifier of the directory members security group that was created when the directory was created. If the directory was created after this date, this value is null. 980 */ 981 SecurityGroupId?: SecurityGroupId; 982 /** 983 * The list of Availability Zones that the directory is in. 984 */ 985 AvailabilityZones?: AvailabilityZones; 986 } 987 export interface DisableRadiusRequest { 988 /** 989 * The identifier of the directory for which to disable MFA. 990 */ 991 DirectoryId: DirectoryId; 992 } 993 export interface DisableRadiusResult { 994 } 995 export interface DisableSsoRequest { 996 /** 997 * The identifier of the directory for which to disable single-sign on. 998 */ 999 DirectoryId: DirectoryId; 1000 /** 1001 * The username of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. This account must have privileges to remove a service principal name. If the AD Connector service account does not have privileges to remove a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to disable single sign-on and are not stored by the service. The AD Connector service account is not changed. 1002 */ 1003 UserName?: UserName; 1004 /** 1005 * The password of an alternate account to use to disable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter. 1006 */ 1007 Password?: ConnectPassword; 1008 } 1009 export interface DisableSsoResult { 1010 } 1011 export type DnsIpAddrs = IpAddr[]; 1012 export interface EnableRadiusRequest { 1013 /** 1014 * The identifier of the directory for which to enable MFA. 1015 */ 1016 DirectoryId: DirectoryId; 1017 /** 1018 * A RadiusSettings object that contains information about the RADIUS server. 1019 */ 1020 RadiusSettings: RadiusSettings; 1021 } 1022 export interface EnableRadiusResult { 1023 } 1024 export interface EnableSsoRequest { 1025 /** 1026 * The identifier of the directory for which to enable single-sign on. 1027 */ 1028 DirectoryId: DirectoryId; 1029 /** 1030 * The username of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. This account must have privileges to add a service principal name. If the AD Connector service account does not have privileges to add a service principal name, you can specify an alternate account with the UserName and Password parameters. These credentials are only used to enable single sign-on and are not stored by the service. The AD Connector service account is not changed. 1031 */ 1032 UserName?: UserName; 1033 /** 1034 * The password of an alternate account to use to enable single-sign on. This is only used for AD Connector directories. For more information, see the UserName parameter. 1035 */ 1036 Password?: ConnectPassword; 1037 } 1038 export interface EnableSsoResult { 1039 } 1040 export type EndDateTime = Date; 1041 export interface EventTopic { 1042 /** 1043 * The Directory ID of an AWS Directory Service directory that will publish status messages to an SNS topic. 1044 */ 1045 DirectoryId?: DirectoryId; 1046 /** 1047 * The name of an AWS SNS topic the receives status messages from the directory. 1048 */ 1049 TopicName?: TopicName; 1050 /** 1051 * The SNS topic ARN (Amazon Resource Name). 1052 */ 1053 TopicArn?: TopicArn; 1054 /** 1055 * The date and time of when you associated your directory with the SNS topic. 1056 */ 1057 CreatedDateTime?: CreatedDateTime; 1058 /** 1059 * The topic registration status. 1060 */ 1061 Status?: TopicStatus; 1062 } 1063 export type EventTopics = EventTopic[]; 1064 export type ExceptionMessage = string; 1065 export interface GetDirectoryLimitsRequest { 1066 } 1067 export interface GetDirectoryLimitsResult { 1068 /** 1069 * A DirectoryLimits object that contains the directory limits for the current region. 1070 */ 1071 DirectoryLimits?: DirectoryLimits; 1072 } 1073 export interface GetSnapshotLimitsRequest { 1074 /** 1075 * Contains the identifier of the directory to obtain the limits for. 1076 */ 1077 DirectoryId: DirectoryId; 1078 } 1079 export interface GetSnapshotLimitsResult { 1080 /** 1081 * A SnapshotLimits object that contains the manual snapshot limits for the specified directory. 1082 */ 1083 SnapshotLimits?: SnapshotLimits; 1084 } 1085 export type IpAddr = string; 1086 export type IpAddrs = IpAddr[]; 1087 export interface IpRoute { 1088 /** 1089 * IP address block using CIDR format, for example 10.0.0.0/24. This is often the address block of the DNS server used for your on-premises domain. For a single IP address use a CIDR address block with /32. For example 10.0.0.0/32. 1090 */ 1091 CidrIp?: CidrIp; 1092 /** 1093 * Description of the address block. 1094 */ 1095 Description?: Description; 1096 } 1097 export interface IpRouteInfo { 1098 /** 1099 * Identifier (ID) of the directory associated with the IP addresses. 1100 */ 1101 DirectoryId?: DirectoryId; 1102 /** 1103 * IP address block in the IpRoute. 1104 */ 1105 CidrIp?: CidrIp; 1106 /** 1107 * The status of the IP address block. 1108 */ 1109 IpRouteStatusMsg?: IpRouteStatusMsg; 1110 /** 1111 * The date and time the address block was added to the directory. 1112 */ 1113 AddedDateTime?: AddedDateTime; 1114 /** 1115 * The reason for the IpRouteStatusMsg. 1116 */ 1117 IpRouteStatusReason?: IpRouteStatusReason; 1118 /** 1119 * Description of the IpRouteInfo. 1120 */ 1121 Description?: Description; 1122 } 1123 export type IpRouteStatusMsg = "Adding"|"Added"|"Removing"|"Removed"|"AddFailed"|"RemoveFailed"|string; 1124 export type IpRouteStatusReason = string; 1125 export type IpRoutes = IpRoute[]; 1126 export type IpRoutesInfo = IpRouteInfo[]; 1127 export type LastUpdatedDateTime = Date; 1128 export type LaunchTime = Date; 1129 export type LdifContent = string; 1130 export type Limit = number; 1131 export interface ListIpRoutesRequest { 1132 /** 1133 * Identifier (ID) of the directory for which you want to retrieve the IP addresses. 1134 */ 1135 DirectoryId: DirectoryId; 1136 /** 1137 * The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass null if this is the first call. 1138 */ 1139 NextToken?: NextToken; 1140 /** 1141 * Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation. 1142 */ 1143 Limit?: Limit; 1144 } 1145 export interface ListIpRoutesResult { 1146 /** 1147 * A list of IpRoutes. 1148 */ 1149 IpRoutesInfo?: IpRoutesInfo; 1150 /** 1151 * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items. 1152 */ 1153 NextToken?: NextToken; 1154 } 1155 export interface ListSchemaExtensionsRequest { 1156 /** 1157 * The identifier of the directory from which to retrieve the schema extension information. 1158 */ 1159 DirectoryId: DirectoryId; 1160 /** 1161 * The ListSchemaExtensions.NextToken value from a previous call to ListSchemaExtensions. Pass null if this is the first call. 1162 */ 1163 NextToken?: NextToken; 1164 /** 1165 * The maximum number of items to return. 1166 */ 1167 Limit?: Limit; 1168 } 1169 export interface ListSchemaExtensionsResult { 1170 /** 1171 * Information about the schema extensions applied to the directory. 1172 */ 1173 SchemaExtensionsInfo?: SchemaExtensionsInfo; 1174 /** 1175 * If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListSchemaExtensions to retrieve the next set of items. 1176 */ 1177 NextToken?: NextToken; 1178 } 1179 export interface ListTagsForResourceRequest { 1180 /** 1181 * Identifier (ID) of the directory for which you want to retrieve tags. 1182 */ 1183 ResourceId: ResourceId; 1184 /** 1185 * Reserved for future use. 1186 */ 1187 NextToken?: NextToken; 1188 /** 1189 * Reserved for future use. 1190 */ 1191 Limit?: Limit; 1192 } 1193 export interface ListTagsForResourceResult { 1194 /** 1195 * List of tags returned by the ListTagsForResource operation. 1196 */ 1197 Tags?: Tags; 1198 /** 1199 * Reserved for future use. 1200 */ 1201 NextToken?: NextToken; 1202 } 1203 export type ManualSnapshotsLimitReached = boolean; 1204 export type NextToken = string; 1205 export type OrganizationalUnitDN = string; 1206 export type Password = string; 1207 export type PortNumber = number; 1208 export type RadiusAuthenticationProtocol = "PAP"|"CHAP"|"MS-CHAPv1"|"MS-CHAPv2"|string; 1209 export type RadiusDisplayLabel = string; 1210 export type RadiusRetries = number; 1211 export interface RadiusSettings { 1212 /** 1213 * An array of strings that contains the IP addresses of the RADIUS server endpoints, or the IP addresses of your RADIUS server load balancer. 1214 */ 1215 RadiusServers?: Servers; 1216 /** 1217 * The port that your RADIUS server is using for communications. Your on-premises network must allow inbound traffic over this port from the AWS Directory Service servers. 1218 */ 1219 RadiusPort?: PortNumber; 1220 /** 1221 * The amount of time, in seconds, to wait for the RADIUS server to respond. 1222 */ 1223 RadiusTimeout?: RadiusTimeout; 1224 /** 1225 * The maximum number of times that communication with the RADIUS server is attempted. 1226 */ 1227 RadiusRetries?: RadiusRetries; 1228 /** 1229 * Not currently used. 1230 */ 1231 SharedSecret?: RadiusSharedSecret; 1232 /** 1233 * The protocol specified for your RADIUS endpoints. 1234 */ 1235 AuthenticationProtocol?: RadiusAuthenticationProtocol; 1236 /** 1237 * Not currently used. 1238 */ 1239 DisplayLabel?: RadiusDisplayLabel; 1240 /** 1241 * Not currently used. 1242 */ 1243 UseSameUsername?: UseSameUsername; 1244 } 1245 export type RadiusSharedSecret = string; 1246 export type RadiusStatus = "Creating"|"Completed"|"Failed"|string; 1247 export type RadiusTimeout = number; 1248 export interface RegisterEventTopicRequest { 1249 /** 1250 * The Directory ID that will publish status messages to the SNS topic. 1251 */ 1252 DirectoryId: DirectoryId; 1253 /** 1254 * The SNS topic name to which the directory will publish status messages. This SNS topic must be in the same region as the specified Directory ID. 1255 */ 1256 TopicName: TopicName; 1257 } 1258 export interface RegisterEventTopicResult { 1259 } 1260 export type RemoteDomainName = string; 1261 export type RemoteDomainNames = RemoteDomainName[]; 1262 export interface RemoveIpRoutesRequest { 1263 /** 1264 * Identifier (ID) of the directory from which you want to remove the IP addresses. 1265 */ 1266 DirectoryId: DirectoryId; 1267 /** 1268 * IP address blocks that you want to remove. 1269 */ 1270 CidrIps: CidrIps; 1271 } 1272 export interface RemoveIpRoutesResult { 1273 } 1274 export interface RemoveTagsFromResourceRequest { 1275 /** 1276 * Identifier (ID) of the directory from which to remove the tag. 1277 */ 1278 ResourceId: ResourceId; 1279 /** 1280 * The tag key (name) of the tag to be removed. 1281 */ 1282 TagKeys: TagKeys; 1283 } 1284 export interface RemoveTagsFromResourceResult { 1285 } 1286 export type ReplicationScope = "Domain"|string; 1287 export type RequestId = string; 1288 export type ResourceId = string; 1289 export interface RestoreFromSnapshotRequest { 1290 /** 1291 * The identifier of the snapshot to restore from. 1292 */ 1293 SnapshotId: SnapshotId; 1294 } 1295 export interface RestoreFromSnapshotResult { 1296 } 1297 export type SID = string; 1298 export type SchemaExtensionId = string; 1299 export interface SchemaExtensionInfo { 1300 /** 1301 * The identifier of the directory to which the schema extension is applied. 1302 */ 1303 DirectoryId?: DirectoryId; 1304 /** 1305 * The identifier of the schema extension. 1306 */ 1307 SchemaExtensionId?: SchemaExtensionId; 1308 /** 1309 * A description of the schema extension. 1310 */ 1311 Description?: Description; 1312 /** 1313 * The current status of the schema extension. 1314 */ 1315 SchemaExtensionStatus?: SchemaExtensionStatus; 1316 /** 1317 * The reason for the SchemaExtensionStatus. 1318 */ 1319 SchemaExtensionStatusReason?: SchemaExtensionStatusReason; 1320 /** 1321 * The date and time that the schema extension started being applied to the directory. 1322 */ 1323 StartDateTime?: StartDateTime; 1324 /** 1325 * The date and time that the schema extension was completed. 1326 */ 1327 EndDateTime?: EndDateTime; 1328 } 1329 export type SchemaExtensionStatus = "Initializing"|"CreatingSnapshot"|"UpdatingSchema"|"Replicating"|"CancelInProgress"|"RollbackInProgress"|"Cancelled"|"Failed"|"Completed"|string; 1330 export type SchemaExtensionStatusReason = string; 1331 export type SchemaExtensionsInfo = SchemaExtensionInfo[]; 1332 export type SecurityGroupId = string; 1333 export type Server = string; 1334 export type Servers = Server[]; 1335 export interface Snapshot { 1336 /** 1337 * The directory identifier. 1338 */ 1339 DirectoryId?: DirectoryId; 1340 /** 1341 * The snapshot identifier. 1342 */ 1343 SnapshotId?: SnapshotId; 1344 /** 1345 * The snapshot type. 1346 */ 1347 Type?: SnapshotType; 1348 /** 1349 * The descriptive name of the snapshot. 1350 */ 1351 Name?: SnapshotName; 1352 /** 1353 * The snapshot status. 1354 */ 1355 Status?: SnapshotStatus; 1356 /** 1357 * The date and time that the snapshot was taken. 1358 */ 1359 StartTime?: StartTime; 1360 } 1361 export type SnapshotId = string; 1362 export type SnapshotIds = SnapshotId[]; 1363 export interface SnapshotLimits { 1364 /** 1365 * The maximum number of manual snapshots allowed. 1366 */ 1367 ManualSnapshotsLimit?: Limit; 1368 /** 1369 * The current number of manual snapshots of the directory. 1370 */ 1371 ManualSnapshotsCurrentCount?: Limit; 1372 /** 1373 * Indicates if the manual snapshot limit has been reached. 1374 */ 1375 ManualSnapshotsLimitReached?: ManualSnapshotsLimitReached; 1376 } 1377 export type SnapshotName = string; 1378 export type SnapshotStatus = "Creating"|"Completed"|"Failed"|string; 1379 export type SnapshotType = "Auto"|"Manual"|string; 1380 export type Snapshots = Snapshot[]; 1381 export type SsoEnabled = boolean; 1382 export type StageReason = string; 1383 export type StartDateTime = Date; 1384 export interface StartSchemaExtensionRequest { 1385 /** 1386 * The identifier of the directory for which the schema extension will be applied to. 1387 */ 1388 DirectoryId: DirectoryId; 1389 /** 1390 * If true, creates a snapshot of the directory before applying the schema extension. 1391 */ 1392 CreateSnapshotBeforeSchemaExtension: CreateSnapshotBeforeSchemaExtension; 1393 /** 1394 * The LDIF file represented as a string. The file size can be no larger than 1MB. 1395 */ 1396 LdifContent: LdifContent; 1397 /** 1398 * A description of the schema extension. 1399 */ 1400 Description: Description; 1401 } 1402 export interface StartSchemaExtensionResult { 1403 /** 1404 * The identifier of the schema extension that will be applied. 1405 */ 1406 SchemaExtensionId?: SchemaExtensionId; 1407 } 1408 export type StartTime = Date; 1409 export type StateLastUpdatedDateTime = Date; 1410 export type SubnetId = string; 1411 export type SubnetIds = SubnetId[]; 1412 export interface Tag { 1413 /** 1414 * Required name of the tag. The string value can be Unicode characters and cannot be prefixed with "aws:". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). 1415 */ 1416 Key: TagKey; 1417 /** 1418 * The optional value of the tag. The string value can be Unicode characters. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). 1419 */ 1420 Value: TagValue; 1421 } 1422 export type TagKey = string; 1423 export type TagKeys = TagKey[]; 1424 export type TagValue = string; 1425 export type Tags = Tag[]; 1426 export type TopicArn = string; 1427 export type TopicName = string; 1428 export type TopicNames = TopicName[]; 1429 export type TopicStatus = "Registered"|"Topic not found"|"Failed"|"Deleted"|string; 1430 export interface Trust { 1431 /** 1432 * The Directory ID of the AWS directory involved in the trust relationship. 1433 */ 1434 DirectoryId?: DirectoryId; 1435 /** 1436 * The unique ID of the trust relationship. 1437 */ 1438 TrustId?: TrustId; 1439 /** 1440 * The Fully Qualified Domain Name (FQDN) of the external domain involved in the trust relationship. 1441 */ 1442 RemoteDomainName?: RemoteDomainName; 1443 /** 1444 * The trust relationship type. 1445 */ 1446 TrustType?: TrustType; 1447 /** 1448 * The trust relationship direction. 1449 */ 1450 TrustDirection?: TrustDirection; 1451 /** 1452 * The trust relationship state. 1453 */ 1454 TrustState?: TrustState; 1455 /** 1456 * The date and time that the trust relationship was created. 1457 */ 1458 CreatedDateTime?: CreatedDateTime; 1459 /** 1460 * The date and time that the trust relationship was last updated. 1461 */ 1462 LastUpdatedDateTime?: LastUpdatedDateTime; 1463 /** 1464 * The date and time that the TrustState was last updated. 1465 */ 1466 StateLastUpdatedDateTime?: StateLastUpdatedDateTime; 1467 /** 1468 * The reason for the TrustState. 1469 */ 1470 TrustStateReason?: TrustStateReason; 1471 } 1472 export type TrustDirection = "One-Way: Outgoing"|"One-Way: Incoming"|"Two-Way"|string; 1473 export type TrustId = string; 1474 export type TrustIds = TrustId[]; 1475 export type TrustPassword = string; 1476 export type TrustState = "Creating"|"Created"|"Verifying"|"VerifyFailed"|"Verified"|"Deleting"|"Deleted"|"Failed"|string; 1477 export type TrustStateReason = string; 1478 export type TrustType = "Forest"|string; 1479 export type Trusts = Trust[]; 1480 export interface UpdateConditionalForwarderRequest { 1481 /** 1482 * The directory ID of the AWS directory for which to update the conditional forwarder. 1483 */ 1484 DirectoryId: DirectoryId; 1485 /** 1486 * The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship. 1487 */ 1488 RemoteDomainName: RemoteDomainName; 1489 /** 1490 * The updated IP addresses of the remote DNS server associated with the conditional forwarder. 1491 */ 1492 DnsIpAddrs: DnsIpAddrs; 1493 } 1494 export interface UpdateConditionalForwarderResult { 1495 } 1496 export interface UpdateRadiusRequest { 1497 /** 1498 * The identifier of the directory for which to update the RADIUS server information. 1499 */ 1500 DirectoryId: DirectoryId; 1501 /** 1502 * A RadiusSettings object that contains information about the RADIUS server. 1503 */ 1504 RadiusSettings: RadiusSettings; 1505 } 1506 export interface UpdateRadiusResult { 1507 } 1508 export type UpdateSecurityGroupForDirectoryControllers = boolean; 1509 export type UseSameUsername = boolean; 1510 export type UserName = string; 1511 export interface VerifyTrustRequest { 1512 /** 1513 * The unique Trust ID of the trust relationship to verify. 1514 */ 1515 TrustId: TrustId; 1516 } 1517 export interface VerifyTrustResult { 1518 /** 1519 * The unique Trust ID of the trust relationship that was verified. 1520 */ 1521 TrustId?: TrustId; 1522 } 1523 export type VpcId = string; 1524 /** 1525 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. 1526 */ 1527 export type apiVersion = "2015-04-16"|"latest"|string; 1528 export interface ClientApiVersions { 1529 /** 1530 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. 1531 */ 1532 apiVersion?: apiVersion; 1533 } 1534 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; 1535 } 1536 export = DirectoryService;