@aws-sdk/client-directory-service 3.899.0 → 3.901.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.
package/dist-cjs/index.js CHANGED
@@ -142,6 +142,7 @@ __export(index_exports, {
142
142
  ListLogSubscriptionsCommand: () => ListLogSubscriptionsCommand,
143
143
  ListSchemaExtensionsCommand: () => ListSchemaExtensionsCommand,
144
144
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
145
+ NetworkType: () => NetworkType,
145
146
  NoAvailableCertificateException: () => NoAvailableCertificateException,
146
147
  OSVersion: () => OSVersion,
147
148
  OrganizationsException: () => OrganizationsException,
@@ -1031,6 +1032,11 @@ var ClientAuthenticationType = {
1031
1032
  var ReplicationScope = {
1032
1033
  Domain: "Domain"
1033
1034
  };
1035
+ var NetworkType = {
1036
+ DUAL_STACK: "Dual-stack",
1037
+ IPV4_ONLY: "IPv4",
1038
+ IPV6_ONLY: "IPv6"
1039
+ };
1034
1040
  var DirectorySize = {
1035
1041
  LARGE: "Large",
1036
1042
  SMALL: "Small"
@@ -1097,6 +1103,7 @@ var InsufficientPermissionsException = class _InsufficientPermissionsException e
1097
1103
  };
1098
1104
  var DirectoryEdition = {
1099
1105
  ENTERPRISE: "Enterprise",
1106
+ HYBRID: "Hybrid",
1100
1107
  STANDARD: "Standard"
1101
1108
  };
1102
1109
  var SnapshotLimitExceededException = class _SnapshotLimitExceededException extends DirectoryServiceServiceException {
@@ -1282,7 +1289,9 @@ var TrustState = {
1282
1289
  VERIFY_FAILED: "VerifyFailed"
1283
1290
  };
1284
1291
  var UpdateType = {
1285
- OS: "OS"
1292
+ NETWORK: "NETWORK",
1293
+ OS: "OS",
1294
+ SIZE: "SIZE"
1286
1295
  };
1287
1296
  var DirectoryInDesiredStateException = class _DirectoryInDesiredStateException extends DirectoryServiceServiceException {
1288
1297
  static {
@@ -4099,10 +4108,12 @@ var de_DirectoryDescription = /* @__PURE__ */ __name((output, context) => {
4099
4108
  DesiredNumberOfDomainControllers: import_smithy_client.expectInt32,
4100
4109
  DirectoryId: import_smithy_client.expectString,
4101
4110
  DnsIpAddrs: import_smithy_client._json,
4111
+ DnsIpv6Addrs: import_smithy_client._json,
4102
4112
  Edition: import_smithy_client.expectString,
4103
4113
  HybridSettings: import_smithy_client._json,
4104
4114
  LaunchTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LaunchTime"),
4105
4115
  Name: import_smithy_client.expectString,
4116
+ NetworkType: import_smithy_client.expectString,
4106
4117
  OsVersion: import_smithy_client.expectString,
4107
4118
  OwnerDirectoryDescription: import_smithy_client._json,
4108
4119
  RadiusSettings: import_smithy_client._json,
@@ -4132,6 +4143,7 @@ var de_DomainController = /* @__PURE__ */ __name((output, context) => {
4132
4143
  AvailabilityZone: import_smithy_client.expectString,
4133
4144
  DirectoryId: import_smithy_client.expectString,
4134
4145
  DnsIpAddr: import_smithy_client.expectString,
4146
+ DnsIpv6Addr: import_smithy_client.expectString,
4135
4147
  DomainControllerId: import_smithy_client.expectString,
4136
4148
  LaunchTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LaunchTime"),
4137
4149
  Status: import_smithy_client.expectString,
@@ -4190,6 +4202,7 @@ var de_IpRouteInfo = /* @__PURE__ */ __name((output, context) => {
4190
4202
  return (0, import_smithy_client.take)(output, {
4191
4203
  AddedDateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AddedDateTime"),
4192
4204
  CidrIp: import_smithy_client.expectString,
4205
+ CidrIpv6: import_smithy_client.expectString,
4193
4206
  Description: import_smithy_client.expectString,
4194
4207
  DirectoryId: import_smithy_client.expectString,
4195
4208
  IpRouteStatusMsg: import_smithy_client.expectString,
@@ -5955,6 +5968,7 @@ var waitUntilHybridADUpdated = /* @__PURE__ */ __name(async (params, input) => {
5955
5968
  ClientAuthenticationStatus,
5956
5969
  ClientAuthenticationType,
5957
5970
  ReplicationScope,
5971
+ NetworkType,
5958
5972
  DirectorySize,
5959
5973
  DirectoryLimitExceededException,
5960
5974
  InsufficientPermissionsException,
@@ -366,6 +366,11 @@ export const ClientAuthenticationType = {
366
366
  export const ReplicationScope = {
367
367
  Domain: "Domain",
368
368
  };
369
+ export const NetworkType = {
370
+ DUAL_STACK: "Dual-stack",
371
+ IPV4_ONLY: "IPv4",
372
+ IPV6_ONLY: "IPv6",
373
+ };
369
374
  export const DirectorySize = {
370
375
  LARGE: "Large",
371
376
  SMALL: "Small",
@@ -404,6 +409,7 @@ export class InsufficientPermissionsException extends __BaseException {
404
409
  }
405
410
  export const DirectoryEdition = {
406
411
  ENTERPRISE: "Enterprise",
412
+ HYBRID: "Hybrid",
407
413
  STANDARD: "Standard",
408
414
  };
409
415
  export class SnapshotLimitExceededException extends __BaseException {
@@ -561,7 +567,9 @@ export const TrustState = {
561
567
  VERIFY_FAILED: "VerifyFailed",
562
568
  };
563
569
  export const UpdateType = {
570
+ NETWORK: "NETWORK",
564
571
  OS: "OS",
572
+ SIZE: "SIZE",
565
573
  };
566
574
  export class DirectoryInDesiredStateException extends __BaseException {
567
575
  name = "DirectoryInDesiredStateException";
@@ -2241,10 +2241,12 @@ const de_DirectoryDescription = (output, context) => {
2241
2241
  DesiredNumberOfDomainControllers: __expectInt32,
2242
2242
  DirectoryId: __expectString,
2243
2243
  DnsIpAddrs: _json,
2244
+ DnsIpv6Addrs: _json,
2244
2245
  Edition: __expectString,
2245
2246
  HybridSettings: _json,
2246
2247
  LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2247
2248
  Name: __expectString,
2249
+ NetworkType: __expectString,
2248
2250
  OsVersion: __expectString,
2249
2251
  OwnerDirectoryDescription: _json,
2250
2252
  RadiusSettings: _json,
@@ -2276,6 +2278,7 @@ const de_DomainController = (output, context) => {
2276
2278
  AvailabilityZone: __expectString,
2277
2279
  DirectoryId: __expectString,
2278
2280
  DnsIpAddr: __expectString,
2281
+ DnsIpv6Addr: __expectString,
2279
2282
  DomainControllerId: __expectString,
2280
2283
  LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2281
2284
  Status: __expectString,
@@ -2340,6 +2343,7 @@ const de_IpRouteInfo = (output, context) => {
2340
2343
  return take(output, {
2341
2344
  AddedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2342
2345
  CidrIp: __expectString,
2346
+ CidrIpv6: __expectString,
2343
2347
  Description: __expectString,
2344
2348
  DirectoryId: __expectString,
2345
2349
  IpRouteStatusMsg: __expectString,
@@ -48,6 +48,7 @@ declare const AddIpRoutesCommand_base: {
48
48
  * IpRoutes: [ // IpRoutes // required
49
49
  * { // IpRoute
50
50
  * CidrIp: "STRING_VALUE",
51
+ * CidrIpv6: "STRING_VALUE",
51
52
  * Description: "STRING_VALUE",
52
53
  * },
53
54
  * ],
@@ -50,7 +50,10 @@ declare const ConnectDirectoryCommand_base: {
50
50
  * SubnetIds: [ // SubnetIds // required
51
51
  * "STRING_VALUE",
52
52
  * ],
53
- * CustomerDnsIps: [ // DnsIpAddrs // required
53
+ * CustomerDnsIps: [ // DnsIpAddrs
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * CustomerDnsIpsV6: [ // DnsIpv6Addrs
54
57
  * "STRING_VALUE",
55
58
  * ],
56
59
  * CustomerUserName: "STRING_VALUE", // required
@@ -61,6 +64,7 @@ declare const ConnectDirectoryCommand_base: {
61
64
  * Value: "STRING_VALUE", // required
62
65
  * },
63
66
  * ],
67
+ * NetworkType: "Dual-stack" || "IPv4" || "IPv6",
64
68
  * };
65
69
  * const command = new ConnectDirectoryCommand(input);
66
70
  * const response = await client.send(command);
@@ -41,7 +41,10 @@ declare const CreateConditionalForwarderCommand_base: {
41
41
  * const input = { // CreateConditionalForwarderRequest
42
42
  * DirectoryId: "STRING_VALUE", // required
43
43
  * RemoteDomainName: "STRING_VALUE", // required
44
- * DnsIpAddrs: [ // DnsIpAddrs // required
44
+ * DnsIpAddrs: [ // DnsIpAddrs
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * DnsIpv6Addrs: [ // DnsIpv6Addrs
45
48
  * "STRING_VALUE",
46
49
  * ],
47
50
  * };
@@ -57,6 +57,7 @@ declare const CreateDirectoryCommand_base: {
57
57
  * Value: "STRING_VALUE", // required
58
58
  * },
59
59
  * ],
60
+ * NetworkType: "Dual-stack" || "IPv4" || "IPv6",
60
61
  * };
61
62
  * const command = new CreateDirectoryCommand(input);
62
63
  * const response = await client.send(command);
@@ -50,13 +50,14 @@ declare const CreateMicrosoftADCommand_base: {
50
50
  * "STRING_VALUE",
51
51
  * ],
52
52
  * },
53
- * Edition: "Enterprise" || "Standard",
53
+ * Edition: "Enterprise" || "Standard" || "Hybrid",
54
54
  * Tags: [ // Tags
55
55
  * { // Tag
56
56
  * Key: "STRING_VALUE", // required
57
57
  * Value: "STRING_VALUE", // required
58
58
  * },
59
59
  * ],
60
+ * NetworkType: "Dual-stack" || "IPv4" || "IPv6",
60
61
  * };
61
62
  * const command = new CreateMicrosoftADCommand(input);
62
63
  * const response = await client.send(command);
@@ -51,6 +51,9 @@ declare const CreateTrustCommand_base: {
51
51
  * ConditionalForwarderIpAddrs: [ // DnsIpAddrs
52
52
  * "STRING_VALUE",
53
53
  * ],
54
+ * ConditionalForwarderIpv6Addrs: [ // DnsIpv6Addrs
55
+ * "STRING_VALUE",
56
+ * ],
54
57
  * SelectiveAuth: "Enabled" || "Disabled",
55
58
  * };
56
59
  * const command = new CreateTrustCommand(input);
@@ -53,6 +53,9 @@ declare const DescribeConditionalForwardersCommand_base: {
53
53
  * // DnsIpAddrs: [ // DnsIpAddrs
54
54
  * // "STRING_VALUE",
55
55
  * // ],
56
+ * // DnsIpv6Addrs: [ // DnsIpv6Addrs
57
+ * // "STRING_VALUE",
58
+ * // ],
56
59
  * // ReplicationScope: "Domain",
57
60
  * // },
58
61
  * // ],
@@ -62,13 +62,16 @@ declare const DescribeDirectoriesCommand_base: {
62
62
  * // Name: "STRING_VALUE",
63
63
  * // ShortName: "STRING_VALUE",
64
64
  * // Size: "Small" || "Large",
65
- * // Edition: "Enterprise" || "Standard",
65
+ * // Edition: "Enterprise" || "Standard" || "Hybrid",
66
66
  * // Alias: "STRING_VALUE",
67
67
  * // AccessUrl: "STRING_VALUE",
68
68
  * // Description: "STRING_VALUE",
69
69
  * // DnsIpAddrs: [ // DnsIpAddrs
70
70
  * // "STRING_VALUE",
71
71
  * // ],
72
+ * // DnsIpv6Addrs: [ // DnsIpv6Addrs
73
+ * // "STRING_VALUE",
74
+ * // ],
72
75
  * // Stage: "Requested" || "Creating" || "Created" || "Active" || "Inoperable" || "Impaired" || "Restoring" || "RestoreFailed" || "Deleting" || "Deleted" || "Failed" || "Updating",
73
76
  * // ShareStatus: "Shared" || "PendingAcceptance" || "Rejected" || "Rejecting" || "RejectFailed" || "Sharing" || "ShareFailed" || "Deleted" || "Deleting",
74
77
  * // ShareMethod: "ORGANIZATIONS" || "HANDSHAKE",
@@ -99,11 +102,17 @@ declare const DescribeDirectoriesCommand_base: {
99
102
  * // ConnectIps: [ // IpAddrs
100
103
  * // "STRING_VALUE",
101
104
  * // ],
105
+ * // ConnectIpsV6: [ // IpV6Addrs
106
+ * // "STRING_VALUE",
107
+ * // ],
102
108
  * // },
103
109
  * // RadiusSettings: { // RadiusSettings
104
110
  * // RadiusServers: [ // Servers
105
111
  * // "STRING_VALUE",
106
112
  * // ],
113
+ * // RadiusServersIpv6: [
114
+ * // "STRING_VALUE",
115
+ * // ],
107
116
  * // RadiusPort: Number("int"),
108
117
  * // RadiusTimeout: Number("int"),
109
118
  * // RadiusRetries: Number("int"),
@@ -122,6 +131,9 @@ declare const DescribeDirectoriesCommand_base: {
122
131
  * // DnsIpAddrs: [
123
132
  * // "STRING_VALUE",
124
133
  * // ],
134
+ * // DnsIpv6Addrs: [
135
+ * // "STRING_VALUE",
136
+ * // ],
125
137
  * // VpcSettings: {
126
138
  * // VpcId: "STRING_VALUE",
127
139
  * // SubnetIds: [
@@ -136,6 +148,9 @@ declare const DescribeDirectoriesCommand_base: {
136
148
  * // RadiusServers: [
137
149
  * // "STRING_VALUE",
138
150
  * // ],
151
+ * // RadiusServersIpv6: [
152
+ * // "STRING_VALUE",
153
+ * // ],
139
154
  * // RadiusPort: Number("int"),
140
155
  * // RadiusTimeout: Number("int"),
141
156
  * // RadiusRetries: Number("int"),
@@ -145,6 +160,7 @@ declare const DescribeDirectoriesCommand_base: {
145
160
  * // UseSameUsername: true || false,
146
161
  * // },
147
162
  * // RadiusStatus: "Creating" || "Completed" || "Failed",
163
+ * // NetworkType: "Dual-stack" || "IPv4" || "IPv6",
148
164
  * // },
149
165
  * // RegionsInfo: { // RegionsInfo
150
166
  * // PrimaryRegion: "STRING_VALUE",
@@ -161,6 +177,7 @@ declare const DescribeDirectoriesCommand_base: {
161
177
  * // "STRING_VALUE",
162
178
  * // ],
163
179
  * // },
180
+ * // NetworkType: "Dual-stack" || "IPv4" || "IPv6",
164
181
  * // },
165
182
  * // ],
166
183
  * // NextToken: "STRING_VALUE",
@@ -52,6 +52,7 @@ declare const DescribeDomainControllersCommand_base: {
52
52
  * // DirectoryId: "STRING_VALUE",
53
53
  * // DomainControllerId: "STRING_VALUE",
54
54
  * // DnsIpAddr: "STRING_VALUE",
55
+ * // DnsIpv6Addr: "STRING_VALUE",
55
56
  * // VpcId: "STRING_VALUE",
56
57
  * // SubnetId: "STRING_VALUE",
57
58
  * // AvailabilityZone: "STRING_VALUE",
@@ -38,7 +38,7 @@ declare const DescribeUpdateDirectoryCommand_base: {
38
38
  * const client = new DirectoryServiceClient(config);
39
39
  * const input = { // DescribeUpdateDirectoryRequest
40
40
  * DirectoryId: "STRING_VALUE", // required
41
- * UpdateType: "OS", // required
41
+ * UpdateType: "OS" || "NETWORK" || "SIZE", // required
42
42
  * RegionName: "STRING_VALUE",
43
43
  * NextToken: "STRING_VALUE",
44
44
  * };
@@ -27,8 +27,7 @@ declare const DisableDirectoryDataAccessCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deactivates access to directory data via the Directory Service Data API for the specified
31
- * directory. For
30
+ * <p>Deactivates access to directory data via the Directory Service Data API for the specified directory. For
32
31
  * more information, see <a href="https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/Welcome.html">Directory Service Data API Reference</a>.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,8 +27,8 @@ declare const DisableRadiusCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Disables multi-factor authentication (MFA) with the Remote Authentication Dial In
31
- * User Service (RADIUS) server for an AD Connector or Microsoft AD directory.</p>
30
+ * <p>Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User
31
+ * Service (RADIUS) server for an AD Connector or Microsoft AD directory.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -43,6 +43,9 @@ declare const EnableRadiusCommand_base: {
43
43
  * RadiusServers: [ // Servers
44
44
  * "STRING_VALUE",
45
45
  * ],
46
+ * RadiusServersIpv6: [
47
+ * "STRING_VALUE",
48
+ * ],
46
49
  * RadiusPort: Number("int"),
47
50
  * RadiusTimeout: Number("int"),
48
51
  * RadiusRetries: Number("int"),
@@ -48,6 +48,7 @@ declare const ListIpRoutesCommand_base: {
48
48
  * // { // IpRouteInfo
49
49
  * // DirectoryId: "STRING_VALUE",
50
50
  * // CidrIp: "STRING_VALUE",
51
+ * // CidrIpv6: "STRING_VALUE",
51
52
  * // IpRouteStatusMsg: "Adding" || "Added" || "Removing" || "Removed" || "AddFailed" || "RemoveFailed",
52
53
  * // AddedDateTime: new Date("TIMESTAMP"),
53
54
  * // IpRouteStatusReason: "STRING_VALUE",
@@ -38,7 +38,10 @@ declare const RemoveIpRoutesCommand_base: {
38
38
  * const client = new DirectoryServiceClient(config);
39
39
  * const input = { // RemoveIpRoutesRequest
40
40
  * DirectoryId: "STRING_VALUE", // required
41
- * CidrIps: [ // CidrIps // required
41
+ * CidrIps: [ // CidrIps
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * CidrIpv6s: [ // CidrIpv6s
42
45
  * "STRING_VALUE",
43
46
  * ],
44
47
  * };
@@ -40,7 +40,10 @@ declare const UpdateConditionalForwarderCommand_base: {
40
40
  * const input = { // UpdateConditionalForwarderRequest
41
41
  * DirectoryId: "STRING_VALUE", // required
42
42
  * RemoteDomainName: "STRING_VALUE", // required
43
- * DnsIpAddrs: [ // DnsIpAddrs // required
43
+ * DnsIpAddrs: [ // DnsIpAddrs
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * DnsIpv6Addrs: [ // DnsIpv6Addrs
44
47
  * "STRING_VALUE",
45
48
  * ],
46
49
  * };
@@ -27,7 +27,7 @@ declare const UpdateDirectorySetupCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p> Updates the directory for a particular update type. </p>
30
+ * <p>Updates directory configuration for the specified update type.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -38,10 +38,19 @@ declare const UpdateDirectorySetupCommand_base: {
38
38
  * const client = new DirectoryServiceClient(config);
39
39
  * const input = { // UpdateDirectorySetupRequest
40
40
  * DirectoryId: "STRING_VALUE", // required
41
- * UpdateType: "OS", // required
41
+ * UpdateType: "OS" || "NETWORK" || "SIZE", // required
42
42
  * OSUpdateSettings: { // OSUpdateSettings
43
43
  * OSVersion: "SERVER_2012" || "SERVER_2019",
44
44
  * },
45
+ * DirectorySizeUpdateSettings: { // DirectorySizeUpdateSettings
46
+ * DirectorySize: "Small" || "Large",
47
+ * },
48
+ * NetworkUpdateSettings: { // NetworkUpdateSettings
49
+ * NetworkType: "Dual-stack" || "IPv4" || "IPv6",
50
+ * CustomerDnsIpsV6: [ // DnsIpv6Addrs
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * },
45
54
  * CreateSnapshotBeforeUpdate: true || false,
46
55
  * };
47
56
  * const command = new UpdateDirectorySetupCommand(input);
@@ -27,8 +27,8 @@ declare const UpdateRadiusCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates the Remote Authentication Dial In User Service (RADIUS) server information
31
- * for an AD Connector or Microsoft AD directory.</p>
30
+ * <p>Updates the Remote Authentication Dial In User Service (RADIUS) server information for
31
+ * an AD Connector or Microsoft AD directory.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
@@ -43,6 +43,9 @@ declare const UpdateRadiusCommand_base: {
43
43
  * RadiusServers: [ // Servers
44
44
  * "STRING_VALUE",
45
45
  * ],
46
+ * RadiusServersIpv6: [
47
+ * "STRING_VALUE",
48
+ * ],
46
49
  * RadiusPort: Number("int"),
47
50
  * RadiusTimeout: Number("int"),
48
51
  * RadiusRetries: Number("int"),