@aws-sdk/client-pca-connector-ad 3.758.0 → 3.772.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 +65 -61
- package/dist-es/models/models_0.js +9 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +1 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +2 -1
- package/dist-types/commands/GetServicePrincipalNameCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +2 -1
- package/dist-types/commands/ListServicePrincipalNamesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +23 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AccessRight: () => AccessRight,
|
|
26
26
|
ApplicationPolicy: () => ApplicationPolicy,
|
|
@@ -50,6 +50,7 @@ __export(src_exports, {
|
|
|
50
50
|
GetTemplateGroupAccessControlEntryCommand: () => GetTemplateGroupAccessControlEntryCommand,
|
|
51
51
|
HashAlgorithm: () => HashAlgorithm,
|
|
52
52
|
InternalServerException: () => InternalServerException,
|
|
53
|
+
IpAddressType: () => IpAddressType,
|
|
53
54
|
KeySpec: () => KeySpec,
|
|
54
55
|
KeyUsageProperty: () => KeyUsageProperty,
|
|
55
56
|
KeyUsagePropertyType: () => KeyUsagePropertyType,
|
|
@@ -84,7 +85,7 @@ __export(src_exports, {
|
|
|
84
85
|
paginateListTemplateGroupAccessControlEntries: () => paginateListTemplateGroupAccessControlEntries,
|
|
85
86
|
paginateListTemplates: () => paginateListTemplates
|
|
86
87
|
});
|
|
87
|
-
module.exports = __toCommonJS(
|
|
88
|
+
module.exports = __toCommonJS(index_exports);
|
|
88
89
|
|
|
89
90
|
// src/PcaConnectorAdClient.ts
|
|
90
91
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -211,9 +212,9 @@ var PcaConnectorAdClient = class extends import_smithy_client.Client {
|
|
|
211
212
|
this.middlewareStack.use(
|
|
212
213
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
213
214
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPcaConnectorAdHttpAuthSchemeParametersProvider,
|
|
214
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
215
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
215
216
|
"aws.auth#sigv4": config.credentials
|
|
216
|
-
})
|
|
217
|
+
}), "identityProviderConfigProvider")
|
|
217
218
|
})
|
|
218
219
|
);
|
|
219
220
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -354,10 +355,8 @@ var ApplicationPolicyType = {
|
|
|
354
355
|
var ApplicationPolicy;
|
|
355
356
|
((ApplicationPolicy3) => {
|
|
356
357
|
ApplicationPolicy3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
357
|
-
if (value.PolicyType !== void 0)
|
|
358
|
-
|
|
359
|
-
if (value.PolicyObjectIdentifier !== void 0)
|
|
360
|
-
return visitor.PolicyObjectIdentifier(value.PolicyObjectIdentifier);
|
|
358
|
+
if (value.PolicyType !== void 0) return visitor.PolicyType(value.PolicyType);
|
|
359
|
+
if (value.PolicyObjectIdentifier !== void 0) return visitor.PolicyObjectIdentifier(value.PolicyObjectIdentifier);
|
|
361
360
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
362
361
|
}, "visit");
|
|
363
362
|
})(ApplicationPolicy || (ApplicationPolicy = {}));
|
|
@@ -427,8 +426,11 @@ var ConnectorStatus = {
|
|
|
427
426
|
FAILED: "FAILED"
|
|
428
427
|
};
|
|
429
428
|
var ConnectorStatusReason = {
|
|
429
|
+
CA_CERTIFICATE_REGISTRATION_FAILED: "CA_CERTIFICATE_REGISTRATION_FAILED",
|
|
430
430
|
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
431
|
+
INSUFFICIENT_FREE_ADDRESSES: "INSUFFICIENT_FREE_ADDRESSES",
|
|
431
432
|
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
433
|
+
INVALID_SUBNET_IP_PROTOCOL: "INVALID_SUBNET_IP_PROTOCOL",
|
|
432
434
|
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
433
435
|
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
434
436
|
SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC",
|
|
@@ -436,6 +438,10 @@ var ConnectorStatusReason = {
|
|
|
436
438
|
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
437
439
|
VPC_RESOURCE_NOT_FOUND: "VPC_RESOURCE_NOT_FOUND"
|
|
438
440
|
};
|
|
441
|
+
var IpAddressType = {
|
|
442
|
+
DUALSTACK: "DUALSTACK",
|
|
443
|
+
IPV4: "IPV4"
|
|
444
|
+
};
|
|
439
445
|
var InternalServerException = class _InternalServerException extends PcaConnectorAdServiceException {
|
|
440
446
|
static {
|
|
441
447
|
__name(this, "InternalServerException");
|
|
@@ -570,6 +576,7 @@ var ThrottlingException = class _ThrottlingException extends PcaConnectorAdServi
|
|
|
570
576
|
};
|
|
571
577
|
var ValidationExceptionReason = {
|
|
572
578
|
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
579
|
+
INVALID_CA_SUBJECT: "INVALID_CA_SUBJECT",
|
|
573
580
|
INVALID_PERMISSION: "INVALID_PERMISSION",
|
|
574
581
|
INVALID_STATE: "INVALID_STATE",
|
|
575
582
|
MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR",
|
|
@@ -626,22 +633,17 @@ var KeyUsagePropertyType = {
|
|
|
626
633
|
var KeyUsageProperty;
|
|
627
634
|
((KeyUsageProperty3) => {
|
|
628
635
|
KeyUsageProperty3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
629
|
-
if (value.PropertyType !== void 0)
|
|
630
|
-
|
|
631
|
-
if (value.PropertyFlags !== void 0)
|
|
632
|
-
return visitor.PropertyFlags(value.PropertyFlags);
|
|
636
|
+
if (value.PropertyType !== void 0) return visitor.PropertyType(value.PropertyType);
|
|
637
|
+
if (value.PropertyFlags !== void 0) return visitor.PropertyFlags(value.PropertyFlags);
|
|
633
638
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
634
639
|
}, "visit");
|
|
635
640
|
})(KeyUsageProperty || (KeyUsageProperty = {}));
|
|
636
641
|
var TemplateDefinition;
|
|
637
642
|
((TemplateDefinition3) => {
|
|
638
643
|
TemplateDefinition3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
639
|
-
if (value.TemplateV2 !== void 0)
|
|
640
|
-
|
|
641
|
-
if (value.
|
|
642
|
-
return visitor.TemplateV3(value.TemplateV3);
|
|
643
|
-
if (value.TemplateV4 !== void 0)
|
|
644
|
-
return visitor.TemplateV4(value.TemplateV4);
|
|
644
|
+
if (value.TemplateV2 !== void 0) return visitor.TemplateV2(value.TemplateV2);
|
|
645
|
+
if (value.TemplateV3 !== void 0) return visitor.TemplateV3(value.TemplateV3);
|
|
646
|
+
if (value.TemplateV4 !== void 0) return visitor.TemplateV4(value.TemplateV4);
|
|
645
647
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
646
648
|
}, "visit");
|
|
647
649
|
})(TemplateDefinition || (TemplateDefinition = {}));
|
|
@@ -670,7 +672,8 @@ var ServicePrincipalNameStatusReason = {
|
|
|
670
672
|
DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE",
|
|
671
673
|
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
672
674
|
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
673
|
-
SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT"
|
|
675
|
+
SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT",
|
|
676
|
+
SPN_LIMIT_EXCEEDED: "SPN_LIMIT_EXCEEDED"
|
|
674
677
|
};
|
|
675
678
|
var TemplateStatus = {
|
|
676
679
|
ACTIVE: "ACTIVE",
|
|
@@ -690,8 +693,8 @@ var se_CreateConnectorCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
690
693
|
CertificateAuthorityArn: [],
|
|
691
694
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
692
695
|
DirectoryId: [],
|
|
693
|
-
Tags: (_) => (0, import_smithy_client._json)(_),
|
|
694
|
-
VpcInformation: (_) => (0, import_smithy_client._json)(_)
|
|
696
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
|
|
697
|
+
VpcInformation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VpcInformation")
|
|
695
698
|
})
|
|
696
699
|
);
|
|
697
700
|
b.m("POST").h(headers).b(body);
|
|
@@ -708,7 +711,7 @@ var se_CreateDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
708
711
|
(0, import_smithy_client.take)(input, {
|
|
709
712
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
710
713
|
DirectoryId: [],
|
|
711
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
714
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
712
715
|
})
|
|
713
716
|
);
|
|
714
717
|
b.m("POST").h(headers).b(body);
|
|
@@ -742,9 +745,9 @@ var se_CreateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
742
745
|
(0, import_smithy_client.take)(input, {
|
|
743
746
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
744
747
|
ConnectorArn: [],
|
|
745
|
-
Definition: (_) => (0, import_smithy_client._json)(_),
|
|
748
|
+
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition"),
|
|
746
749
|
Name: [],
|
|
747
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
750
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
748
751
|
})
|
|
749
752
|
);
|
|
750
753
|
b.m("POST").h(headers).b(body);
|
|
@@ -760,7 +763,7 @@ var se_CreateTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(asy
|
|
|
760
763
|
let body;
|
|
761
764
|
body = JSON.stringify(
|
|
762
765
|
(0, import_smithy_client.take)(input, {
|
|
763
|
-
AccessRights: (_) => (0, import_smithy_client._json)(_),
|
|
766
|
+
AccessRights: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccessRights"),
|
|
764
767
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
765
768
|
GroupDisplayName: [],
|
|
766
769
|
GroupSecurityIdentifier: []
|
|
@@ -945,7 +948,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
945
948
|
let body;
|
|
946
949
|
body = JSON.stringify(
|
|
947
950
|
(0, import_smithy_client.take)(input, {
|
|
948
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
951
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
949
952
|
})
|
|
950
953
|
);
|
|
951
954
|
b.m("POST").h(headers).b(body);
|
|
@@ -973,7 +976,7 @@ var se_UpdateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
973
976
|
let body;
|
|
974
977
|
body = JSON.stringify(
|
|
975
978
|
(0, import_smithy_client.take)(input, {
|
|
976
|
-
Definition: (_) => (0, import_smithy_client._json)(_),
|
|
979
|
+
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Definition"),
|
|
977
980
|
ReenrollAllCertificateHolders: []
|
|
978
981
|
})
|
|
979
982
|
);
|
|
@@ -991,7 +994,7 @@ var se_UpdateTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(asy
|
|
|
991
994
|
let body;
|
|
992
995
|
body = JSON.stringify(
|
|
993
996
|
(0, import_smithy_client.take)(input, {
|
|
994
|
-
AccessRights: (_) => (0, import_smithy_client._json)(_),
|
|
997
|
+
AccessRights: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccessRights"),
|
|
995
998
|
GroupDisplayName: []
|
|
996
999
|
})
|
|
997
1000
|
);
|
|
@@ -1119,7 +1122,7 @@ var de_GetConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1119
1122
|
});
|
|
1120
1123
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1121
1124
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1122
|
-
Connector: (_) => de_Connector(_, context)
|
|
1125
|
+
Connector: /* @__PURE__ */ __name((_) => de_Connector(_, context), "Connector")
|
|
1123
1126
|
});
|
|
1124
1127
|
Object.assign(contents, doc);
|
|
1125
1128
|
return contents;
|
|
@@ -1133,7 +1136,7 @@ var de_GetDirectoryRegistrationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1133
1136
|
});
|
|
1134
1137
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1135
1138
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1136
|
-
DirectoryRegistration: (_) => de_DirectoryRegistration(_, context)
|
|
1139
|
+
DirectoryRegistration: /* @__PURE__ */ __name((_) => de_DirectoryRegistration(_, context), "DirectoryRegistration")
|
|
1137
1140
|
});
|
|
1138
1141
|
Object.assign(contents, doc);
|
|
1139
1142
|
return contents;
|
|
@@ -1147,7 +1150,7 @@ var de_GetServicePrincipalNameCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1147
1150
|
});
|
|
1148
1151
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1149
1152
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1150
|
-
ServicePrincipalName: (_) => de_ServicePrincipalName(_, context)
|
|
1153
|
+
ServicePrincipalName: /* @__PURE__ */ __name((_) => de_ServicePrincipalName(_, context), "ServicePrincipalName")
|
|
1151
1154
|
});
|
|
1152
1155
|
Object.assign(contents, doc);
|
|
1153
1156
|
return contents;
|
|
@@ -1161,7 +1164,7 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1161
1164
|
});
|
|
1162
1165
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1163
1166
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1164
|
-
Template: (_) => de_Template(_, context)
|
|
1167
|
+
Template: /* @__PURE__ */ __name((_) => de_Template(_, context), "Template")
|
|
1165
1168
|
});
|
|
1166
1169
|
Object.assign(contents, doc);
|
|
1167
1170
|
return contents;
|
|
@@ -1175,7 +1178,7 @@ var de_GetTemplateGroupAccessControlEntryCommand = /* @__PURE__ */ __name(async
|
|
|
1175
1178
|
});
|
|
1176
1179
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1177
1180
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1178
|
-
AccessControlEntry: (_) => de_AccessControlEntry(_, context)
|
|
1181
|
+
AccessControlEntry: /* @__PURE__ */ __name((_) => de_AccessControlEntry(_, context), "AccessControlEntry")
|
|
1179
1182
|
});
|
|
1180
1183
|
Object.assign(contents, doc);
|
|
1181
1184
|
return contents;
|
|
@@ -1189,7 +1192,7 @@ var de_ListConnectorsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1189
1192
|
});
|
|
1190
1193
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1191
1194
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1192
|
-
Connectors: (_) => de_ConnectorList(_, context),
|
|
1195
|
+
Connectors: /* @__PURE__ */ __name((_) => de_ConnectorList(_, context), "Connectors"),
|
|
1193
1196
|
NextToken: import_smithy_client.expectString
|
|
1194
1197
|
});
|
|
1195
1198
|
Object.assign(contents, doc);
|
|
@@ -1204,7 +1207,7 @@ var de_ListDirectoryRegistrationsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1204
1207
|
});
|
|
1205
1208
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1206
1209
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1207
|
-
DirectoryRegistrations: (_) => de_DirectoryRegistrationList(_, context),
|
|
1210
|
+
DirectoryRegistrations: /* @__PURE__ */ __name((_) => de_DirectoryRegistrationList(_, context), "DirectoryRegistrations"),
|
|
1208
1211
|
NextToken: import_smithy_client.expectString
|
|
1209
1212
|
});
|
|
1210
1213
|
Object.assign(contents, doc);
|
|
@@ -1220,7 +1223,7 @@ var de_ListServicePrincipalNamesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1220
1223
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1221
1224
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1222
1225
|
NextToken: import_smithy_client.expectString,
|
|
1223
|
-
ServicePrincipalNames: (_) => de_ServicePrincipalNameList(_, context)
|
|
1226
|
+
ServicePrincipalNames: /* @__PURE__ */ __name((_) => de_ServicePrincipalNameList(_, context), "ServicePrincipalNames")
|
|
1224
1227
|
});
|
|
1225
1228
|
Object.assign(contents, doc);
|
|
1226
1229
|
return contents;
|
|
@@ -1248,7 +1251,7 @@ var de_ListTemplateGroupAccessControlEntriesCommand = /* @__PURE__ */ __name(asy
|
|
|
1248
1251
|
});
|
|
1249
1252
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1250
1253
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1251
|
-
AccessControlEntries: (_) => de_AccessControlEntryList(_, context),
|
|
1254
|
+
AccessControlEntries: /* @__PURE__ */ __name((_) => de_AccessControlEntryList(_, context), "AccessControlEntries"),
|
|
1252
1255
|
NextToken: import_smithy_client.expectString
|
|
1253
1256
|
});
|
|
1254
1257
|
Object.assign(contents, doc);
|
|
@@ -1264,7 +1267,7 @@ var de_ListTemplatesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1264
1267
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1265
1268
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1266
1269
|
NextToken: import_smithy_client.expectString,
|
|
1267
|
-
Templates: (_) => de_TemplateList(_, context)
|
|
1270
|
+
Templates: /* @__PURE__ */ __name((_) => de_TemplateList(_, context), "Templates")
|
|
1268
1271
|
});
|
|
1269
1272
|
Object.assign(contents, doc);
|
|
1270
1273
|
return contents;
|
|
@@ -1452,11 +1455,11 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1452
1455
|
var de_AccessControlEntry = /* @__PURE__ */ __name((output, context) => {
|
|
1453
1456
|
return (0, import_smithy_client.take)(output, {
|
|
1454
1457
|
AccessRights: import_smithy_client._json,
|
|
1455
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1458
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1456
1459
|
GroupDisplayName: import_smithy_client.expectString,
|
|
1457
1460
|
GroupSecurityIdentifier: import_smithy_client.expectString,
|
|
1458
1461
|
TemplateArn: import_smithy_client.expectString,
|
|
1459
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1462
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1460
1463
|
});
|
|
1461
1464
|
}, "de_AccessControlEntry");
|
|
1462
1465
|
var de_AccessControlEntryList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1468,11 +1471,11 @@ var de_AccessControlEntryList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1468
1471
|
var de_AccessControlEntrySummary = /* @__PURE__ */ __name((output, context) => {
|
|
1469
1472
|
return (0, import_smithy_client.take)(output, {
|
|
1470
1473
|
AccessRights: import_smithy_client._json,
|
|
1471
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1474
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1472
1475
|
GroupDisplayName: import_smithy_client.expectString,
|
|
1473
1476
|
GroupSecurityIdentifier: import_smithy_client.expectString,
|
|
1474
1477
|
TemplateArn: import_smithy_client.expectString,
|
|
1475
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1478
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1476
1479
|
});
|
|
1477
1480
|
}, "de_AccessControlEntrySummary");
|
|
1478
1481
|
var de_Connector = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1480,11 +1483,11 @@ var de_Connector = /* @__PURE__ */ __name((output, context) => {
|
|
|
1480
1483
|
Arn: import_smithy_client.expectString,
|
|
1481
1484
|
CertificateAuthorityArn: import_smithy_client.expectString,
|
|
1482
1485
|
CertificateEnrollmentPolicyServerEndpoint: import_smithy_client.expectString,
|
|
1483
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1486
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1484
1487
|
DirectoryId: import_smithy_client.expectString,
|
|
1485
1488
|
Status: import_smithy_client.expectString,
|
|
1486
1489
|
StatusReason: import_smithy_client.expectString,
|
|
1487
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1490
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt"),
|
|
1488
1491
|
VpcInformation: import_smithy_client._json
|
|
1489
1492
|
});
|
|
1490
1493
|
}, "de_Connector");
|
|
@@ -1499,22 +1502,22 @@ var de_ConnectorSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1499
1502
|
Arn: import_smithy_client.expectString,
|
|
1500
1503
|
CertificateAuthorityArn: import_smithy_client.expectString,
|
|
1501
1504
|
CertificateEnrollmentPolicyServerEndpoint: import_smithy_client.expectString,
|
|
1502
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1505
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1503
1506
|
DirectoryId: import_smithy_client.expectString,
|
|
1504
1507
|
Status: import_smithy_client.expectString,
|
|
1505
1508
|
StatusReason: import_smithy_client.expectString,
|
|
1506
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1509
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt"),
|
|
1507
1510
|
VpcInformation: import_smithy_client._json
|
|
1508
1511
|
});
|
|
1509
1512
|
}, "de_ConnectorSummary");
|
|
1510
1513
|
var de_DirectoryRegistration = /* @__PURE__ */ __name((output, context) => {
|
|
1511
1514
|
return (0, import_smithy_client.take)(output, {
|
|
1512
1515
|
Arn: import_smithy_client.expectString,
|
|
1513
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1516
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1514
1517
|
DirectoryId: import_smithy_client.expectString,
|
|
1515
1518
|
Status: import_smithy_client.expectString,
|
|
1516
1519
|
StatusReason: import_smithy_client.expectString,
|
|
1517
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1520
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1518
1521
|
});
|
|
1519
1522
|
}, "de_DirectoryRegistration");
|
|
1520
1523
|
var de_DirectoryRegistrationList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1526,21 +1529,21 @@ var de_DirectoryRegistrationList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1526
1529
|
var de_DirectoryRegistrationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1527
1530
|
return (0, import_smithy_client.take)(output, {
|
|
1528
1531
|
Arn: import_smithy_client.expectString,
|
|
1529
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1532
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1530
1533
|
DirectoryId: import_smithy_client.expectString,
|
|
1531
1534
|
Status: import_smithy_client.expectString,
|
|
1532
1535
|
StatusReason: import_smithy_client.expectString,
|
|
1533
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1536
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1534
1537
|
});
|
|
1535
1538
|
}, "de_DirectoryRegistrationSummary");
|
|
1536
1539
|
var de_ServicePrincipalName = /* @__PURE__ */ __name((output, context) => {
|
|
1537
1540
|
return (0, import_smithy_client.take)(output, {
|
|
1538
1541
|
ConnectorArn: import_smithy_client.expectString,
|
|
1539
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1542
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1540
1543
|
DirectoryRegistrationArn: import_smithy_client.expectString,
|
|
1541
1544
|
Status: import_smithy_client.expectString,
|
|
1542
1545
|
StatusReason: import_smithy_client.expectString,
|
|
1543
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1546
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1544
1547
|
});
|
|
1545
1548
|
}, "de_ServicePrincipalName");
|
|
1546
1549
|
var de_ServicePrincipalNameList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1552,25 +1555,25 @@ var de_ServicePrincipalNameList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1552
1555
|
var de_ServicePrincipalNameSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1553
1556
|
return (0, import_smithy_client.take)(output, {
|
|
1554
1557
|
ConnectorArn: import_smithy_client.expectString,
|
|
1555
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1558
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1556
1559
|
DirectoryRegistrationArn: import_smithy_client.expectString,
|
|
1557
1560
|
Status: import_smithy_client.expectString,
|
|
1558
1561
|
StatusReason: import_smithy_client.expectString,
|
|
1559
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1562
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1560
1563
|
});
|
|
1561
1564
|
}, "de_ServicePrincipalNameSummary");
|
|
1562
1565
|
var de_Template = /* @__PURE__ */ __name((output, context) => {
|
|
1563
1566
|
return (0, import_smithy_client.take)(output, {
|
|
1564
1567
|
Arn: import_smithy_client.expectString,
|
|
1565
1568
|
ConnectorArn: import_smithy_client.expectString,
|
|
1566
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1567
|
-
Definition: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1569
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1570
|
+
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Definition"),
|
|
1568
1571
|
Name: import_smithy_client.expectString,
|
|
1569
1572
|
ObjectIdentifier: import_smithy_client.expectString,
|
|
1570
1573
|
PolicySchema: import_smithy_client.expectInt32,
|
|
1571
1574
|
Revision: import_smithy_client._json,
|
|
1572
1575
|
Status: import_smithy_client.expectString,
|
|
1573
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1576
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1574
1577
|
});
|
|
1575
1578
|
}, "de_Template");
|
|
1576
1579
|
var de_TemplateList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1583,14 +1586,14 @@ var de_TemplateSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1583
1586
|
return (0, import_smithy_client.take)(output, {
|
|
1584
1587
|
Arn: import_smithy_client.expectString,
|
|
1585
1588
|
ConnectorArn: import_smithy_client.expectString,
|
|
1586
|
-
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1587
|
-
Definition: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1589
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1590
|
+
Definition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Definition"),
|
|
1588
1591
|
Name: import_smithy_client.expectString,
|
|
1589
1592
|
ObjectIdentifier: import_smithy_client.expectString,
|
|
1590
1593
|
PolicySchema: import_smithy_client.expectInt32,
|
|
1591
1594
|
Revision: import_smithy_client._json,
|
|
1592
1595
|
Status: import_smithy_client.expectString,
|
|
1593
|
-
UpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1596
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedAt")
|
|
1594
1597
|
});
|
|
1595
1598
|
}, "de_TemplateSummary");
|
|
1596
1599
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
@@ -2080,6 +2083,7 @@ var paginateListTemplates = (0, import_core.createPaginator)(PcaConnectorAdClien
|
|
|
2080
2083
|
ConflictException,
|
|
2081
2084
|
ConnectorStatus,
|
|
2082
2085
|
ConnectorStatusReason,
|
|
2086
|
+
IpAddressType,
|
|
2083
2087
|
InternalServerException,
|
|
2084
2088
|
ResourceNotFoundException,
|
|
2085
2089
|
ServiceQuotaExceededException,
|
|
@@ -148,8 +148,11 @@ export const ConnectorStatus = {
|
|
|
148
148
|
FAILED: "FAILED",
|
|
149
149
|
};
|
|
150
150
|
export const ConnectorStatusReason = {
|
|
151
|
+
CA_CERTIFICATE_REGISTRATION_FAILED: "CA_CERTIFICATE_REGISTRATION_FAILED",
|
|
151
152
|
DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED",
|
|
153
|
+
INSUFFICIENT_FREE_ADDRESSES: "INSUFFICIENT_FREE_ADDRESSES",
|
|
152
154
|
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
155
|
+
INVALID_SUBNET_IP_PROTOCOL: "INVALID_SUBNET_IP_PROTOCOL",
|
|
153
156
|
PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
|
|
154
157
|
PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
155
158
|
SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC",
|
|
@@ -157,6 +160,10 @@ export const ConnectorStatusReason = {
|
|
|
157
160
|
VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
|
|
158
161
|
VPC_RESOURCE_NOT_FOUND: "VPC_RESOURCE_NOT_FOUND",
|
|
159
162
|
};
|
|
163
|
+
export const IpAddressType = {
|
|
164
|
+
DUALSTACK: "DUALSTACK",
|
|
165
|
+
IPV4: "IPV4",
|
|
166
|
+
};
|
|
160
167
|
export class InternalServerException extends __BaseException {
|
|
161
168
|
name = "InternalServerException";
|
|
162
169
|
$fault = "server";
|
|
@@ -235,6 +242,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
235
242
|
}
|
|
236
243
|
export const ValidationExceptionReason = {
|
|
237
244
|
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
245
|
+
INVALID_CA_SUBJECT: "INVALID_CA_SUBJECT",
|
|
238
246
|
INVALID_PERMISSION: "INVALID_PERMISSION",
|
|
239
247
|
INVALID_STATE: "INVALID_STATE",
|
|
240
248
|
MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR",
|
|
@@ -325,6 +333,7 @@ export const ServicePrincipalNameStatusReason = {
|
|
|
325
333
|
DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND",
|
|
326
334
|
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
327
335
|
SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT",
|
|
336
|
+
SPN_LIMIT_EXCEEDED: "SPN_LIMIT_EXCEEDED",
|
|
328
337
|
};
|
|
329
338
|
export const TemplateStatus = {
|
|
330
339
|
ACTIVE: "ACTIVE",
|
|
@@ -39,6 +39,7 @@ declare const CreateConnectorCommand_base: {
|
|
|
39
39
|
* DirectoryId: "STRING_VALUE", // required
|
|
40
40
|
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
41
41
|
* VpcInformation: { // VpcInformation
|
|
42
|
+
* IpAddressType: "IPV4" || "DUALSTACK",
|
|
42
43
|
* SecurityGroupIds: [ // SecurityGroupIdList // required
|
|
43
44
|
* "STRING_VALUE",
|
|
44
45
|
* ],
|
|
@@ -47,12 +47,13 @@ declare const GetConnectorCommand_base: {
|
|
|
47
47
|
* // CertificateEnrollmentPolicyServerEndpoint: "STRING_VALUE",
|
|
48
48
|
* // DirectoryId: "STRING_VALUE",
|
|
49
49
|
* // VpcInformation: { // VpcInformation
|
|
50
|
+
* // IpAddressType: "IPV4" || "DUALSTACK",
|
|
50
51
|
* // SecurityGroupIds: [ // SecurityGroupIdList // required
|
|
51
52
|
* // "STRING_VALUE",
|
|
52
53
|
* // ],
|
|
53
54
|
* // },
|
|
54
55
|
* // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
55
|
-
* // StatusReason: "DIRECTORY_ACCESS_DENIED" || "INTERNAL_FAILURE" || "PRIVATECA_ACCESS_DENIED" || "PRIVATECA_RESOURCE_NOT_FOUND" || "SECURITY_GROUP_NOT_IN_VPC" || "VPC_ACCESS_DENIED" || "VPC_ENDPOINT_LIMIT_EXCEEDED" || "VPC_RESOURCE_NOT_FOUND",
|
|
56
|
+
* // StatusReason: "CA_CERTIFICATE_REGISTRATION_FAILED" || "DIRECTORY_ACCESS_DENIED" || "INTERNAL_FAILURE" || "INSUFFICIENT_FREE_ADDRESSES" || "INVALID_SUBNET_IP_PROTOCOL" || "PRIVATECA_ACCESS_DENIED" || "PRIVATECA_RESOURCE_NOT_FOUND" || "SECURITY_GROUP_NOT_IN_VPC" || "VPC_ACCESS_DENIED" || "VPC_ENDPOINT_LIMIT_EXCEEDED" || "VPC_RESOURCE_NOT_FOUND",
|
|
56
57
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
57
58
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
58
59
|
* // },
|
|
@@ -46,7 +46,7 @@ declare const GetServicePrincipalNameCommand_base: {
|
|
|
46
46
|
* // DirectoryRegistrationArn: "STRING_VALUE",
|
|
47
47
|
* // ConnectorArn: "STRING_VALUE",
|
|
48
48
|
* // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
49
|
-
* // StatusReason: "DIRECTORY_ACCESS_DENIED" || "DIRECTORY_NOT_REACHABLE" || "DIRECTORY_RESOURCE_NOT_FOUND" || "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT" || "INTERNAL_FAILURE",
|
|
49
|
+
* // StatusReason: "DIRECTORY_ACCESS_DENIED" || "DIRECTORY_NOT_REACHABLE" || "DIRECTORY_RESOURCE_NOT_FOUND" || "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT" || "SPN_LIMIT_EXCEEDED" || "INTERNAL_FAILURE",
|
|
50
50
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
51
51
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
52
52
|
* // },
|
|
@@ -48,12 +48,13 @@ declare const ListConnectorsCommand_base: {
|
|
|
48
48
|
* // CertificateEnrollmentPolicyServerEndpoint: "STRING_VALUE",
|
|
49
49
|
* // DirectoryId: "STRING_VALUE",
|
|
50
50
|
* // VpcInformation: { // VpcInformation
|
|
51
|
+
* // IpAddressType: "IPV4" || "DUALSTACK",
|
|
51
52
|
* // SecurityGroupIds: [ // SecurityGroupIdList // required
|
|
52
53
|
* // "STRING_VALUE",
|
|
53
54
|
* // ],
|
|
54
55
|
* // },
|
|
55
56
|
* // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
56
|
-
* // StatusReason: "DIRECTORY_ACCESS_DENIED" || "INTERNAL_FAILURE" || "PRIVATECA_ACCESS_DENIED" || "PRIVATECA_RESOURCE_NOT_FOUND" || "SECURITY_GROUP_NOT_IN_VPC" || "VPC_ACCESS_DENIED" || "VPC_ENDPOINT_LIMIT_EXCEEDED" || "VPC_RESOURCE_NOT_FOUND",
|
|
57
|
+
* // StatusReason: "CA_CERTIFICATE_REGISTRATION_FAILED" || "DIRECTORY_ACCESS_DENIED" || "INTERNAL_FAILURE" || "INSUFFICIENT_FREE_ADDRESSES" || "INVALID_SUBNET_IP_PROTOCOL" || "PRIVATECA_ACCESS_DENIED" || "PRIVATECA_RESOURCE_NOT_FOUND" || "SECURITY_GROUP_NOT_IN_VPC" || "VPC_ACCESS_DENIED" || "VPC_ENDPOINT_LIMIT_EXCEEDED" || "VPC_RESOURCE_NOT_FOUND",
|
|
57
58
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
58
59
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
59
60
|
* // },
|
|
@@ -48,7 +48,7 @@ declare const ListServicePrincipalNamesCommand_base: {
|
|
|
48
48
|
* // DirectoryRegistrationArn: "STRING_VALUE",
|
|
49
49
|
* // ConnectorArn: "STRING_VALUE",
|
|
50
50
|
* // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
51
|
-
* // StatusReason: "DIRECTORY_ACCESS_DENIED" || "DIRECTORY_NOT_REACHABLE" || "DIRECTORY_RESOURCE_NOT_FOUND" || "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT" || "INTERNAL_FAILURE",
|
|
51
|
+
* // StatusReason: "DIRECTORY_ACCESS_DENIED" || "DIRECTORY_NOT_REACHABLE" || "DIRECTORY_RESOURCE_NOT_FOUND" || "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT" || "SPN_LIMIT_EXCEEDED" || "INTERNAL_FAILURE",
|
|
52
52
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
54
54
|
* // },
|
|
@@ -417,8 +417,11 @@ export type ConnectorStatus = (typeof ConnectorStatus)[keyof typeof ConnectorSta
|
|
|
417
417
|
* @enum
|
|
418
418
|
*/
|
|
419
419
|
export declare const ConnectorStatusReason: {
|
|
420
|
+
readonly CA_CERTIFICATE_REGISTRATION_FAILED: "CA_CERTIFICATE_REGISTRATION_FAILED";
|
|
420
421
|
readonly DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED";
|
|
422
|
+
readonly INSUFFICIENT_FREE_ADDRESSES: "INSUFFICIENT_FREE_ADDRESSES";
|
|
421
423
|
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
424
|
+
readonly INVALID_SUBNET_IP_PROTOCOL: "INVALID_SUBNET_IP_PROTOCOL";
|
|
422
425
|
readonly PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED";
|
|
423
426
|
readonly PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND";
|
|
424
427
|
readonly SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC";
|
|
@@ -430,11 +433,28 @@ export declare const ConnectorStatusReason: {
|
|
|
430
433
|
* @public
|
|
431
434
|
*/
|
|
432
435
|
export type ConnectorStatusReason = (typeof ConnectorStatusReason)[keyof typeof ConnectorStatusReason];
|
|
436
|
+
/**
|
|
437
|
+
* @public
|
|
438
|
+
* @enum
|
|
439
|
+
*/
|
|
440
|
+
export declare const IpAddressType: {
|
|
441
|
+
readonly DUALSTACK: "DUALSTACK";
|
|
442
|
+
readonly IPV4: "IPV4";
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
433
448
|
/**
|
|
434
449
|
* <p>Information about your VPC and security groups used with the connector.</p>
|
|
435
450
|
* @public
|
|
436
451
|
*/
|
|
437
452
|
export interface VpcInformation {
|
|
453
|
+
/**
|
|
454
|
+
* <p>The VPC IP address type.</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
IpAddressType?: IpAddressType | undefined;
|
|
438
458
|
/**
|
|
439
459
|
* <p>The security groups used with the connector. You can use a maximum of 4 security groups
|
|
440
460
|
* with a connector.</p>
|
|
@@ -564,7 +584,7 @@ export interface CreateConnectorRequest {
|
|
|
564
584
|
*/
|
|
565
585
|
CertificateAuthorityArn: string | undefined;
|
|
566
586
|
/**
|
|
567
|
-
* <p>
|
|
587
|
+
* <p>Information about your VPC and security groups used with the connector.</p>
|
|
568
588
|
* @public
|
|
569
589
|
*/
|
|
570
590
|
VpcInformation: VpcInformation | undefined;
|
|
@@ -693,6 +713,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
693
713
|
*/
|
|
694
714
|
export declare const ValidationExceptionReason: {
|
|
695
715
|
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
716
|
+
readonly INVALID_CA_SUBJECT: "INVALID_CA_SUBJECT";
|
|
696
717
|
readonly INVALID_PERMISSION: "INVALID_PERMISSION";
|
|
697
718
|
readonly INVALID_STATE: "INVALID_STATE";
|
|
698
719
|
readonly MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR";
|
|
@@ -2165,6 +2186,7 @@ export declare const ServicePrincipalNameStatusReason: {
|
|
|
2165
2186
|
readonly DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND";
|
|
2166
2187
|
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
2167
2188
|
readonly SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT";
|
|
2189
|
+
readonly SPN_LIMIT_EXCEEDED: "SPN_LIMIT_EXCEEDED";
|
|
2168
2190
|
};
|
|
2169
2191
|
/**
|
|
2170
2192
|
* @public
|
|
@@ -195,8 +195,11 @@ export declare const ConnectorStatus: {
|
|
|
195
195
|
export type ConnectorStatus =
|
|
196
196
|
(typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
197
197
|
export declare const ConnectorStatusReason: {
|
|
198
|
+
readonly CA_CERTIFICATE_REGISTRATION_FAILED: "CA_CERTIFICATE_REGISTRATION_FAILED";
|
|
198
199
|
readonly DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED";
|
|
200
|
+
readonly INSUFFICIENT_FREE_ADDRESSES: "INSUFFICIENT_FREE_ADDRESSES";
|
|
199
201
|
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
202
|
+
readonly INVALID_SUBNET_IP_PROTOCOL: "INVALID_SUBNET_IP_PROTOCOL";
|
|
200
203
|
readonly PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED";
|
|
201
204
|
readonly PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND";
|
|
202
205
|
readonly SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC";
|
|
@@ -206,7 +209,13 @@ export declare const ConnectorStatusReason: {
|
|
|
206
209
|
};
|
|
207
210
|
export type ConnectorStatusReason =
|
|
208
211
|
(typeof ConnectorStatusReason)[keyof typeof ConnectorStatusReason];
|
|
212
|
+
export declare const IpAddressType: {
|
|
213
|
+
readonly DUALSTACK: "DUALSTACK";
|
|
214
|
+
readonly IPV4: "IPV4";
|
|
215
|
+
};
|
|
216
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
209
217
|
export interface VpcInformation {
|
|
218
|
+
IpAddressType?: IpAddressType | undefined;
|
|
210
219
|
SecurityGroupIds: string[] | undefined;
|
|
211
220
|
}
|
|
212
221
|
export interface Connector {
|
|
@@ -287,6 +296,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
287
296
|
}
|
|
288
297
|
export declare const ValidationExceptionReason: {
|
|
289
298
|
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
299
|
+
readonly INVALID_CA_SUBJECT: "INVALID_CA_SUBJECT";
|
|
290
300
|
readonly INVALID_PERMISSION: "INVALID_PERMISSION";
|
|
291
301
|
readonly INVALID_STATE: "INVALID_STATE";
|
|
292
302
|
readonly MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR";
|
|
@@ -689,6 +699,7 @@ export declare const ServicePrincipalNameStatusReason: {
|
|
|
689
699
|
readonly DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND";
|
|
690
700
|
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
691
701
|
readonly SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT";
|
|
702
|
+
readonly SPN_LIMIT_EXCEEDED: "SPN_LIMIT_EXCEEDED";
|
|
692
703
|
};
|
|
693
704
|
export type ServicePrincipalNameStatusReason =
|
|
694
705
|
(typeof ServicePrincipalNameStatusReason)[keyof typeof ServicePrincipalNameStatusReason];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pca-connector-ad",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pca Connector Ad Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-pca-connector-ad",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|