@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,334 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UpdateTemplateRequest } from "../models/models_0";
|
|
5
|
+
import { PcaConnectorAdClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorAdClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateTemplateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTemplateCommandInput extends UpdateTemplateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTemplateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTemplateCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Update template configuration to define the information included in certificates.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PcaConnectorAdClient, UpdateTemplateCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
|
|
31
|
+
* // const { PcaConnectorAdClient, UpdateTemplateCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
|
|
32
|
+
* const client = new PcaConnectorAdClient(config);
|
|
33
|
+
* const input = { // UpdateTemplateRequest
|
|
34
|
+
* TemplateArn: "STRING_VALUE", // required
|
|
35
|
+
* Definition: { // TemplateDefinition Union: only one key present
|
|
36
|
+
* TemplateV2: { // TemplateV2
|
|
37
|
+
* CertificateValidity: { // CertificateValidity
|
|
38
|
+
* ValidityPeriod: { // ValidityPeriod
|
|
39
|
+
* PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
|
|
40
|
+
* Period: Number("long"), // required
|
|
41
|
+
* },
|
|
42
|
+
* RenewalPeriod: {
|
|
43
|
+
* PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
|
|
44
|
+
* Period: Number("long"), // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* SupersededTemplates: [ // TemplateNameList
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* PrivateKeyAttributes: { // PrivateKeyAttributesV2
|
|
51
|
+
* MinimalKeyLength: Number("int"), // required
|
|
52
|
+
* KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
|
|
53
|
+
* CryptoProviders: [ // CryptoProvidersList
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* PrivateKeyFlags: { // PrivateKeyFlagsV2
|
|
58
|
+
* ExportableKey: true || false,
|
|
59
|
+
* StrongKeyProtectionRequired: true || false,
|
|
60
|
+
* ClientVersion: "WINDOWS_SERVER_2003" || "WINDOWS_SERVER_2008" || "WINDOWS_SERVER_2008_R2" || "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
|
|
61
|
+
* },
|
|
62
|
+
* EnrollmentFlags: { // EnrollmentFlagsV2
|
|
63
|
+
* IncludeSymmetricAlgorithms: true || false,
|
|
64
|
+
* UserInteractionRequired: true || false,
|
|
65
|
+
* RemoveInvalidCertificateFromPersonalStore: true || false,
|
|
66
|
+
* NoSecurityExtension: true || false,
|
|
67
|
+
* EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
|
|
68
|
+
* },
|
|
69
|
+
* SubjectNameFlags: { // SubjectNameFlagsV2
|
|
70
|
+
* SanRequireDomainDns: true || false,
|
|
71
|
+
* SanRequireSpn: true || false,
|
|
72
|
+
* SanRequireDirectoryGuid: true || false,
|
|
73
|
+
* SanRequireUpn: true || false,
|
|
74
|
+
* SanRequireEmail: true || false,
|
|
75
|
+
* SanRequireDns: true || false,
|
|
76
|
+
* RequireDnsAsCn: true || false,
|
|
77
|
+
* RequireEmail: true || false,
|
|
78
|
+
* RequireCommonName: true || false,
|
|
79
|
+
* RequireDirectoryPath: true || false,
|
|
80
|
+
* },
|
|
81
|
+
* GeneralFlags: { // GeneralFlagsV2
|
|
82
|
+
* AutoEnrollment: true || false,
|
|
83
|
+
* MachineType: true || false,
|
|
84
|
+
* },
|
|
85
|
+
* Extensions: { // ExtensionsV2
|
|
86
|
+
* KeyUsage: { // KeyUsage
|
|
87
|
+
* Critical: true || false,
|
|
88
|
+
* UsageFlags: { // KeyUsageFlags
|
|
89
|
+
* DigitalSignature: true || false,
|
|
90
|
+
* NonRepudiation: true || false,
|
|
91
|
+
* KeyEncipherment: true || false,
|
|
92
|
+
* DataEncipherment: true || false,
|
|
93
|
+
* KeyAgreement: true || false,
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* ApplicationPolicies: { // ApplicationPolicies
|
|
97
|
+
* Critical: true || false,
|
|
98
|
+
* Policies: [ // ApplicationPolicyList // required
|
|
99
|
+
* { // ApplicationPolicy Union: only one key present
|
|
100
|
+
* PolicyType: "ALL_APPLICATION_POLICIES" || "ANY_PURPOSE" || "ATTESTATION_IDENTITY_KEY_CERTIFICATE" || "CERTIFICATE_REQUEST_AGENT" || "CLIENT_AUTHENTICATION" || "CODE_SIGNING" || "CTL_USAGE" || "DIGITAL_RIGHTS" || "DIRECTORY_SERVICE_EMAIL_REPLICATION" || "DISALLOWED_LIST" || "DNS_SERVER_TRUST" || "DOCUMENT_ENCRYPTION" || "DOCUMENT_SIGNING" || "DYNAMIC_CODE_GENERATOR" || "EARLY_LAUNCH_ANTIMALWARE_DRIVER" || "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "ENCLAVE" || "ENCRYPTING_FILE_SYSTEM" || "ENDORSEMENT_KEY_CERTIFICATE" || "FILE_RECOVERY" || "HAL_EXTENSION" || "IP_SECURITY_END_SYSTEM" || "IP_SECURITY_IKE_INTERMEDIATE" || "IP_SECURITY_TUNNEL_TERMINATION" || "IP_SECURITY_USER" || "ISOLATED_USER_MODE" || "KDC_AUTHENTICATION" || "KERNEL_MODE_CODE_SIGNING" || "KEY_PACK_LICENSES" || "KEY_RECOVERY" || "KEY_RECOVERY_AGENT" || "LICENSE_SERVER_VERIFICATION" || "LIFETIME_SIGNING" || "MICROSOFT_PUBLISHER" || "MICROSOFT_TIME_STAMPING" || "MICROSOFT_TRUST_LIST_SIGNING" || "OCSP_SIGNING" || "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "PLATFORM_CERTIFICATE" || "PREVIEW_BUILD_SIGNING" || "PRIVATE_KEY_ARCHIVAL" || "PROTECTED_PROCESS_LIGHT_VERIFICATION" || "PROTECTED_PROCESS_VERIFICATION" || "QUALIFIED_SUBORDINATION" || "REVOKED_LIST_SIGNER" || "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION" || "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION" || "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL" || "ROOT_LIST_SIGNER" || "SECURE_EMAIL" || "SERVER_AUTHENTICATION" || "SMART_CARD_LOGIN" || "SPC_ENCRYPTED_DIGEST_RETRY_COUNT" || "SPC_RELAXED_PE_MARKER_CHECK" || "TIME_STAMPING" || "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION" || "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION" || "WINDOWS_HARDWARE_DRIVER_VERIFICATION" || "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION" || "WINDOWS_KITS_COMPONENT" || "WINDOWS_RT_VERIFICATION" || "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION" || "WINDOWS_STORE" || "WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "WINDOWS_TCB_COMPONENT" || "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT" || "WINDOWS_UPDATE",
|
|
101
|
+
* PolicyObjectIdentifier: "STRING_VALUE",
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* },
|
|
107
|
+
* TemplateV3: { // TemplateV3
|
|
108
|
+
* CertificateValidity: {
|
|
109
|
+
* ValidityPeriod: {
|
|
110
|
+
* PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
|
|
111
|
+
* Period: Number("long"), // required
|
|
112
|
+
* },
|
|
113
|
+
* RenewalPeriod: {
|
|
114
|
+
* PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
|
|
115
|
+
* Period: Number("long"), // required
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* SupersededTemplates: [
|
|
119
|
+
* "STRING_VALUE",
|
|
120
|
+
* ],
|
|
121
|
+
* PrivateKeyAttributes: { // PrivateKeyAttributesV3
|
|
122
|
+
* MinimalKeyLength: Number("int"), // required
|
|
123
|
+
* KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
|
|
124
|
+
* CryptoProviders: [
|
|
125
|
+
* "STRING_VALUE",
|
|
126
|
+
* ],
|
|
127
|
+
* KeyUsageProperty: { // KeyUsageProperty Union: only one key present
|
|
128
|
+
* PropertyType: "ALL",
|
|
129
|
+
* PropertyFlags: { // KeyUsagePropertyFlags
|
|
130
|
+
* Decrypt: true || false,
|
|
131
|
+
* KeyAgreement: true || false,
|
|
132
|
+
* Sign: true || false,
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* Algorithm: "RSA" || "ECDH_P256" || "ECDH_P384" || "ECDH_P521", // required
|
|
136
|
+
* },
|
|
137
|
+
* PrivateKeyFlags: { // PrivateKeyFlagsV3
|
|
138
|
+
* ExportableKey: true || false,
|
|
139
|
+
* StrongKeyProtectionRequired: true || false,
|
|
140
|
+
* RequireAlternateSignatureAlgorithm: true || false,
|
|
141
|
+
* ClientVersion: "WINDOWS_SERVER_2008" || "WINDOWS_SERVER_2008_R2" || "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
|
|
142
|
+
* },
|
|
143
|
+
* EnrollmentFlags: { // EnrollmentFlagsV3
|
|
144
|
+
* IncludeSymmetricAlgorithms: true || false,
|
|
145
|
+
* UserInteractionRequired: true || false,
|
|
146
|
+
* RemoveInvalidCertificateFromPersonalStore: true || false,
|
|
147
|
+
* NoSecurityExtension: true || false,
|
|
148
|
+
* EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
|
|
149
|
+
* },
|
|
150
|
+
* SubjectNameFlags: { // SubjectNameFlagsV3
|
|
151
|
+
* SanRequireDomainDns: true || false,
|
|
152
|
+
* SanRequireSpn: true || false,
|
|
153
|
+
* SanRequireDirectoryGuid: true || false,
|
|
154
|
+
* SanRequireUpn: true || false,
|
|
155
|
+
* SanRequireEmail: true || false,
|
|
156
|
+
* SanRequireDns: true || false,
|
|
157
|
+
* RequireDnsAsCn: true || false,
|
|
158
|
+
* RequireEmail: true || false,
|
|
159
|
+
* RequireCommonName: true || false,
|
|
160
|
+
* RequireDirectoryPath: true || false,
|
|
161
|
+
* },
|
|
162
|
+
* GeneralFlags: { // GeneralFlagsV3
|
|
163
|
+
* AutoEnrollment: true || false,
|
|
164
|
+
* MachineType: true || false,
|
|
165
|
+
* },
|
|
166
|
+
* HashAlgorithm: "SHA256" || "SHA384" || "SHA512", // required
|
|
167
|
+
* Extensions: { // ExtensionsV3
|
|
168
|
+
* KeyUsage: {
|
|
169
|
+
* Critical: true || false,
|
|
170
|
+
* UsageFlags: {
|
|
171
|
+
* DigitalSignature: true || false,
|
|
172
|
+
* NonRepudiation: true || false,
|
|
173
|
+
* KeyEncipherment: true || false,
|
|
174
|
+
* DataEncipherment: true || false,
|
|
175
|
+
* KeyAgreement: true || false,
|
|
176
|
+
* },
|
|
177
|
+
* },
|
|
178
|
+
* ApplicationPolicies: {
|
|
179
|
+
* Critical: true || false,
|
|
180
|
+
* Policies: [ // required
|
|
181
|
+
* {// Union: only one key present
|
|
182
|
+
* PolicyType: "ALL_APPLICATION_POLICIES" || "ANY_PURPOSE" || "ATTESTATION_IDENTITY_KEY_CERTIFICATE" || "CERTIFICATE_REQUEST_AGENT" || "CLIENT_AUTHENTICATION" || "CODE_SIGNING" || "CTL_USAGE" || "DIGITAL_RIGHTS" || "DIRECTORY_SERVICE_EMAIL_REPLICATION" || "DISALLOWED_LIST" || "DNS_SERVER_TRUST" || "DOCUMENT_ENCRYPTION" || "DOCUMENT_SIGNING" || "DYNAMIC_CODE_GENERATOR" || "EARLY_LAUNCH_ANTIMALWARE_DRIVER" || "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "ENCLAVE" || "ENCRYPTING_FILE_SYSTEM" || "ENDORSEMENT_KEY_CERTIFICATE" || "FILE_RECOVERY" || "HAL_EXTENSION" || "IP_SECURITY_END_SYSTEM" || "IP_SECURITY_IKE_INTERMEDIATE" || "IP_SECURITY_TUNNEL_TERMINATION" || "IP_SECURITY_USER" || "ISOLATED_USER_MODE" || "KDC_AUTHENTICATION" || "KERNEL_MODE_CODE_SIGNING" || "KEY_PACK_LICENSES" || "KEY_RECOVERY" || "KEY_RECOVERY_AGENT" || "LICENSE_SERVER_VERIFICATION" || "LIFETIME_SIGNING" || "MICROSOFT_PUBLISHER" || "MICROSOFT_TIME_STAMPING" || "MICROSOFT_TRUST_LIST_SIGNING" || "OCSP_SIGNING" || "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "PLATFORM_CERTIFICATE" || "PREVIEW_BUILD_SIGNING" || "PRIVATE_KEY_ARCHIVAL" || "PROTECTED_PROCESS_LIGHT_VERIFICATION" || "PROTECTED_PROCESS_VERIFICATION" || "QUALIFIED_SUBORDINATION" || "REVOKED_LIST_SIGNER" || "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION" || "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION" || "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL" || "ROOT_LIST_SIGNER" || "SECURE_EMAIL" || "SERVER_AUTHENTICATION" || "SMART_CARD_LOGIN" || "SPC_ENCRYPTED_DIGEST_RETRY_COUNT" || "SPC_RELAXED_PE_MARKER_CHECK" || "TIME_STAMPING" || "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION" || "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION" || "WINDOWS_HARDWARE_DRIVER_VERIFICATION" || "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION" || "WINDOWS_KITS_COMPONENT" || "WINDOWS_RT_VERIFICATION" || "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION" || "WINDOWS_STORE" || "WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "WINDOWS_TCB_COMPONENT" || "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT" || "WINDOWS_UPDATE",
|
|
183
|
+
* PolicyObjectIdentifier: "STRING_VALUE",
|
|
184
|
+
* },
|
|
185
|
+
* ],
|
|
186
|
+
* },
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* TemplateV4: { // TemplateV4
|
|
190
|
+
* CertificateValidity: {
|
|
191
|
+
* ValidityPeriod: {
|
|
192
|
+
* PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
|
|
193
|
+
* Period: Number("long"), // required
|
|
194
|
+
* },
|
|
195
|
+
* RenewalPeriod: "<ValidityPeriod>", // required
|
|
196
|
+
* },
|
|
197
|
+
* SupersededTemplates: [
|
|
198
|
+
* "STRING_VALUE",
|
|
199
|
+
* ],
|
|
200
|
+
* PrivateKeyAttributes: { // PrivateKeyAttributesV4
|
|
201
|
+
* MinimalKeyLength: Number("int"), // required
|
|
202
|
+
* KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
|
|
203
|
+
* CryptoProviders: [
|
|
204
|
+
* "STRING_VALUE",
|
|
205
|
+
* ],
|
|
206
|
+
* KeyUsageProperty: {// Union: only one key present
|
|
207
|
+
* PropertyType: "ALL",
|
|
208
|
+
* PropertyFlags: {
|
|
209
|
+
* Decrypt: true || false,
|
|
210
|
+
* KeyAgreement: true || false,
|
|
211
|
+
* Sign: true || false,
|
|
212
|
+
* },
|
|
213
|
+
* },
|
|
214
|
+
* Algorithm: "RSA" || "ECDH_P256" || "ECDH_P384" || "ECDH_P521",
|
|
215
|
+
* },
|
|
216
|
+
* PrivateKeyFlags: { // PrivateKeyFlagsV4
|
|
217
|
+
* ExportableKey: true || false,
|
|
218
|
+
* StrongKeyProtectionRequired: true || false,
|
|
219
|
+
* RequireAlternateSignatureAlgorithm: true || false,
|
|
220
|
+
* RequireSameKeyRenewal: true || false,
|
|
221
|
+
* UseLegacyProvider: true || false,
|
|
222
|
+
* ClientVersion: "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
|
|
223
|
+
* },
|
|
224
|
+
* EnrollmentFlags: { // EnrollmentFlagsV4
|
|
225
|
+
* IncludeSymmetricAlgorithms: true || false,
|
|
226
|
+
* UserInteractionRequired: true || false,
|
|
227
|
+
* RemoveInvalidCertificateFromPersonalStore: true || false,
|
|
228
|
+
* NoSecurityExtension: true || false,
|
|
229
|
+
* EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
|
|
230
|
+
* },
|
|
231
|
+
* SubjectNameFlags: { // SubjectNameFlagsV4
|
|
232
|
+
* SanRequireDomainDns: true || false,
|
|
233
|
+
* SanRequireSpn: true || false,
|
|
234
|
+
* SanRequireDirectoryGuid: true || false,
|
|
235
|
+
* SanRequireUpn: true || false,
|
|
236
|
+
* SanRequireEmail: true || false,
|
|
237
|
+
* SanRequireDns: true || false,
|
|
238
|
+
* RequireDnsAsCn: true || false,
|
|
239
|
+
* RequireEmail: true || false,
|
|
240
|
+
* RequireCommonName: true || false,
|
|
241
|
+
* RequireDirectoryPath: true || false,
|
|
242
|
+
* },
|
|
243
|
+
* GeneralFlags: { // GeneralFlagsV4
|
|
244
|
+
* AutoEnrollment: true || false,
|
|
245
|
+
* MachineType: true || false,
|
|
246
|
+
* },
|
|
247
|
+
* HashAlgorithm: "SHA256" || "SHA384" || "SHA512",
|
|
248
|
+
* Extensions: { // ExtensionsV4
|
|
249
|
+
* KeyUsage: {
|
|
250
|
+
* Critical: true || false,
|
|
251
|
+
* UsageFlags: {
|
|
252
|
+
* DigitalSignature: true || false,
|
|
253
|
+
* NonRepudiation: true || false,
|
|
254
|
+
* KeyEncipherment: true || false,
|
|
255
|
+
* DataEncipherment: true || false,
|
|
256
|
+
* KeyAgreement: true || false,
|
|
257
|
+
* },
|
|
258
|
+
* },
|
|
259
|
+
* ApplicationPolicies: {
|
|
260
|
+
* Critical: true || false,
|
|
261
|
+
* Policies: [ // required
|
|
262
|
+
* {// Union: only one key present
|
|
263
|
+
* PolicyType: "ALL_APPLICATION_POLICIES" || "ANY_PURPOSE" || "ATTESTATION_IDENTITY_KEY_CERTIFICATE" || "CERTIFICATE_REQUEST_AGENT" || "CLIENT_AUTHENTICATION" || "CODE_SIGNING" || "CTL_USAGE" || "DIGITAL_RIGHTS" || "DIRECTORY_SERVICE_EMAIL_REPLICATION" || "DISALLOWED_LIST" || "DNS_SERVER_TRUST" || "DOCUMENT_ENCRYPTION" || "DOCUMENT_SIGNING" || "DYNAMIC_CODE_GENERATOR" || "EARLY_LAUNCH_ANTIMALWARE_DRIVER" || "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "ENCLAVE" || "ENCRYPTING_FILE_SYSTEM" || "ENDORSEMENT_KEY_CERTIFICATE" || "FILE_RECOVERY" || "HAL_EXTENSION" || "IP_SECURITY_END_SYSTEM" || "IP_SECURITY_IKE_INTERMEDIATE" || "IP_SECURITY_TUNNEL_TERMINATION" || "IP_SECURITY_USER" || "ISOLATED_USER_MODE" || "KDC_AUTHENTICATION" || "KERNEL_MODE_CODE_SIGNING" || "KEY_PACK_LICENSES" || "KEY_RECOVERY" || "KEY_RECOVERY_AGENT" || "LICENSE_SERVER_VERIFICATION" || "LIFETIME_SIGNING" || "MICROSOFT_PUBLISHER" || "MICROSOFT_TIME_STAMPING" || "MICROSOFT_TRUST_LIST_SIGNING" || "OCSP_SIGNING" || "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "PLATFORM_CERTIFICATE" || "PREVIEW_BUILD_SIGNING" || "PRIVATE_KEY_ARCHIVAL" || "PROTECTED_PROCESS_LIGHT_VERIFICATION" || "PROTECTED_PROCESS_VERIFICATION" || "QUALIFIED_SUBORDINATION" || "REVOKED_LIST_SIGNER" || "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION" || "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION" || "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL" || "ROOT_LIST_SIGNER" || "SECURE_EMAIL" || "SERVER_AUTHENTICATION" || "SMART_CARD_LOGIN" || "SPC_ENCRYPTED_DIGEST_RETRY_COUNT" || "SPC_RELAXED_PE_MARKER_CHECK" || "TIME_STAMPING" || "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION" || "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION" || "WINDOWS_HARDWARE_DRIVER_VERIFICATION" || "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION" || "WINDOWS_KITS_COMPONENT" || "WINDOWS_RT_VERIFICATION" || "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION" || "WINDOWS_STORE" || "WINDOWS_SYSTEM_COMPONENT_VERIFICATION" || "WINDOWS_TCB_COMPONENT" || "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT" || "WINDOWS_UPDATE",
|
|
264
|
+
* PolicyObjectIdentifier: "STRING_VALUE",
|
|
265
|
+
* },
|
|
266
|
+
* ],
|
|
267
|
+
* },
|
|
268
|
+
* },
|
|
269
|
+
* },
|
|
270
|
+
* },
|
|
271
|
+
* ReenrollAllCertificateHolders: true || false,
|
|
272
|
+
* };
|
|
273
|
+
* const command = new UpdateTemplateCommand(input);
|
|
274
|
+
* const response = await client.send(command);
|
|
275
|
+
* // {};
|
|
276
|
+
*
|
|
277
|
+
* ```
|
|
278
|
+
*
|
|
279
|
+
* @param UpdateTemplateCommandInput - {@link UpdateTemplateCommandInput}
|
|
280
|
+
* @returns {@link UpdateTemplateCommandOutput}
|
|
281
|
+
* @see {@link UpdateTemplateCommandInput} for command's `input` shape.
|
|
282
|
+
* @see {@link UpdateTemplateCommandOutput} for command's `response` shape.
|
|
283
|
+
* @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
|
|
284
|
+
*
|
|
285
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
286
|
+
* <p>You can receive this error if you attempt to create a resource share when you don't have
|
|
287
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
288
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
289
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
290
|
+
* that affects your Amazon Web Services account. </p>
|
|
291
|
+
*
|
|
292
|
+
* @throws {@link ConflictException} (client fault)
|
|
293
|
+
* <p>This request cannot be completed for one of the following reasons because the requested
|
|
294
|
+
* resource was being concurrently modified by another request.</p>
|
|
295
|
+
*
|
|
296
|
+
* @throws {@link InternalServerException} (server fault)
|
|
297
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
298
|
+
* an internal server. </p>
|
|
299
|
+
*
|
|
300
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
301
|
+
* <p>The operation tried to access a nonexistent resource. The resource might not be
|
|
302
|
+
* specified correctly, or its status might not be ACTIVE.</p>
|
|
303
|
+
*
|
|
304
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
305
|
+
* <p>The limit on the number of requests per second was exceeded. </p>
|
|
306
|
+
*
|
|
307
|
+
* @throws {@link ValidationException} (client fault)
|
|
308
|
+
* <p>An input validation error occurred. For example, invalid characters in a template name,
|
|
309
|
+
* or if a pagination token is invalid. </p>
|
|
310
|
+
*
|
|
311
|
+
* @throws {@link PcaConnectorAdServiceException}
|
|
312
|
+
* <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
|
|
313
|
+
*
|
|
314
|
+
*/
|
|
315
|
+
export declare class UpdateTemplateCommand extends $Command<UpdateTemplateCommandInput, UpdateTemplateCommandOutput, PcaConnectorAdClientResolvedConfig> {
|
|
316
|
+
readonly input: UpdateTemplateCommandInput;
|
|
317
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
318
|
+
/**
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
constructor(input: UpdateTemplateCommandInput);
|
|
322
|
+
/**
|
|
323
|
+
* @internal
|
|
324
|
+
*/
|
|
325
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTemplateCommandInput, UpdateTemplateCommandOutput>;
|
|
326
|
+
/**
|
|
327
|
+
* @internal
|
|
328
|
+
*/
|
|
329
|
+
private serialize;
|
|
330
|
+
/**
|
|
331
|
+
* @internal
|
|
332
|
+
*/
|
|
333
|
+
private deserialize;
|
|
334
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UpdateTemplateGroupAccessControlEntryRequest } from "../models/models_0";
|
|
5
|
+
import { PcaConnectorAdClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorAdClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateTemplateGroupAccessControlEntryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTemplateGroupAccessControlEntryCommandInput extends UpdateTemplateGroupAccessControlEntryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTemplateGroupAccessControlEntryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTemplateGroupAccessControlEntryCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Update a group access control entry you created using <a href="https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateTemplateGroupAccessControlEntry.html">CreateTemplateGroupAccessControlEntry</a>. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { PcaConnectorAdClient, UpdateTemplateGroupAccessControlEntryCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
|
|
31
|
+
* // const { PcaConnectorAdClient, UpdateTemplateGroupAccessControlEntryCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
|
|
32
|
+
* const client = new PcaConnectorAdClient(config);
|
|
33
|
+
* const input = { // UpdateTemplateGroupAccessControlEntryRequest
|
|
34
|
+
* TemplateArn: "STRING_VALUE", // required
|
|
35
|
+
* GroupSecurityIdentifier: "STRING_VALUE", // required
|
|
36
|
+
* GroupDisplayName: "STRING_VALUE",
|
|
37
|
+
* AccessRights: { // AccessRights
|
|
38
|
+
* Enroll: "ALLOW" || "DENY",
|
|
39
|
+
* AutoEnroll: "ALLOW" || "DENY",
|
|
40
|
+
* },
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateTemplateGroupAccessControlEntryCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UpdateTemplateGroupAccessControlEntryCommandInput - {@link UpdateTemplateGroupAccessControlEntryCommandInput}
|
|
49
|
+
* @returns {@link UpdateTemplateGroupAccessControlEntryCommandOutput}
|
|
50
|
+
* @see {@link UpdateTemplateGroupAccessControlEntryCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UpdateTemplateGroupAccessControlEntryCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You can receive this error if you attempt to create a resource share when you don't have
|
|
56
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
57
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
58
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
59
|
+
* that affects your Amazon Web Services account. </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>This request cannot be completed for one of the following reasons because the requested
|
|
63
|
+
* resource was being concurrently modified by another request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
67
|
+
* an internal server. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The operation tried to access a nonexistent resource. The resource might not be
|
|
71
|
+
* specified correctly, or its status might not be ACTIVE.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The limit on the number of requests per second was exceeded. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>An input validation error occurred. For example, invalid characters in a template name,
|
|
78
|
+
* or if a pagination token is invalid. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link PcaConnectorAdServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class UpdateTemplateGroupAccessControlEntryCommand extends $Command<UpdateTemplateGroupAccessControlEntryCommandInput, UpdateTemplateGroupAccessControlEntryCommandOutput, PcaConnectorAdClientResolvedConfig> {
|
|
85
|
+
readonly input: UpdateTemplateGroupAccessControlEntryCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: UpdateTemplateGroupAccessControlEntryCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTemplateGroupAccessControlEntryCommandInput, UpdateTemplateGroupAccessControlEntryCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from "./CreateConnectorCommand";
|
|
2
|
+
export * from "./CreateDirectoryRegistrationCommand";
|
|
3
|
+
export * from "./CreateServicePrincipalNameCommand";
|
|
4
|
+
export * from "./CreateTemplateCommand";
|
|
5
|
+
export * from "./CreateTemplateGroupAccessControlEntryCommand";
|
|
6
|
+
export * from "./DeleteConnectorCommand";
|
|
7
|
+
export * from "./DeleteDirectoryRegistrationCommand";
|
|
8
|
+
export * from "./DeleteServicePrincipalNameCommand";
|
|
9
|
+
export * from "./DeleteTemplateCommand";
|
|
10
|
+
export * from "./DeleteTemplateGroupAccessControlEntryCommand";
|
|
11
|
+
export * from "./GetConnectorCommand";
|
|
12
|
+
export * from "./GetDirectoryRegistrationCommand";
|
|
13
|
+
export * from "./GetServicePrincipalNameCommand";
|
|
14
|
+
export * from "./GetTemplateCommand";
|
|
15
|
+
export * from "./GetTemplateGroupAccessControlEntryCommand";
|
|
16
|
+
export * from "./ListConnectorsCommand";
|
|
17
|
+
export * from "./ListDirectoryRegistrationsCommand";
|
|
18
|
+
export * from "./ListServicePrincipalNamesCommand";
|
|
19
|
+
export * from "./ListTagsForResourceCommand";
|
|
20
|
+
export * from "./ListTemplateGroupAccessControlEntriesCommand";
|
|
21
|
+
export * from "./ListTemplatesCommand";
|
|
22
|
+
export * from "./TagResourceCommand";
|
|
23
|
+
export * from "./UntagResourceCommand";
|
|
24
|
+
export * from "./UpdateTemplateCommand";
|
|
25
|
+
export * from "./UpdateTemplateGroupAccessControlEntryCommand";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
18
|
+
Region?: string;
|
|
19
|
+
UseDualStack?: boolean;
|
|
20
|
+
UseFIPS?: boolean;
|
|
21
|
+
Endpoint?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>Amazon Web Services Private CA Connector for Active Directory creates a connector between Amazon Web Services Private CA and Active Directory (AD) that enables you to
|
|
3
|
+
* provision security certificates for AD signed by a private CA that you own. For more
|
|
4
|
+
* information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/ad-connector.html">Amazon Web Services Private CA Connector for Active Directory</a>.</p>
|
|
5
|
+
*
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
*/
|
|
8
|
+
export * from "./PcaConnectorAdClient";
|
|
9
|
+
export * from "./PcaConnectorAd";
|
|
10
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
13
|
+
export * from "./models";
|
|
14
|
+
export { PcaConnectorAdServiceException } from "./models/PcaConnectorAdServiceException";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from PcaConnectorAd service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class PcaConnectorAdServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|