@aws-sdk/client-pca-connector-ad 3.403.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/LICENSE +201 -0
- package/README.md +407 -0
- package/dist-cjs/PcaConnectorAd.js +61 -0
- package/dist-cjs/PcaConnectorAdClient.js +43 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +46 -0
- package/dist-cjs/commands/CreateDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/CreateServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/CreateTemplateCommand.js +46 -0
- package/dist-cjs/commands/CreateTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +46 -0
- package/dist-cjs/commands/DeleteDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/DeleteServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/DeleteTemplateCommand.js +46 -0
- package/dist-cjs/commands/DeleteTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/GetConnectorCommand.js +46 -0
- package/dist-cjs/commands/GetDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/GetServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/GetTemplateCommand.js +46 -0
- package/dist-cjs/commands/GetTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +46 -0
- package/dist-cjs/commands/ListDirectoryRegistrationsCommand.js +46 -0
- package/dist-cjs/commands/ListServicePrincipalNamesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/ListTemplateGroupAccessControlEntriesCommand.js +46 -0
- package/dist-cjs/commands/ListTemplatesCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateTemplateCommand.js +46 -0
- package/dist-cjs/commands/UpdateTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/PcaConnectorAdServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +324 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDirectoryRegistrationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListServicePrincipalNamesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1985 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +22 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/PcaConnectorAd.js +57 -0
- package/dist-es/PcaConnectorAdClient.js +39 -0
- package/dist-es/commands/CreateConnectorCommand.js +42 -0
- package/dist-es/commands/CreateDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/CreateServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/CreateTemplateCommand.js +42 -0
- package/dist-es/commands/CreateTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/DeleteConnectorCommand.js +42 -0
- package/dist-es/commands/DeleteDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/DeleteServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/DeleteTemplateCommand.js +42 -0
- package/dist-es/commands/DeleteTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/GetConnectorCommand.js +42 -0
- package/dist-es/commands/GetDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/GetServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/GetTemplateCommand.js +42 -0
- package/dist-es/commands/GetTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/ListConnectorsCommand.js +42 -0
- package/dist-es/commands/ListDirectoryRegistrationsCommand.js +42 -0
- package/dist-es/commands/ListServicePrincipalNamesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/ListTemplateGroupAccessControlEntriesCommand.js +42 -0
- package/dist-es/commands/ListTemplatesCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateTemplateCommand.js +42 -0
- package/dist-es/commands/UpdateTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/PcaConnectorAdServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +314 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +25 -0
- package/dist-es/pagination/ListDirectoryRegistrationsPaginator.js +25 -0
- package/dist-es/pagination/ListServicePrincipalNamesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplatesPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1932 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +18 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/PcaConnectorAd.d.ts +187 -0
- package/dist-types/PcaConnectorAdClient.d.ts +194 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +113 -0
- package/dist-types/commands/CreateDirectoryRegistrationCommand.d.ts +104 -0
- package/dist-types/commands/CreateServicePrincipalNameCommand.d.ts +101 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +344 -0
- package/dist-types/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +108 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +101 -0
- package/dist-types/commands/DeleteDirectoryRegistrationCommand.d.ts +94 -0
- package/dist-types/commands/DeleteServicePrincipalNameCommand.d.ts +95 -0
- package/dist-types/commands/DeleteTemplateCommand.d.ts +98 -0
- package/dist-types/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +98 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +110 -0
- package/dist-types/commands/GetDirectoryRegistrationCommand.d.ts +102 -0
- package/dist-types/commands/GetServicePrincipalNameCommand.d.ts +104 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +345 -0
- package/dist-types/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +106 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +109 -0
- package/dist-types/commands/ListDirectoryRegistrationsCommand.d.ts +103 -0
- package/dist-types/commands/ListServicePrincipalNamesCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
- package/dist-types/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +110 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +349 -0
- package/dist-types/commands/TagResourceCommand.d.ts +96 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +96 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +334 -0
- package/dist-types/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/PcaConnectorAdServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2690 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDirectoryRegistrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServicePrincipalNamesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
- package/dist-types/runtimeConfig.browser.d.ts +43 -0
- package/dist-types/runtimeConfig.d.ts +43 -0
- package/dist-types/runtimeConfig.native.d.ts +42 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/PcaConnectorAd.d.ts +462 -0
- package/dist-types/ts3.4/PcaConnectorAdClient.d.ts +269 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateDirectoryRegistrationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateServicePrincipalNameCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteDirectoryRegistrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteServicePrincipalNameCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetDirectoryRegistrationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetServicePrincipalNameCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDirectoryRegistrationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListServicePrincipalNamesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/PcaConnectorAdServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +812 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDirectoryRegistrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServicePrincipalNamesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,812 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { PcaConnectorAdServiceException as __BaseException } from "./PcaConnectorAdServiceException";
|
|
3
|
+
export declare const AccessRight: {
|
|
4
|
+
readonly ALLOW: "ALLOW";
|
|
5
|
+
readonly DENY: "DENY";
|
|
6
|
+
};
|
|
7
|
+
export type AccessRight = (typeof AccessRight)[keyof typeof AccessRight];
|
|
8
|
+
export interface AccessRights {
|
|
9
|
+
Enroll?: AccessRight | string;
|
|
10
|
+
AutoEnroll?: AccessRight | string;
|
|
11
|
+
}
|
|
12
|
+
export interface AccessControlEntry {
|
|
13
|
+
GroupDisplayName?: string;
|
|
14
|
+
GroupSecurityIdentifier?: string;
|
|
15
|
+
AccessRights?: AccessRights;
|
|
16
|
+
TemplateArn?: string;
|
|
17
|
+
CreatedAt?: Date;
|
|
18
|
+
UpdatedAt?: Date;
|
|
19
|
+
}
|
|
20
|
+
export interface AccessControlEntrySummary {
|
|
21
|
+
GroupDisplayName?: string;
|
|
22
|
+
GroupSecurityIdentifier?: string;
|
|
23
|
+
AccessRights?: AccessRights;
|
|
24
|
+
TemplateArn?: string;
|
|
25
|
+
CreatedAt?: Date;
|
|
26
|
+
UpdatedAt?: Date;
|
|
27
|
+
}
|
|
28
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
29
|
+
readonly name: "AccessDeniedException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
Message: string | undefined;
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare const ApplicationPolicyType: {
|
|
37
|
+
readonly ALL_APPLICATION_POLICIES: "ALL_APPLICATION_POLICIES";
|
|
38
|
+
readonly ANY_PURPOSE: "ANY_PURPOSE";
|
|
39
|
+
readonly ATTESTATION_IDENTITY_KEY_CERTIFICATE: "ATTESTATION_IDENTITY_KEY_CERTIFICATE";
|
|
40
|
+
readonly CERTIFICATE_REQUEST_AGENT: "CERTIFICATE_REQUEST_AGENT";
|
|
41
|
+
readonly CLIENT_AUTHENTICATION: "CLIENT_AUTHENTICATION";
|
|
42
|
+
readonly CODE_SIGNING: "CODE_SIGNING";
|
|
43
|
+
readonly CTL_USAGE: "CTL_USAGE";
|
|
44
|
+
readonly DIGITAL_RIGHTS: "DIGITAL_RIGHTS";
|
|
45
|
+
readonly DIRECTORY_SERVICE_EMAIL_REPLICATION: "DIRECTORY_SERVICE_EMAIL_REPLICATION";
|
|
46
|
+
readonly DISALLOWED_LIST: "DISALLOWED_LIST";
|
|
47
|
+
readonly DNS_SERVER_TRUST: "DNS_SERVER_TRUST";
|
|
48
|
+
readonly DOCUMENT_ENCRYPTION: "DOCUMENT_ENCRYPTION";
|
|
49
|
+
readonly DOCUMENT_SIGNING: "DOCUMENT_SIGNING";
|
|
50
|
+
readonly DYNAMIC_CODE_GENERATOR: "DYNAMIC_CODE_GENERATOR";
|
|
51
|
+
readonly EARLY_LAUNCH_ANTIMALWARE_DRIVER: "EARLY_LAUNCH_ANTIMALWARE_DRIVER";
|
|
52
|
+
readonly EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION";
|
|
53
|
+
readonly ENCLAVE: "ENCLAVE";
|
|
54
|
+
readonly ENCRYPTING_FILE_SYSTEM: "ENCRYPTING_FILE_SYSTEM";
|
|
55
|
+
readonly ENDORSEMENT_KEY_CERTIFICATE: "ENDORSEMENT_KEY_CERTIFICATE";
|
|
56
|
+
readonly FILE_RECOVERY: "FILE_RECOVERY";
|
|
57
|
+
readonly HAL_EXTENSION: "HAL_EXTENSION";
|
|
58
|
+
readonly IP_SECURITY_END_SYSTEM: "IP_SECURITY_END_SYSTEM";
|
|
59
|
+
readonly IP_SECURITY_IKE_INTERMEDIATE: "IP_SECURITY_IKE_INTERMEDIATE";
|
|
60
|
+
readonly IP_SECURITY_TUNNEL_TERMINATION: "IP_SECURITY_TUNNEL_TERMINATION";
|
|
61
|
+
readonly IP_SECURITY_USER: "IP_SECURITY_USER";
|
|
62
|
+
readonly ISOLATED_USER_MODE: "ISOLATED_USER_MODE";
|
|
63
|
+
readonly KDC_AUTHENTICATION: "KDC_AUTHENTICATION";
|
|
64
|
+
readonly KERNEL_MODE_CODE_SIGNING: "KERNEL_MODE_CODE_SIGNING";
|
|
65
|
+
readonly KEY_PACK_LICENSES: "KEY_PACK_LICENSES";
|
|
66
|
+
readonly KEY_RECOVERY: "KEY_RECOVERY";
|
|
67
|
+
readonly KEY_RECOVERY_AGENT: "KEY_RECOVERY_AGENT";
|
|
68
|
+
readonly LICENSE_SERVER_VERIFICATION: "LICENSE_SERVER_VERIFICATION";
|
|
69
|
+
readonly LIFETIME_SIGNING: "LIFETIME_SIGNING";
|
|
70
|
+
readonly MICROSOFT_PUBLISHER: "MICROSOFT_PUBLISHER";
|
|
71
|
+
readonly MICROSOFT_TIME_STAMPING: "MICROSOFT_TIME_STAMPING";
|
|
72
|
+
readonly MICROSOFT_TRUST_LIST_SIGNING: "MICROSOFT_TRUST_LIST_SIGNING";
|
|
73
|
+
readonly OCSP_SIGNING: "OCSP_SIGNING";
|
|
74
|
+
readonly OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION";
|
|
75
|
+
readonly PLATFORM_CERTIFICATE: "PLATFORM_CERTIFICATE";
|
|
76
|
+
readonly PREVIEW_BUILD_SIGNING: "PREVIEW_BUILD_SIGNING";
|
|
77
|
+
readonly PRIVATE_KEY_ARCHIVAL: "PRIVATE_KEY_ARCHIVAL";
|
|
78
|
+
readonly PROTECTED_PROCESS_LIGHT_VERIFICATION: "PROTECTED_PROCESS_LIGHT_VERIFICATION";
|
|
79
|
+
readonly PROTECTED_PROCESS_VERIFICATION: "PROTECTED_PROCESS_VERIFICATION";
|
|
80
|
+
readonly QUALIFIED_SUBORDINATION: "QUALIFIED_SUBORDINATION";
|
|
81
|
+
readonly REVOKED_LIST_SIGNER: "REVOKED_LIST_SIGNER";
|
|
82
|
+
readonly ROOT_LIST_SIGNER: "ROOT_LIST_SIGNER";
|
|
83
|
+
readonly ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION";
|
|
84
|
+
readonly ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION";
|
|
85
|
+
readonly ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL: "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL";
|
|
86
|
+
readonly SECURE_EMAIL: "SECURE_EMAIL";
|
|
87
|
+
readonly SERVER_AUTHENTICATION: "SERVER_AUTHENTICATION";
|
|
88
|
+
readonly SMART_CARD_LOGIN: "SMART_CARD_LOGIN";
|
|
89
|
+
readonly SPC_ENCRYPTED_DIGEST_RETRY_COUNT: "SPC_ENCRYPTED_DIGEST_RETRY_COUNT";
|
|
90
|
+
readonly SPC_RELAXED_PE_MARKER_CHECK: "SPC_RELAXED_PE_MARKER_CHECK";
|
|
91
|
+
readonly TIME_STAMPING: "TIME_STAMPING";
|
|
92
|
+
readonly WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION";
|
|
93
|
+
readonly WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION";
|
|
94
|
+
readonly WINDOWS_HARDWARE_DRIVER_VERIFICATION: "WINDOWS_HARDWARE_DRIVER_VERIFICATION";
|
|
95
|
+
readonly WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION: "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION";
|
|
96
|
+
readonly WINDOWS_KITS_COMPONENT: "WINDOWS_KITS_COMPONENT";
|
|
97
|
+
readonly WINDOWS_RT_VERIFICATION: "WINDOWS_RT_VERIFICATION";
|
|
98
|
+
readonly WINDOWS_SOFTWARE_EXTENSION_VERIFICATION: "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION";
|
|
99
|
+
readonly WINDOWS_STORE: "WINDOWS_STORE";
|
|
100
|
+
readonly WINDOWS_SYSTEM_COMPONENT_VERIFICATION: "WINDOWS_SYSTEM_COMPONENT_VERIFICATION";
|
|
101
|
+
readonly WINDOWS_TCB_COMPONENT: "WINDOWS_TCB_COMPONENT";
|
|
102
|
+
readonly WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT: "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT";
|
|
103
|
+
readonly WINDOWS_UPDATE: "WINDOWS_UPDATE";
|
|
104
|
+
};
|
|
105
|
+
export type ApplicationPolicyType =
|
|
106
|
+
(typeof ApplicationPolicyType)[keyof typeof ApplicationPolicyType];
|
|
107
|
+
export type ApplicationPolicy =
|
|
108
|
+
| ApplicationPolicy.PolicyObjectIdentifierMember
|
|
109
|
+
| ApplicationPolicy.PolicyTypeMember
|
|
110
|
+
| ApplicationPolicy.$UnknownMember;
|
|
111
|
+
export declare namespace ApplicationPolicy {
|
|
112
|
+
interface PolicyTypeMember {
|
|
113
|
+
PolicyType: ApplicationPolicyType | string;
|
|
114
|
+
PolicyObjectIdentifier?: never;
|
|
115
|
+
$unknown?: never;
|
|
116
|
+
}
|
|
117
|
+
interface PolicyObjectIdentifierMember {
|
|
118
|
+
PolicyType?: never;
|
|
119
|
+
PolicyObjectIdentifier: string;
|
|
120
|
+
$unknown?: never;
|
|
121
|
+
}
|
|
122
|
+
interface $UnknownMember {
|
|
123
|
+
PolicyType?: never;
|
|
124
|
+
PolicyObjectIdentifier?: never;
|
|
125
|
+
$unknown: [string, any];
|
|
126
|
+
}
|
|
127
|
+
interface Visitor<T> {
|
|
128
|
+
PolicyType: (value: ApplicationPolicyType | string) => T;
|
|
129
|
+
PolicyObjectIdentifier: (value: string) => T;
|
|
130
|
+
_: (name: string, value: any) => T;
|
|
131
|
+
}
|
|
132
|
+
const visit: <T>(value: ApplicationPolicy, visitor: Visitor<T>) => T;
|
|
133
|
+
}
|
|
134
|
+
export interface ApplicationPolicies {
|
|
135
|
+
Critical?: boolean;
|
|
136
|
+
Policies: ApplicationPolicy[] | undefined;
|
|
137
|
+
}
|
|
138
|
+
export declare const ValidityPeriodType: {
|
|
139
|
+
readonly DAYS: "DAYS";
|
|
140
|
+
readonly HOURS: "HOURS";
|
|
141
|
+
readonly MONTHS: "MONTHS";
|
|
142
|
+
readonly WEEKS: "WEEKS";
|
|
143
|
+
readonly YEARS: "YEARS";
|
|
144
|
+
};
|
|
145
|
+
export type ValidityPeriodType =
|
|
146
|
+
(typeof ValidityPeriodType)[keyof typeof ValidityPeriodType];
|
|
147
|
+
export interface ValidityPeriod {
|
|
148
|
+
PeriodType: ValidityPeriodType | string | undefined;
|
|
149
|
+
Period: number | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface CertificateValidity {
|
|
152
|
+
ValidityPeriod: ValidityPeriod | undefined;
|
|
153
|
+
RenewalPeriod: ValidityPeriod | undefined;
|
|
154
|
+
}
|
|
155
|
+
export declare const ClientCompatibilityV2: {
|
|
156
|
+
readonly WINDOWS_SERVER_2003: "WINDOWS_SERVER_2003";
|
|
157
|
+
readonly WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008";
|
|
158
|
+
readonly WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2";
|
|
159
|
+
readonly WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012";
|
|
160
|
+
readonly WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2";
|
|
161
|
+
readonly WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016";
|
|
162
|
+
};
|
|
163
|
+
export type ClientCompatibilityV2 =
|
|
164
|
+
(typeof ClientCompatibilityV2)[keyof typeof ClientCompatibilityV2];
|
|
165
|
+
export declare const ClientCompatibilityV3: {
|
|
166
|
+
readonly WINDOWS_SERVER_2008: "WINDOWS_SERVER_2008";
|
|
167
|
+
readonly WINDOWS_SERVER_2008_R2: "WINDOWS_SERVER_2008_R2";
|
|
168
|
+
readonly WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012";
|
|
169
|
+
readonly WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2";
|
|
170
|
+
readonly WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016";
|
|
171
|
+
};
|
|
172
|
+
export type ClientCompatibilityV3 =
|
|
173
|
+
(typeof ClientCompatibilityV3)[keyof typeof ClientCompatibilityV3];
|
|
174
|
+
export declare const ClientCompatibilityV4: {
|
|
175
|
+
readonly WINDOWS_SERVER_2012: "WINDOWS_SERVER_2012";
|
|
176
|
+
readonly WINDOWS_SERVER_2012_R2: "WINDOWS_SERVER_2012_R2";
|
|
177
|
+
readonly WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016";
|
|
178
|
+
};
|
|
179
|
+
export type ClientCompatibilityV4 =
|
|
180
|
+
(typeof ClientCompatibilityV4)[keyof typeof ClientCompatibilityV4];
|
|
181
|
+
export declare class ConflictException extends __BaseException {
|
|
182
|
+
readonly name: "ConflictException";
|
|
183
|
+
readonly $fault: "client";
|
|
184
|
+
Message: string | undefined;
|
|
185
|
+
ResourceId: string | undefined;
|
|
186
|
+
ResourceType: string | undefined;
|
|
187
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
188
|
+
}
|
|
189
|
+
export declare const ConnectorStatus: {
|
|
190
|
+
readonly ACTIVE: "ACTIVE";
|
|
191
|
+
readonly CREATING: "CREATING";
|
|
192
|
+
readonly DELETING: "DELETING";
|
|
193
|
+
readonly FAILED: "FAILED";
|
|
194
|
+
};
|
|
195
|
+
export type ConnectorStatus =
|
|
196
|
+
(typeof ConnectorStatus)[keyof typeof ConnectorStatus];
|
|
197
|
+
export declare const ConnectorStatusReason: {
|
|
198
|
+
readonly DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED";
|
|
199
|
+
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
200
|
+
readonly PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED";
|
|
201
|
+
readonly PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND";
|
|
202
|
+
readonly SECURITY_GROUP_NOT_IN_VPC: "SECURITY_GROUP_NOT_IN_VPC";
|
|
203
|
+
readonly VPC_ACCESS_DENIED: "VPC_ACCESS_DENIED";
|
|
204
|
+
readonly VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED";
|
|
205
|
+
readonly VPC_RESOURCE_NOT_FOUND: "VPC_RESOURCE_NOT_FOUND";
|
|
206
|
+
};
|
|
207
|
+
export type ConnectorStatusReason =
|
|
208
|
+
(typeof ConnectorStatusReason)[keyof typeof ConnectorStatusReason];
|
|
209
|
+
export interface VpcInformation {
|
|
210
|
+
SecurityGroupIds: string[] | undefined;
|
|
211
|
+
}
|
|
212
|
+
export interface Connector {
|
|
213
|
+
Arn?: string;
|
|
214
|
+
CertificateAuthorityArn?: string;
|
|
215
|
+
CertificateEnrollmentPolicyServerEndpoint?: string;
|
|
216
|
+
DirectoryId?: string;
|
|
217
|
+
VpcInformation?: VpcInformation;
|
|
218
|
+
Status?: ConnectorStatus | string;
|
|
219
|
+
StatusReason?: ConnectorStatusReason | string;
|
|
220
|
+
CreatedAt?: Date;
|
|
221
|
+
UpdatedAt?: Date;
|
|
222
|
+
}
|
|
223
|
+
export interface ConnectorSummary {
|
|
224
|
+
Arn?: string;
|
|
225
|
+
CertificateAuthorityArn?: string;
|
|
226
|
+
CertificateEnrollmentPolicyServerEndpoint?: string;
|
|
227
|
+
DirectoryId?: string;
|
|
228
|
+
VpcInformation?: VpcInformation;
|
|
229
|
+
Status?: ConnectorStatus | string;
|
|
230
|
+
StatusReason?: ConnectorStatusReason | string;
|
|
231
|
+
CreatedAt?: Date;
|
|
232
|
+
UpdatedAt?: Date;
|
|
233
|
+
}
|
|
234
|
+
export interface CreateConnectorRequest {
|
|
235
|
+
DirectoryId: string | undefined;
|
|
236
|
+
CertificateAuthorityArn: string | undefined;
|
|
237
|
+
VpcInformation: VpcInformation | undefined;
|
|
238
|
+
ClientToken?: string;
|
|
239
|
+
Tags?: Record<string, string>;
|
|
240
|
+
}
|
|
241
|
+
export interface CreateConnectorResponse {
|
|
242
|
+
ConnectorArn?: string;
|
|
243
|
+
}
|
|
244
|
+
export declare class InternalServerException extends __BaseException {
|
|
245
|
+
readonly name: "InternalServerException";
|
|
246
|
+
readonly $fault: "server";
|
|
247
|
+
$retryable: {};
|
|
248
|
+
Message: string | undefined;
|
|
249
|
+
constructor(
|
|
250
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
251
|
+
);
|
|
252
|
+
}
|
|
253
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
254
|
+
readonly name: "ResourceNotFoundException";
|
|
255
|
+
readonly $fault: "client";
|
|
256
|
+
Message: string | undefined;
|
|
257
|
+
ResourceId: string | undefined;
|
|
258
|
+
ResourceType: string | undefined;
|
|
259
|
+
constructor(
|
|
260
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
264
|
+
readonly name: "ServiceQuotaExceededException";
|
|
265
|
+
readonly $fault: "client";
|
|
266
|
+
Message: string | undefined;
|
|
267
|
+
ResourceId: string | undefined;
|
|
268
|
+
ResourceType: string | undefined;
|
|
269
|
+
ServiceCode: string | undefined;
|
|
270
|
+
QuotaCode: string | undefined;
|
|
271
|
+
constructor(
|
|
272
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
export declare class ThrottlingException extends __BaseException {
|
|
276
|
+
readonly name: "ThrottlingException";
|
|
277
|
+
readonly $fault: "client";
|
|
278
|
+
$retryable: {
|
|
279
|
+
throttling: boolean;
|
|
280
|
+
};
|
|
281
|
+
Message: string | undefined;
|
|
282
|
+
ServiceCode?: string;
|
|
283
|
+
QuotaCode?: string;
|
|
284
|
+
constructor(
|
|
285
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
286
|
+
);
|
|
287
|
+
}
|
|
288
|
+
export declare const ValidationExceptionReason: {
|
|
289
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
290
|
+
readonly INVALID_PERMISSION: "INVALID_PERMISSION";
|
|
291
|
+
readonly INVALID_STATE: "INVALID_STATE";
|
|
292
|
+
readonly MISMATCHED_CONNECTOR: "MISMATCHED_CONNECTOR";
|
|
293
|
+
readonly MISMATCHED_VPC: "MISMATCHED_VPC";
|
|
294
|
+
readonly NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN";
|
|
295
|
+
readonly OTHER: "OTHER";
|
|
296
|
+
readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
|
|
297
|
+
};
|
|
298
|
+
export type ValidationExceptionReason =
|
|
299
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
300
|
+
export declare class ValidationException extends __BaseException {
|
|
301
|
+
readonly name: "ValidationException";
|
|
302
|
+
readonly $fault: "client";
|
|
303
|
+
Message: string | undefined;
|
|
304
|
+
Reason?: ValidationExceptionReason | string;
|
|
305
|
+
constructor(
|
|
306
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
export interface DeleteConnectorRequest {
|
|
310
|
+
ConnectorArn: string | undefined;
|
|
311
|
+
}
|
|
312
|
+
export interface GetConnectorRequest {
|
|
313
|
+
ConnectorArn: string | undefined;
|
|
314
|
+
}
|
|
315
|
+
export interface GetConnectorResponse {
|
|
316
|
+
Connector?: Connector;
|
|
317
|
+
}
|
|
318
|
+
export interface ListConnectorsRequest {
|
|
319
|
+
MaxResults?: number;
|
|
320
|
+
NextToken?: string;
|
|
321
|
+
}
|
|
322
|
+
export interface ListConnectorsResponse {
|
|
323
|
+
Connectors?: ConnectorSummary[];
|
|
324
|
+
NextToken?: string;
|
|
325
|
+
}
|
|
326
|
+
export interface CreateDirectoryRegistrationRequest {
|
|
327
|
+
DirectoryId: string | undefined;
|
|
328
|
+
ClientToken?: string;
|
|
329
|
+
Tags?: Record<string, string>;
|
|
330
|
+
}
|
|
331
|
+
export interface CreateDirectoryRegistrationResponse {
|
|
332
|
+
DirectoryRegistrationArn?: string;
|
|
333
|
+
}
|
|
334
|
+
export interface CreateServicePrincipalNameRequest {
|
|
335
|
+
DirectoryRegistrationArn: string | undefined;
|
|
336
|
+
ConnectorArn: string | undefined;
|
|
337
|
+
ClientToken?: string;
|
|
338
|
+
}
|
|
339
|
+
export interface EnrollmentFlagsV2 {
|
|
340
|
+
IncludeSymmetricAlgorithms?: boolean;
|
|
341
|
+
UserInteractionRequired?: boolean;
|
|
342
|
+
RemoveInvalidCertificateFromPersonalStore?: boolean;
|
|
343
|
+
NoSecurityExtension?: boolean;
|
|
344
|
+
EnableKeyReuseOnNtTokenKeysetStorageFull?: boolean;
|
|
345
|
+
}
|
|
346
|
+
export interface KeyUsageFlags {
|
|
347
|
+
DigitalSignature?: boolean;
|
|
348
|
+
NonRepudiation?: boolean;
|
|
349
|
+
KeyEncipherment?: boolean;
|
|
350
|
+
DataEncipherment?: boolean;
|
|
351
|
+
KeyAgreement?: boolean;
|
|
352
|
+
}
|
|
353
|
+
export interface KeyUsage {
|
|
354
|
+
Critical?: boolean;
|
|
355
|
+
UsageFlags: KeyUsageFlags | undefined;
|
|
356
|
+
}
|
|
357
|
+
export interface ExtensionsV2 {
|
|
358
|
+
KeyUsage: KeyUsage | undefined;
|
|
359
|
+
ApplicationPolicies?: ApplicationPolicies;
|
|
360
|
+
}
|
|
361
|
+
export interface GeneralFlagsV2 {
|
|
362
|
+
AutoEnrollment?: boolean;
|
|
363
|
+
MachineType?: boolean;
|
|
364
|
+
}
|
|
365
|
+
export declare const KeySpec: {
|
|
366
|
+
readonly KEY_EXCHANGE: "KEY_EXCHANGE";
|
|
367
|
+
readonly SIGNATURE: "SIGNATURE";
|
|
368
|
+
};
|
|
369
|
+
export type KeySpec = (typeof KeySpec)[keyof typeof KeySpec];
|
|
370
|
+
export interface PrivateKeyAttributesV2 {
|
|
371
|
+
MinimalKeyLength: number | undefined;
|
|
372
|
+
KeySpec: KeySpec | string | undefined;
|
|
373
|
+
CryptoProviders?: string[];
|
|
374
|
+
}
|
|
375
|
+
export interface PrivateKeyFlagsV2 {
|
|
376
|
+
ExportableKey?: boolean;
|
|
377
|
+
StrongKeyProtectionRequired?: boolean;
|
|
378
|
+
ClientVersion: ClientCompatibilityV2 | string | undefined;
|
|
379
|
+
}
|
|
380
|
+
export interface SubjectNameFlagsV2 {
|
|
381
|
+
SanRequireDomainDns?: boolean;
|
|
382
|
+
SanRequireSpn?: boolean;
|
|
383
|
+
SanRequireDirectoryGuid?: boolean;
|
|
384
|
+
SanRequireUpn?: boolean;
|
|
385
|
+
SanRequireEmail?: boolean;
|
|
386
|
+
SanRequireDns?: boolean;
|
|
387
|
+
RequireDnsAsCn?: boolean;
|
|
388
|
+
RequireEmail?: boolean;
|
|
389
|
+
RequireCommonName?: boolean;
|
|
390
|
+
RequireDirectoryPath?: boolean;
|
|
391
|
+
}
|
|
392
|
+
export interface TemplateV2 {
|
|
393
|
+
CertificateValidity: CertificateValidity | undefined;
|
|
394
|
+
SupersededTemplates?: string[];
|
|
395
|
+
PrivateKeyAttributes: PrivateKeyAttributesV2 | undefined;
|
|
396
|
+
PrivateKeyFlags: PrivateKeyFlagsV2 | undefined;
|
|
397
|
+
EnrollmentFlags: EnrollmentFlagsV2 | undefined;
|
|
398
|
+
SubjectNameFlags: SubjectNameFlagsV2 | undefined;
|
|
399
|
+
GeneralFlags: GeneralFlagsV2 | undefined;
|
|
400
|
+
Extensions: ExtensionsV2 | undefined;
|
|
401
|
+
}
|
|
402
|
+
export interface EnrollmentFlagsV3 {
|
|
403
|
+
IncludeSymmetricAlgorithms?: boolean;
|
|
404
|
+
UserInteractionRequired?: boolean;
|
|
405
|
+
RemoveInvalidCertificateFromPersonalStore?: boolean;
|
|
406
|
+
NoSecurityExtension?: boolean;
|
|
407
|
+
EnableKeyReuseOnNtTokenKeysetStorageFull?: boolean;
|
|
408
|
+
}
|
|
409
|
+
export interface ExtensionsV3 {
|
|
410
|
+
KeyUsage: KeyUsage | undefined;
|
|
411
|
+
ApplicationPolicies?: ApplicationPolicies;
|
|
412
|
+
}
|
|
413
|
+
export interface GeneralFlagsV3 {
|
|
414
|
+
AutoEnrollment?: boolean;
|
|
415
|
+
MachineType?: boolean;
|
|
416
|
+
}
|
|
417
|
+
export declare const HashAlgorithm: {
|
|
418
|
+
readonly SHA256: "SHA256";
|
|
419
|
+
readonly SHA384: "SHA384";
|
|
420
|
+
readonly SHA512: "SHA512";
|
|
421
|
+
};
|
|
422
|
+
export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
|
|
423
|
+
export declare const PrivateKeyAlgorithm: {
|
|
424
|
+
readonly ECDH_P256: "ECDH_P256";
|
|
425
|
+
readonly ECDH_P384: "ECDH_P384";
|
|
426
|
+
readonly ECDH_P521: "ECDH_P521";
|
|
427
|
+
readonly RSA: "RSA";
|
|
428
|
+
};
|
|
429
|
+
export type PrivateKeyAlgorithm =
|
|
430
|
+
(typeof PrivateKeyAlgorithm)[keyof typeof PrivateKeyAlgorithm];
|
|
431
|
+
export interface KeyUsagePropertyFlags {
|
|
432
|
+
Decrypt?: boolean;
|
|
433
|
+
KeyAgreement?: boolean;
|
|
434
|
+
Sign?: boolean;
|
|
435
|
+
}
|
|
436
|
+
export declare const KeyUsagePropertyType: {
|
|
437
|
+
readonly ALL: "ALL";
|
|
438
|
+
};
|
|
439
|
+
export type KeyUsagePropertyType =
|
|
440
|
+
(typeof KeyUsagePropertyType)[keyof typeof KeyUsagePropertyType];
|
|
441
|
+
export type KeyUsageProperty =
|
|
442
|
+
| KeyUsageProperty.PropertyFlagsMember
|
|
443
|
+
| KeyUsageProperty.PropertyTypeMember
|
|
444
|
+
| KeyUsageProperty.$UnknownMember;
|
|
445
|
+
export declare namespace KeyUsageProperty {
|
|
446
|
+
interface PropertyTypeMember {
|
|
447
|
+
PropertyType: KeyUsagePropertyType | string;
|
|
448
|
+
PropertyFlags?: never;
|
|
449
|
+
$unknown?: never;
|
|
450
|
+
}
|
|
451
|
+
interface PropertyFlagsMember {
|
|
452
|
+
PropertyType?: never;
|
|
453
|
+
PropertyFlags: KeyUsagePropertyFlags;
|
|
454
|
+
$unknown?: never;
|
|
455
|
+
}
|
|
456
|
+
interface $UnknownMember {
|
|
457
|
+
PropertyType?: never;
|
|
458
|
+
PropertyFlags?: never;
|
|
459
|
+
$unknown: [string, any];
|
|
460
|
+
}
|
|
461
|
+
interface Visitor<T> {
|
|
462
|
+
PropertyType: (value: KeyUsagePropertyType | string) => T;
|
|
463
|
+
PropertyFlags: (value: KeyUsagePropertyFlags) => T;
|
|
464
|
+
_: (name: string, value: any) => T;
|
|
465
|
+
}
|
|
466
|
+
const visit: <T>(value: KeyUsageProperty, visitor: Visitor<T>) => T;
|
|
467
|
+
}
|
|
468
|
+
export interface PrivateKeyAttributesV3 {
|
|
469
|
+
MinimalKeyLength: number | undefined;
|
|
470
|
+
KeySpec: KeySpec | string | undefined;
|
|
471
|
+
CryptoProviders?: string[];
|
|
472
|
+
KeyUsageProperty: KeyUsageProperty | undefined;
|
|
473
|
+
Algorithm: PrivateKeyAlgorithm | string | undefined;
|
|
474
|
+
}
|
|
475
|
+
export interface PrivateKeyFlagsV3 {
|
|
476
|
+
ExportableKey?: boolean;
|
|
477
|
+
StrongKeyProtectionRequired?: boolean;
|
|
478
|
+
RequireAlternateSignatureAlgorithm?: boolean;
|
|
479
|
+
ClientVersion: ClientCompatibilityV3 | string | undefined;
|
|
480
|
+
}
|
|
481
|
+
export interface SubjectNameFlagsV3 {
|
|
482
|
+
SanRequireDomainDns?: boolean;
|
|
483
|
+
SanRequireSpn?: boolean;
|
|
484
|
+
SanRequireDirectoryGuid?: boolean;
|
|
485
|
+
SanRequireUpn?: boolean;
|
|
486
|
+
SanRequireEmail?: boolean;
|
|
487
|
+
SanRequireDns?: boolean;
|
|
488
|
+
RequireDnsAsCn?: boolean;
|
|
489
|
+
RequireEmail?: boolean;
|
|
490
|
+
RequireCommonName?: boolean;
|
|
491
|
+
RequireDirectoryPath?: boolean;
|
|
492
|
+
}
|
|
493
|
+
export interface TemplateV3 {
|
|
494
|
+
CertificateValidity: CertificateValidity | undefined;
|
|
495
|
+
SupersededTemplates?: string[];
|
|
496
|
+
PrivateKeyAttributes: PrivateKeyAttributesV3 | undefined;
|
|
497
|
+
PrivateKeyFlags: PrivateKeyFlagsV3 | undefined;
|
|
498
|
+
EnrollmentFlags: EnrollmentFlagsV3 | undefined;
|
|
499
|
+
SubjectNameFlags: SubjectNameFlagsV3 | undefined;
|
|
500
|
+
GeneralFlags: GeneralFlagsV3 | undefined;
|
|
501
|
+
HashAlgorithm: HashAlgorithm | string | undefined;
|
|
502
|
+
Extensions: ExtensionsV3 | undefined;
|
|
503
|
+
}
|
|
504
|
+
export interface EnrollmentFlagsV4 {
|
|
505
|
+
IncludeSymmetricAlgorithms?: boolean;
|
|
506
|
+
UserInteractionRequired?: boolean;
|
|
507
|
+
RemoveInvalidCertificateFromPersonalStore?: boolean;
|
|
508
|
+
NoSecurityExtension?: boolean;
|
|
509
|
+
EnableKeyReuseOnNtTokenKeysetStorageFull?: boolean;
|
|
510
|
+
}
|
|
511
|
+
export interface ExtensionsV4 {
|
|
512
|
+
KeyUsage: KeyUsage | undefined;
|
|
513
|
+
ApplicationPolicies?: ApplicationPolicies;
|
|
514
|
+
}
|
|
515
|
+
export interface GeneralFlagsV4 {
|
|
516
|
+
AutoEnrollment?: boolean;
|
|
517
|
+
MachineType?: boolean;
|
|
518
|
+
}
|
|
519
|
+
export interface PrivateKeyAttributesV4 {
|
|
520
|
+
MinimalKeyLength: number | undefined;
|
|
521
|
+
KeySpec: KeySpec | string | undefined;
|
|
522
|
+
CryptoProviders?: string[];
|
|
523
|
+
KeyUsageProperty?: KeyUsageProperty;
|
|
524
|
+
Algorithm?: PrivateKeyAlgorithm | string;
|
|
525
|
+
}
|
|
526
|
+
export interface PrivateKeyFlagsV4 {
|
|
527
|
+
ExportableKey?: boolean;
|
|
528
|
+
StrongKeyProtectionRequired?: boolean;
|
|
529
|
+
RequireAlternateSignatureAlgorithm?: boolean;
|
|
530
|
+
RequireSameKeyRenewal?: boolean;
|
|
531
|
+
UseLegacyProvider?: boolean;
|
|
532
|
+
ClientVersion: ClientCompatibilityV4 | string | undefined;
|
|
533
|
+
}
|
|
534
|
+
export interface SubjectNameFlagsV4 {
|
|
535
|
+
SanRequireDomainDns?: boolean;
|
|
536
|
+
SanRequireSpn?: boolean;
|
|
537
|
+
SanRequireDirectoryGuid?: boolean;
|
|
538
|
+
SanRequireUpn?: boolean;
|
|
539
|
+
SanRequireEmail?: boolean;
|
|
540
|
+
SanRequireDns?: boolean;
|
|
541
|
+
RequireDnsAsCn?: boolean;
|
|
542
|
+
RequireEmail?: boolean;
|
|
543
|
+
RequireCommonName?: boolean;
|
|
544
|
+
RequireDirectoryPath?: boolean;
|
|
545
|
+
}
|
|
546
|
+
export interface TemplateV4 {
|
|
547
|
+
CertificateValidity: CertificateValidity | undefined;
|
|
548
|
+
SupersededTemplates?: string[];
|
|
549
|
+
PrivateKeyAttributes: PrivateKeyAttributesV4 | undefined;
|
|
550
|
+
PrivateKeyFlags: PrivateKeyFlagsV4 | undefined;
|
|
551
|
+
EnrollmentFlags: EnrollmentFlagsV4 | undefined;
|
|
552
|
+
SubjectNameFlags: SubjectNameFlagsV4 | undefined;
|
|
553
|
+
GeneralFlags: GeneralFlagsV4 | undefined;
|
|
554
|
+
HashAlgorithm?: HashAlgorithm | string;
|
|
555
|
+
Extensions: ExtensionsV4 | undefined;
|
|
556
|
+
}
|
|
557
|
+
export type TemplateDefinition =
|
|
558
|
+
| TemplateDefinition.TemplateV2Member
|
|
559
|
+
| TemplateDefinition.TemplateV3Member
|
|
560
|
+
| TemplateDefinition.TemplateV4Member
|
|
561
|
+
| TemplateDefinition.$UnknownMember;
|
|
562
|
+
export declare namespace TemplateDefinition {
|
|
563
|
+
interface TemplateV2Member {
|
|
564
|
+
TemplateV2: TemplateV2;
|
|
565
|
+
TemplateV3?: never;
|
|
566
|
+
TemplateV4?: never;
|
|
567
|
+
$unknown?: never;
|
|
568
|
+
}
|
|
569
|
+
interface TemplateV3Member {
|
|
570
|
+
TemplateV2?: never;
|
|
571
|
+
TemplateV3: TemplateV3;
|
|
572
|
+
TemplateV4?: never;
|
|
573
|
+
$unknown?: never;
|
|
574
|
+
}
|
|
575
|
+
interface TemplateV4Member {
|
|
576
|
+
TemplateV2?: never;
|
|
577
|
+
TemplateV3?: never;
|
|
578
|
+
TemplateV4: TemplateV4;
|
|
579
|
+
$unknown?: never;
|
|
580
|
+
}
|
|
581
|
+
interface $UnknownMember {
|
|
582
|
+
TemplateV2?: never;
|
|
583
|
+
TemplateV3?: never;
|
|
584
|
+
TemplateV4?: never;
|
|
585
|
+
$unknown: [string, any];
|
|
586
|
+
}
|
|
587
|
+
interface Visitor<T> {
|
|
588
|
+
TemplateV2: (value: TemplateV2) => T;
|
|
589
|
+
TemplateV3: (value: TemplateV3) => T;
|
|
590
|
+
TemplateV4: (value: TemplateV4) => T;
|
|
591
|
+
_: (name: string, value: any) => T;
|
|
592
|
+
}
|
|
593
|
+
const visit: <T>(value: TemplateDefinition, visitor: Visitor<T>) => T;
|
|
594
|
+
}
|
|
595
|
+
export interface CreateTemplateRequest {
|
|
596
|
+
ConnectorArn: string | undefined;
|
|
597
|
+
Name: string | undefined;
|
|
598
|
+
Definition: TemplateDefinition | undefined;
|
|
599
|
+
ClientToken?: string;
|
|
600
|
+
Tags?: Record<string, string>;
|
|
601
|
+
}
|
|
602
|
+
export interface CreateTemplateResponse {
|
|
603
|
+
TemplateArn?: string;
|
|
604
|
+
}
|
|
605
|
+
export interface CreateTemplateGroupAccessControlEntryRequest {
|
|
606
|
+
TemplateArn: string | undefined;
|
|
607
|
+
GroupSecurityIdentifier: string | undefined;
|
|
608
|
+
GroupDisplayName: string | undefined;
|
|
609
|
+
AccessRights: AccessRights | undefined;
|
|
610
|
+
ClientToken?: string;
|
|
611
|
+
}
|
|
612
|
+
export interface DeleteDirectoryRegistrationRequest {
|
|
613
|
+
DirectoryRegistrationArn: string | undefined;
|
|
614
|
+
}
|
|
615
|
+
export interface DeleteServicePrincipalNameRequest {
|
|
616
|
+
DirectoryRegistrationArn: string | undefined;
|
|
617
|
+
ConnectorArn: string | undefined;
|
|
618
|
+
}
|
|
619
|
+
export interface DeleteTemplateRequest {
|
|
620
|
+
TemplateArn: string | undefined;
|
|
621
|
+
}
|
|
622
|
+
export interface DeleteTemplateGroupAccessControlEntryRequest {
|
|
623
|
+
TemplateArn: string | undefined;
|
|
624
|
+
GroupSecurityIdentifier: string | undefined;
|
|
625
|
+
}
|
|
626
|
+
export declare const DirectoryRegistrationStatus: {
|
|
627
|
+
readonly ACTIVE: "ACTIVE";
|
|
628
|
+
readonly CREATING: "CREATING";
|
|
629
|
+
readonly DELETING: "DELETING";
|
|
630
|
+
readonly FAILED: "FAILED";
|
|
631
|
+
};
|
|
632
|
+
export type DirectoryRegistrationStatus =
|
|
633
|
+
(typeof DirectoryRegistrationStatus)[keyof typeof DirectoryRegistrationStatus];
|
|
634
|
+
export declare const DirectoryRegistrationStatusReason: {
|
|
635
|
+
readonly DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED";
|
|
636
|
+
readonly DIRECTORY_NOT_ACTIVE: "DIRECTORY_NOT_ACTIVE";
|
|
637
|
+
readonly DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE";
|
|
638
|
+
readonly DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND";
|
|
639
|
+
readonly DIRECTORY_TYPE_NOT_SUPPORTED: "DIRECTORY_TYPE_NOT_SUPPORTED";
|
|
640
|
+
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
641
|
+
};
|
|
642
|
+
export type DirectoryRegistrationStatusReason =
|
|
643
|
+
(typeof DirectoryRegistrationStatusReason)[keyof typeof DirectoryRegistrationStatusReason];
|
|
644
|
+
export interface DirectoryRegistration {
|
|
645
|
+
Arn?: string;
|
|
646
|
+
DirectoryId?: string;
|
|
647
|
+
Status?: DirectoryRegistrationStatus | string;
|
|
648
|
+
StatusReason?: DirectoryRegistrationStatusReason | string;
|
|
649
|
+
CreatedAt?: Date;
|
|
650
|
+
UpdatedAt?: Date;
|
|
651
|
+
}
|
|
652
|
+
export interface DirectoryRegistrationSummary {
|
|
653
|
+
Arn?: string;
|
|
654
|
+
DirectoryId?: string;
|
|
655
|
+
Status?: DirectoryRegistrationStatus | string;
|
|
656
|
+
StatusReason?: DirectoryRegistrationStatusReason | string;
|
|
657
|
+
CreatedAt?: Date;
|
|
658
|
+
UpdatedAt?: Date;
|
|
659
|
+
}
|
|
660
|
+
export interface GetDirectoryRegistrationRequest {
|
|
661
|
+
DirectoryRegistrationArn: string | undefined;
|
|
662
|
+
}
|
|
663
|
+
export interface GetDirectoryRegistrationResponse {
|
|
664
|
+
DirectoryRegistration?: DirectoryRegistration;
|
|
665
|
+
}
|
|
666
|
+
export interface ListDirectoryRegistrationsRequest {
|
|
667
|
+
MaxResults?: number;
|
|
668
|
+
NextToken?: string;
|
|
669
|
+
}
|
|
670
|
+
export interface ListDirectoryRegistrationsResponse {
|
|
671
|
+
DirectoryRegistrations?: DirectoryRegistrationSummary[];
|
|
672
|
+
NextToken?: string;
|
|
673
|
+
}
|
|
674
|
+
export interface GetServicePrincipalNameRequest {
|
|
675
|
+
DirectoryRegistrationArn: string | undefined;
|
|
676
|
+
ConnectorArn: string | undefined;
|
|
677
|
+
}
|
|
678
|
+
export declare const ServicePrincipalNameStatus: {
|
|
679
|
+
readonly ACTIVE: "ACTIVE";
|
|
680
|
+
readonly CREATING: "CREATING";
|
|
681
|
+
readonly DELETING: "DELETING";
|
|
682
|
+
readonly FAILED: "FAILED";
|
|
683
|
+
};
|
|
684
|
+
export type ServicePrincipalNameStatus =
|
|
685
|
+
(typeof ServicePrincipalNameStatus)[keyof typeof ServicePrincipalNameStatus];
|
|
686
|
+
export declare const ServicePrincipalNameStatusReason: {
|
|
687
|
+
readonly DIRECTORY_ACCESS_DENIED: "DIRECTORY_ACCESS_DENIED";
|
|
688
|
+
readonly DIRECTORY_NOT_REACHABLE: "DIRECTORY_NOT_REACHABLE";
|
|
689
|
+
readonly DIRECTORY_RESOURCE_NOT_FOUND: "DIRECTORY_RESOURCE_NOT_FOUND";
|
|
690
|
+
readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
|
|
691
|
+
readonly SPN_EXISTS_ON_DIFFERENT_AD_OBJECT: "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT";
|
|
692
|
+
};
|
|
693
|
+
export type ServicePrincipalNameStatusReason =
|
|
694
|
+
(typeof ServicePrincipalNameStatusReason)[keyof typeof ServicePrincipalNameStatusReason];
|
|
695
|
+
export interface ServicePrincipalName {
|
|
696
|
+
DirectoryRegistrationArn?: string;
|
|
697
|
+
ConnectorArn?: string;
|
|
698
|
+
Status?: ServicePrincipalNameStatus | string;
|
|
699
|
+
StatusReason?: ServicePrincipalNameStatusReason | string;
|
|
700
|
+
CreatedAt?: Date;
|
|
701
|
+
UpdatedAt?: Date;
|
|
702
|
+
}
|
|
703
|
+
export interface GetServicePrincipalNameResponse {
|
|
704
|
+
ServicePrincipalName?: ServicePrincipalName;
|
|
705
|
+
}
|
|
706
|
+
export interface GetTemplateRequest {
|
|
707
|
+
TemplateArn: string | undefined;
|
|
708
|
+
}
|
|
709
|
+
export interface TemplateRevision {
|
|
710
|
+
MajorRevision: number | undefined;
|
|
711
|
+
MinorRevision: number | undefined;
|
|
712
|
+
}
|
|
713
|
+
export declare const TemplateStatus: {
|
|
714
|
+
readonly ACTIVE: "ACTIVE";
|
|
715
|
+
readonly DELETING: "DELETING";
|
|
716
|
+
};
|
|
717
|
+
export type TemplateStatus =
|
|
718
|
+
(typeof TemplateStatus)[keyof typeof TemplateStatus];
|
|
719
|
+
export interface Template {
|
|
720
|
+
Arn?: string;
|
|
721
|
+
ConnectorArn?: string;
|
|
722
|
+
Definition?: TemplateDefinition;
|
|
723
|
+
Name?: string;
|
|
724
|
+
ObjectIdentifier?: string;
|
|
725
|
+
PolicySchema?: number;
|
|
726
|
+
Status?: TemplateStatus | string;
|
|
727
|
+
Revision?: TemplateRevision;
|
|
728
|
+
CreatedAt?: Date;
|
|
729
|
+
UpdatedAt?: Date;
|
|
730
|
+
}
|
|
731
|
+
export interface GetTemplateResponse {
|
|
732
|
+
Template?: Template;
|
|
733
|
+
}
|
|
734
|
+
export interface GetTemplateGroupAccessControlEntryRequest {
|
|
735
|
+
TemplateArn: string | undefined;
|
|
736
|
+
GroupSecurityIdentifier: string | undefined;
|
|
737
|
+
}
|
|
738
|
+
export interface GetTemplateGroupAccessControlEntryResponse {
|
|
739
|
+
AccessControlEntry?: AccessControlEntry;
|
|
740
|
+
}
|
|
741
|
+
export interface ListServicePrincipalNamesRequest {
|
|
742
|
+
MaxResults?: number;
|
|
743
|
+
NextToken?: string;
|
|
744
|
+
DirectoryRegistrationArn: string | undefined;
|
|
745
|
+
}
|
|
746
|
+
export interface ServicePrincipalNameSummary {
|
|
747
|
+
DirectoryRegistrationArn?: string;
|
|
748
|
+
ConnectorArn?: string;
|
|
749
|
+
Status?: ServicePrincipalNameStatus | string;
|
|
750
|
+
StatusReason?: ServicePrincipalNameStatusReason | string;
|
|
751
|
+
CreatedAt?: Date;
|
|
752
|
+
UpdatedAt?: Date;
|
|
753
|
+
}
|
|
754
|
+
export interface ListServicePrincipalNamesResponse {
|
|
755
|
+
ServicePrincipalNames?: ServicePrincipalNameSummary[];
|
|
756
|
+
NextToken?: string;
|
|
757
|
+
}
|
|
758
|
+
export interface ListTagsForResourceRequest {
|
|
759
|
+
ResourceArn: string | undefined;
|
|
760
|
+
}
|
|
761
|
+
export interface ListTagsForResourceResponse {
|
|
762
|
+
Tags?: Record<string, string>;
|
|
763
|
+
}
|
|
764
|
+
export interface ListTemplateGroupAccessControlEntriesRequest {
|
|
765
|
+
MaxResults?: number;
|
|
766
|
+
NextToken?: string;
|
|
767
|
+
TemplateArn: string | undefined;
|
|
768
|
+
}
|
|
769
|
+
export interface ListTemplateGroupAccessControlEntriesResponse {
|
|
770
|
+
AccessControlEntries?: AccessControlEntrySummary[];
|
|
771
|
+
NextToken?: string;
|
|
772
|
+
}
|
|
773
|
+
export interface ListTemplatesRequest {
|
|
774
|
+
MaxResults?: number;
|
|
775
|
+
NextToken?: string;
|
|
776
|
+
ConnectorArn: string | undefined;
|
|
777
|
+
}
|
|
778
|
+
export interface TemplateSummary {
|
|
779
|
+
Arn?: string;
|
|
780
|
+
ConnectorArn?: string;
|
|
781
|
+
Definition?: TemplateDefinition;
|
|
782
|
+
Name?: string;
|
|
783
|
+
ObjectIdentifier?: string;
|
|
784
|
+
PolicySchema?: number;
|
|
785
|
+
Status?: TemplateStatus | string;
|
|
786
|
+
Revision?: TemplateRevision;
|
|
787
|
+
CreatedAt?: Date;
|
|
788
|
+
UpdatedAt?: Date;
|
|
789
|
+
}
|
|
790
|
+
export interface ListTemplatesResponse {
|
|
791
|
+
Templates?: TemplateSummary[];
|
|
792
|
+
NextToken?: string;
|
|
793
|
+
}
|
|
794
|
+
export interface TagResourceRequest {
|
|
795
|
+
ResourceArn: string | undefined;
|
|
796
|
+
Tags: Record<string, string> | undefined;
|
|
797
|
+
}
|
|
798
|
+
export interface UpdateTemplateGroupAccessControlEntryRequest {
|
|
799
|
+
TemplateArn: string | undefined;
|
|
800
|
+
GroupSecurityIdentifier: string | undefined;
|
|
801
|
+
GroupDisplayName?: string;
|
|
802
|
+
AccessRights?: AccessRights;
|
|
803
|
+
}
|
|
804
|
+
export interface UpdateTemplateRequest {
|
|
805
|
+
TemplateArn: string | undefined;
|
|
806
|
+
Definition?: TemplateDefinition;
|
|
807
|
+
ReenrollAllCertificateHolders?: boolean;
|
|
808
|
+
}
|
|
809
|
+
export interface UntagResourceRequest {
|
|
810
|
+
ResourceArn: string | undefined;
|
|
811
|
+
TagKeys: string[] | undefined;
|
|
812
|
+
}
|