@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.
Files changed (199) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +407 -0
  3. package/dist-cjs/PcaConnectorAd.js +61 -0
  4. package/dist-cjs/PcaConnectorAdClient.js +43 -0
  5. package/dist-cjs/commands/CreateConnectorCommand.js +46 -0
  6. package/dist-cjs/commands/CreateDirectoryRegistrationCommand.js +46 -0
  7. package/dist-cjs/commands/CreateServicePrincipalNameCommand.js +46 -0
  8. package/dist-cjs/commands/CreateTemplateCommand.js +46 -0
  9. package/dist-cjs/commands/CreateTemplateGroupAccessControlEntryCommand.js +46 -0
  10. package/dist-cjs/commands/DeleteConnectorCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteDirectoryRegistrationCommand.js +46 -0
  12. package/dist-cjs/commands/DeleteServicePrincipalNameCommand.js +46 -0
  13. package/dist-cjs/commands/DeleteTemplateCommand.js +46 -0
  14. package/dist-cjs/commands/DeleteTemplateGroupAccessControlEntryCommand.js +46 -0
  15. package/dist-cjs/commands/GetConnectorCommand.js +46 -0
  16. package/dist-cjs/commands/GetDirectoryRegistrationCommand.js +46 -0
  17. package/dist-cjs/commands/GetServicePrincipalNameCommand.js +46 -0
  18. package/dist-cjs/commands/GetTemplateCommand.js +46 -0
  19. package/dist-cjs/commands/GetTemplateGroupAccessControlEntryCommand.js +46 -0
  20. package/dist-cjs/commands/ListConnectorsCommand.js +46 -0
  21. package/dist-cjs/commands/ListDirectoryRegistrationsCommand.js +46 -0
  22. package/dist-cjs/commands/ListServicePrincipalNamesCommand.js +46 -0
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  24. package/dist-cjs/commands/ListTemplateGroupAccessControlEntriesCommand.js +46 -0
  25. package/dist-cjs/commands/ListTemplatesCommand.js +46 -0
  26. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  27. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  28. package/dist-cjs/commands/UpdateTemplateCommand.js +46 -0
  29. package/dist-cjs/commands/UpdateTemplateGroupAccessControlEntryCommand.js +46 -0
  30. package/dist-cjs/commands/index.js +28 -0
  31. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  32. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  33. package/dist-cjs/endpoint/ruleset.js +7 -0
  34. package/dist-cjs/extensionConfiguration.js +2 -0
  35. package/dist-cjs/index.js +11 -0
  36. package/dist-cjs/models/PcaConnectorAdServiceException.js +12 -0
  37. package/dist-cjs/models/index.js +4 -0
  38. package/dist-cjs/models/models_0.js +324 -0
  39. package/dist-cjs/pagination/Interfaces.js +2 -0
  40. package/dist-cjs/pagination/ListConnectorsPaginator.js +29 -0
  41. package/dist-cjs/pagination/ListDirectoryRegistrationsPaginator.js +29 -0
  42. package/dist-cjs/pagination/ListServicePrincipalNamesPaginator.js +29 -0
  43. package/dist-cjs/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +29 -0
  44. package/dist-cjs/pagination/ListTemplatesPaginator.js +29 -0
  45. package/dist-cjs/pagination/index.js +9 -0
  46. package/dist-cjs/protocols/Aws_restJson1.js +1985 -0
  47. package/dist-cjs/runtimeConfig.browser.js +39 -0
  48. package/dist-cjs/runtimeConfig.js +48 -0
  49. package/dist-cjs/runtimeConfig.native.js +15 -0
  50. package/dist-cjs/runtimeConfig.shared.js +22 -0
  51. package/dist-cjs/runtimeExtensions.js +16 -0
  52. package/dist-es/PcaConnectorAd.js +57 -0
  53. package/dist-es/PcaConnectorAdClient.js +39 -0
  54. package/dist-es/commands/CreateConnectorCommand.js +42 -0
  55. package/dist-es/commands/CreateDirectoryRegistrationCommand.js +42 -0
  56. package/dist-es/commands/CreateServicePrincipalNameCommand.js +42 -0
  57. package/dist-es/commands/CreateTemplateCommand.js +42 -0
  58. package/dist-es/commands/CreateTemplateGroupAccessControlEntryCommand.js +42 -0
  59. package/dist-es/commands/DeleteConnectorCommand.js +42 -0
  60. package/dist-es/commands/DeleteDirectoryRegistrationCommand.js +42 -0
  61. package/dist-es/commands/DeleteServicePrincipalNameCommand.js +42 -0
  62. package/dist-es/commands/DeleteTemplateCommand.js +42 -0
  63. package/dist-es/commands/DeleteTemplateGroupAccessControlEntryCommand.js +42 -0
  64. package/dist-es/commands/GetConnectorCommand.js +42 -0
  65. package/dist-es/commands/GetDirectoryRegistrationCommand.js +42 -0
  66. package/dist-es/commands/GetServicePrincipalNameCommand.js +42 -0
  67. package/dist-es/commands/GetTemplateCommand.js +42 -0
  68. package/dist-es/commands/GetTemplateGroupAccessControlEntryCommand.js +42 -0
  69. package/dist-es/commands/ListConnectorsCommand.js +42 -0
  70. package/dist-es/commands/ListDirectoryRegistrationsCommand.js +42 -0
  71. package/dist-es/commands/ListServicePrincipalNamesCommand.js +42 -0
  72. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  73. package/dist-es/commands/ListTemplateGroupAccessControlEntriesCommand.js +42 -0
  74. package/dist-es/commands/ListTemplatesCommand.js +42 -0
  75. package/dist-es/commands/TagResourceCommand.js +42 -0
  76. package/dist-es/commands/UntagResourceCommand.js +42 -0
  77. package/dist-es/commands/UpdateTemplateCommand.js +42 -0
  78. package/dist-es/commands/UpdateTemplateGroupAccessControlEntryCommand.js +42 -0
  79. package/dist-es/commands/index.js +25 -0
  80. package/dist-es/endpoint/EndpointParameters.js +8 -0
  81. package/dist-es/endpoint/endpointResolver.js +8 -0
  82. package/dist-es/endpoint/ruleset.js +4 -0
  83. package/dist-es/extensionConfiguration.js +1 -0
  84. package/dist-es/index.js +6 -0
  85. package/dist-es/models/PcaConnectorAdServiceException.js +8 -0
  86. package/dist-es/models/index.js +1 -0
  87. package/dist-es/models/models_0.js +314 -0
  88. package/dist-es/pagination/Interfaces.js +1 -0
  89. package/dist-es/pagination/ListConnectorsPaginator.js +25 -0
  90. package/dist-es/pagination/ListDirectoryRegistrationsPaginator.js +25 -0
  91. package/dist-es/pagination/ListServicePrincipalNamesPaginator.js +25 -0
  92. package/dist-es/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +25 -0
  93. package/dist-es/pagination/ListTemplatesPaginator.js +25 -0
  94. package/dist-es/pagination/index.js +6 -0
  95. package/dist-es/protocols/Aws_restJson1.js +1932 -0
  96. package/dist-es/runtimeConfig.browser.js +34 -0
  97. package/dist-es/runtimeConfig.js +43 -0
  98. package/dist-es/runtimeConfig.native.js +11 -0
  99. package/dist-es/runtimeConfig.shared.js +18 -0
  100. package/dist-es/runtimeExtensions.js +12 -0
  101. package/dist-types/PcaConnectorAd.d.ts +187 -0
  102. package/dist-types/PcaConnectorAdClient.d.ts +194 -0
  103. package/dist-types/commands/CreateConnectorCommand.d.ts +113 -0
  104. package/dist-types/commands/CreateDirectoryRegistrationCommand.d.ts +104 -0
  105. package/dist-types/commands/CreateServicePrincipalNameCommand.d.ts +101 -0
  106. package/dist-types/commands/CreateTemplateCommand.d.ts +344 -0
  107. package/dist-types/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +108 -0
  108. package/dist-types/commands/DeleteConnectorCommand.d.ts +101 -0
  109. package/dist-types/commands/DeleteDirectoryRegistrationCommand.d.ts +94 -0
  110. package/dist-types/commands/DeleteServicePrincipalNameCommand.d.ts +95 -0
  111. package/dist-types/commands/DeleteTemplateCommand.d.ts +98 -0
  112. package/dist-types/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +98 -0
  113. package/dist-types/commands/GetConnectorCommand.d.ts +110 -0
  114. package/dist-types/commands/GetDirectoryRegistrationCommand.d.ts +102 -0
  115. package/dist-types/commands/GetServicePrincipalNameCommand.d.ts +104 -0
  116. package/dist-types/commands/GetTemplateCommand.d.ts +345 -0
  117. package/dist-types/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +106 -0
  118. package/dist-types/commands/ListConnectorsCommand.d.ts +109 -0
  119. package/dist-types/commands/ListDirectoryRegistrationsCommand.d.ts +103 -0
  120. package/dist-types/commands/ListServicePrincipalNamesCommand.d.ts +108 -0
  121. package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
  122. package/dist-types/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +110 -0
  123. package/dist-types/commands/ListTemplatesCommand.d.ts +349 -0
  124. package/dist-types/commands/TagResourceCommand.d.ts +96 -0
  125. package/dist-types/commands/UntagResourceCommand.d.ts +96 -0
  126. package/dist-types/commands/UpdateTemplateCommand.d.ts +334 -0
  127. package/dist-types/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +103 -0
  128. package/dist-types/commands/index.d.ts +25 -0
  129. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  130. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  131. package/dist-types/endpoint/ruleset.d.ts +2 -0
  132. package/dist-types/extensionConfiguration.d.ts +6 -0
  133. package/dist-types/index.d.ts +14 -0
  134. package/dist-types/models/PcaConnectorAdServiceException.d.ts +13 -0
  135. package/dist-types/models/index.d.ts +1 -0
  136. package/dist-types/models/models_0.d.ts +2690 -0
  137. package/dist-types/pagination/Interfaces.d.ts +8 -0
  138. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  139. package/dist-types/pagination/ListDirectoryRegistrationsPaginator.d.ts +7 -0
  140. package/dist-types/pagination/ListServicePrincipalNamesPaginator.d.ts +7 -0
  141. package/dist-types/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +7 -0
  142. package/dist-types/pagination/ListTemplatesPaginator.d.ts +7 -0
  143. package/dist-types/pagination/index.d.ts +6 -0
  144. package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
  145. package/dist-types/runtimeConfig.browser.d.ts +43 -0
  146. package/dist-types/runtimeConfig.d.ts +43 -0
  147. package/dist-types/runtimeConfig.native.d.ts +42 -0
  148. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  149. package/dist-types/runtimeExtensions.d.ts +17 -0
  150. package/dist-types/ts3.4/PcaConnectorAd.d.ts +462 -0
  151. package/dist-types/ts3.4/PcaConnectorAdClient.d.ts +269 -0
  152. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +38 -0
  153. package/dist-types/ts3.4/commands/CreateDirectoryRegistrationCommand.d.ts +42 -0
  154. package/dist-types/ts3.4/commands/CreateServicePrincipalNameCommand.d.ts +38 -0
  155. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +38 -0
  156. package/dist-types/ts3.4/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
  157. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +33 -0
  158. package/dist-types/ts3.4/commands/DeleteDirectoryRegistrationCommand.d.ts +38 -0
  159. package/dist-types/ts3.4/commands/DeleteServicePrincipalNameCommand.d.ts +38 -0
  160. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +33 -0
  161. package/dist-types/ts3.4/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +38 -0
  162. package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +35 -0
  163. package/dist-types/ts3.4/commands/GetDirectoryRegistrationCommand.d.ts +42 -0
  164. package/dist-types/ts3.4/commands/GetServicePrincipalNameCommand.d.ts +42 -0
  165. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +35 -0
  166. package/dist-types/ts3.4/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +42 -0
  167. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +38 -0
  168. package/dist-types/ts3.4/commands/ListDirectoryRegistrationsCommand.d.ts +42 -0
  169. package/dist-types/ts3.4/commands/ListServicePrincipalNamesCommand.d.ts +42 -0
  170. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  171. package/dist-types/ts3.4/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +42 -0
  172. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +38 -0
  173. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +33 -0
  174. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +33 -0
  175. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +33 -0
  176. package/dist-types/ts3.4/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
  177. package/dist-types/ts3.4/commands/index.d.ts +25 -0
  178. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  179. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  180. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  181. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
  182. package/dist-types/ts3.4/index.d.ts +7 -0
  183. package/dist-types/ts3.4/models/PcaConnectorAdServiceException.d.ts +8 -0
  184. package/dist-types/ts3.4/models/index.d.ts +1 -0
  185. package/dist-types/ts3.4/models/models_0.d.ts +812 -0
  186. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  187. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/ListDirectoryRegistrationsPaginator.d.ts +11 -0
  189. package/dist-types/ts3.4/pagination/ListServicePrincipalNamesPaginator.d.ts +11 -0
  190. package/dist-types/ts3.4/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +11 -0
  191. package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
  192. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  193. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
  194. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
  195. package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
  196. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  197. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  198. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  199. package/package.json +101 -0
@@ -0,0 +1,104 @@
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 { CreateDirectoryRegistrationRequest, CreateDirectoryRegistrationResponse } 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 CreateDirectoryRegistrationCommand}.
14
+ */
15
+ export interface CreateDirectoryRegistrationCommandInput extends CreateDirectoryRegistrationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDirectoryRegistrationCommand}.
21
+ */
22
+ export interface CreateDirectoryRegistrationCommandOutput extends CreateDirectoryRegistrationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an
27
+ * Active Directory</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PcaConnectorAdClient, CreateDirectoryRegistrationCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
32
+ * // const { PcaConnectorAdClient, CreateDirectoryRegistrationCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
33
+ * const client = new PcaConnectorAdClient(config);
34
+ * const input = { // CreateDirectoryRegistrationRequest
35
+ * DirectoryId: "STRING_VALUE", // required
36
+ * ClientToken: "STRING_VALUE",
37
+ * Tags: { // Tags
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * };
41
+ * const command = new CreateDirectoryRegistrationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // CreateDirectoryRegistrationResponse
44
+ * // DirectoryRegistrationArn: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param CreateDirectoryRegistrationCommandInput - {@link CreateDirectoryRegistrationCommandInput}
50
+ * @returns {@link CreateDirectoryRegistrationCommandOutput}
51
+ * @see {@link CreateDirectoryRegistrationCommandInput} for command's `input` shape.
52
+ * @see {@link CreateDirectoryRegistrationCommandOutput} for command's `response` shape.
53
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
57
+ * the required permissions. This can be caused by insufficient permissions in policies
58
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
59
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
60
+ * that affects your Amazon Web Services account. </p>
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>This request cannot be completed for one of the following reasons because the requested
64
+ * resource was being concurrently modified by another request.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>The request processing has failed because of an unknown error, exception or failure with
68
+ * an internal server. </p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
72
+ * specified correctly, or its status might not be ACTIVE.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The limit on the number of requests per second was exceeded. </p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>An input validation error occurred. For example, invalid characters in a template name,
79
+ * or if a pagination token is invalid. </p>
80
+ *
81
+ * @throws {@link PcaConnectorAdServiceException}
82
+ * <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
83
+ *
84
+ */
85
+ export declare class CreateDirectoryRegistrationCommand extends $Command<CreateDirectoryRegistrationCommandInput, CreateDirectoryRegistrationCommandOutput, PcaConnectorAdClientResolvedConfig> {
86
+ readonly input: CreateDirectoryRegistrationCommandInput;
87
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
+ /**
89
+ * @public
90
+ */
91
+ constructor(input: CreateDirectoryRegistrationCommandInput);
92
+ /**
93
+ * @internal
94
+ */
95
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDirectoryRegistrationCommandInput, CreateDirectoryRegistrationCommandOutput>;
96
+ /**
97
+ * @internal
98
+ */
99
+ private serialize;
100
+ /**
101
+ * @internal
102
+ */
103
+ private deserialize;
104
+ }
@@ -0,0 +1,101 @@
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 { CreateServicePrincipalNameRequest } 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 CreateServicePrincipalNameCommand}.
14
+ */
15
+ export interface CreateServicePrincipalNameCommandInput extends CreateServicePrincipalNameRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateServicePrincipalNameCommand}.
21
+ */
22
+ export interface CreateServicePrincipalNameCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a service principal name (SPN) for the service account in Active Directory. Kerberos
27
+ * authentication uses SPNs to associate a service instance with a service sign-in
28
+ * account.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { PcaConnectorAdClient, CreateServicePrincipalNameCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
33
+ * // const { PcaConnectorAdClient, CreateServicePrincipalNameCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
34
+ * const client = new PcaConnectorAdClient(config);
35
+ * const input = { // CreateServicePrincipalNameRequest
36
+ * DirectoryRegistrationArn: "STRING_VALUE", // required
37
+ * ConnectorArn: "STRING_VALUE", // required
38
+ * ClientToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new CreateServicePrincipalNameCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param CreateServicePrincipalNameCommandInput - {@link CreateServicePrincipalNameCommandInput}
47
+ * @returns {@link CreateServicePrincipalNameCommandOutput}
48
+ * @see {@link CreateServicePrincipalNameCommandInput} for command's `input` shape.
49
+ * @see {@link CreateServicePrincipalNameCommandOutput} for command's `response` shape.
50
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
54
+ * the required permissions. This can be caused by insufficient permissions in policies
55
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
56
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
57
+ * that affects your Amazon Web Services account. </p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>This request cannot be completed for one of the following reasons because the requested
61
+ * resource was being concurrently modified by another request.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The request processing has failed because of an unknown error, exception or failure with
65
+ * an internal server. </p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
69
+ * specified correctly, or its status might not be ACTIVE.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The limit on the number of requests per second was exceeded. </p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>An input validation error occurred. For example, invalid characters in a template name,
76
+ * or if a pagination token is invalid. </p>
77
+ *
78
+ * @throws {@link PcaConnectorAdServiceException}
79
+ * <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
80
+ *
81
+ */
82
+ export declare class CreateServicePrincipalNameCommand extends $Command<CreateServicePrincipalNameCommandInput, CreateServicePrincipalNameCommandOutput, PcaConnectorAdClientResolvedConfig> {
83
+ readonly input: CreateServicePrincipalNameCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: CreateServicePrincipalNameCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServicePrincipalNameCommandInput, CreateServicePrincipalNameCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -0,0 +1,344 @@
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 { CreateTemplateRequest, CreateTemplateResponse } 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 CreateTemplateCommand}.
14
+ */
15
+ export interface CreateTemplateCommandInput extends CreateTemplateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateTemplateCommand}.
21
+ */
22
+ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates an Active Directory compatible certificate template. The connectors issues certificates
27
+ * using these templates based on the requester’s Active Directory group membership.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PcaConnectorAdClient, CreateTemplateCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
32
+ * // const { PcaConnectorAdClient, CreateTemplateCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
33
+ * const client = new PcaConnectorAdClient(config);
34
+ * const input = { // CreateTemplateRequest
35
+ * ConnectorArn: "STRING_VALUE", // required
36
+ * Name: "STRING_VALUE", // required
37
+ * Definition: { // TemplateDefinition Union: only one key present
38
+ * TemplateV2: { // TemplateV2
39
+ * CertificateValidity: { // CertificateValidity
40
+ * ValidityPeriod: { // ValidityPeriod
41
+ * PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
42
+ * Period: Number("long"), // required
43
+ * },
44
+ * RenewalPeriod: {
45
+ * PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
46
+ * Period: Number("long"), // required
47
+ * },
48
+ * },
49
+ * SupersededTemplates: [ // TemplateNameList
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * PrivateKeyAttributes: { // PrivateKeyAttributesV2
53
+ * MinimalKeyLength: Number("int"), // required
54
+ * KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
55
+ * CryptoProviders: [ // CryptoProvidersList
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * },
59
+ * PrivateKeyFlags: { // PrivateKeyFlagsV2
60
+ * ExportableKey: true || false,
61
+ * StrongKeyProtectionRequired: true || false,
62
+ * ClientVersion: "WINDOWS_SERVER_2003" || "WINDOWS_SERVER_2008" || "WINDOWS_SERVER_2008_R2" || "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
63
+ * },
64
+ * EnrollmentFlags: { // EnrollmentFlagsV2
65
+ * IncludeSymmetricAlgorithms: true || false,
66
+ * UserInteractionRequired: true || false,
67
+ * RemoveInvalidCertificateFromPersonalStore: true || false,
68
+ * NoSecurityExtension: true || false,
69
+ * EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
70
+ * },
71
+ * SubjectNameFlags: { // SubjectNameFlagsV2
72
+ * SanRequireDomainDns: true || false,
73
+ * SanRequireSpn: true || false,
74
+ * SanRequireDirectoryGuid: true || false,
75
+ * SanRequireUpn: true || false,
76
+ * SanRequireEmail: true || false,
77
+ * SanRequireDns: true || false,
78
+ * RequireDnsAsCn: true || false,
79
+ * RequireEmail: true || false,
80
+ * RequireCommonName: true || false,
81
+ * RequireDirectoryPath: true || false,
82
+ * },
83
+ * GeneralFlags: { // GeneralFlagsV2
84
+ * AutoEnrollment: true || false,
85
+ * MachineType: true || false,
86
+ * },
87
+ * Extensions: { // ExtensionsV2
88
+ * KeyUsage: { // KeyUsage
89
+ * Critical: true || false,
90
+ * UsageFlags: { // KeyUsageFlags
91
+ * DigitalSignature: true || false,
92
+ * NonRepudiation: true || false,
93
+ * KeyEncipherment: true || false,
94
+ * DataEncipherment: true || false,
95
+ * KeyAgreement: true || false,
96
+ * },
97
+ * },
98
+ * ApplicationPolicies: { // ApplicationPolicies
99
+ * Critical: true || false,
100
+ * Policies: [ // ApplicationPolicyList // required
101
+ * { // ApplicationPolicy Union: only one key present
102
+ * 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",
103
+ * PolicyObjectIdentifier: "STRING_VALUE",
104
+ * },
105
+ * ],
106
+ * },
107
+ * },
108
+ * },
109
+ * TemplateV3: { // TemplateV3
110
+ * CertificateValidity: {
111
+ * ValidityPeriod: {
112
+ * PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
113
+ * Period: Number("long"), // required
114
+ * },
115
+ * RenewalPeriod: {
116
+ * PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
117
+ * Period: Number("long"), // required
118
+ * },
119
+ * },
120
+ * SupersededTemplates: [
121
+ * "STRING_VALUE",
122
+ * ],
123
+ * PrivateKeyAttributes: { // PrivateKeyAttributesV3
124
+ * MinimalKeyLength: Number("int"), // required
125
+ * KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
126
+ * CryptoProviders: [
127
+ * "STRING_VALUE",
128
+ * ],
129
+ * KeyUsageProperty: { // KeyUsageProperty Union: only one key present
130
+ * PropertyType: "ALL",
131
+ * PropertyFlags: { // KeyUsagePropertyFlags
132
+ * Decrypt: true || false,
133
+ * KeyAgreement: true || false,
134
+ * Sign: true || false,
135
+ * },
136
+ * },
137
+ * Algorithm: "RSA" || "ECDH_P256" || "ECDH_P384" || "ECDH_P521", // required
138
+ * },
139
+ * PrivateKeyFlags: { // PrivateKeyFlagsV3
140
+ * ExportableKey: true || false,
141
+ * StrongKeyProtectionRequired: true || false,
142
+ * RequireAlternateSignatureAlgorithm: true || false,
143
+ * ClientVersion: "WINDOWS_SERVER_2008" || "WINDOWS_SERVER_2008_R2" || "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
144
+ * },
145
+ * EnrollmentFlags: { // EnrollmentFlagsV3
146
+ * IncludeSymmetricAlgorithms: true || false,
147
+ * UserInteractionRequired: true || false,
148
+ * RemoveInvalidCertificateFromPersonalStore: true || false,
149
+ * NoSecurityExtension: true || false,
150
+ * EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
151
+ * },
152
+ * SubjectNameFlags: { // SubjectNameFlagsV3
153
+ * SanRequireDomainDns: true || false,
154
+ * SanRequireSpn: true || false,
155
+ * SanRequireDirectoryGuid: true || false,
156
+ * SanRequireUpn: true || false,
157
+ * SanRequireEmail: true || false,
158
+ * SanRequireDns: true || false,
159
+ * RequireDnsAsCn: true || false,
160
+ * RequireEmail: true || false,
161
+ * RequireCommonName: true || false,
162
+ * RequireDirectoryPath: true || false,
163
+ * },
164
+ * GeneralFlags: { // GeneralFlagsV3
165
+ * AutoEnrollment: true || false,
166
+ * MachineType: true || false,
167
+ * },
168
+ * HashAlgorithm: "SHA256" || "SHA384" || "SHA512", // required
169
+ * Extensions: { // ExtensionsV3
170
+ * KeyUsage: {
171
+ * Critical: true || false,
172
+ * UsageFlags: {
173
+ * DigitalSignature: true || false,
174
+ * NonRepudiation: true || false,
175
+ * KeyEncipherment: true || false,
176
+ * DataEncipherment: true || false,
177
+ * KeyAgreement: true || false,
178
+ * },
179
+ * },
180
+ * ApplicationPolicies: {
181
+ * Critical: true || false,
182
+ * Policies: [ // required
183
+ * {// Union: only one key present
184
+ * 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",
185
+ * PolicyObjectIdentifier: "STRING_VALUE",
186
+ * },
187
+ * ],
188
+ * },
189
+ * },
190
+ * },
191
+ * TemplateV4: { // TemplateV4
192
+ * CertificateValidity: {
193
+ * ValidityPeriod: {
194
+ * PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
195
+ * Period: Number("long"), // required
196
+ * },
197
+ * RenewalPeriod: "<ValidityPeriod>", // required
198
+ * },
199
+ * SupersededTemplates: [
200
+ * "STRING_VALUE",
201
+ * ],
202
+ * PrivateKeyAttributes: { // PrivateKeyAttributesV4
203
+ * MinimalKeyLength: Number("int"), // required
204
+ * KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
205
+ * CryptoProviders: [
206
+ * "STRING_VALUE",
207
+ * ],
208
+ * KeyUsageProperty: {// Union: only one key present
209
+ * PropertyType: "ALL",
210
+ * PropertyFlags: {
211
+ * Decrypt: true || false,
212
+ * KeyAgreement: true || false,
213
+ * Sign: true || false,
214
+ * },
215
+ * },
216
+ * Algorithm: "RSA" || "ECDH_P256" || "ECDH_P384" || "ECDH_P521",
217
+ * },
218
+ * PrivateKeyFlags: { // PrivateKeyFlagsV4
219
+ * ExportableKey: true || false,
220
+ * StrongKeyProtectionRequired: true || false,
221
+ * RequireAlternateSignatureAlgorithm: true || false,
222
+ * RequireSameKeyRenewal: true || false,
223
+ * UseLegacyProvider: true || false,
224
+ * ClientVersion: "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
225
+ * },
226
+ * EnrollmentFlags: { // EnrollmentFlagsV4
227
+ * IncludeSymmetricAlgorithms: true || false,
228
+ * UserInteractionRequired: true || false,
229
+ * RemoveInvalidCertificateFromPersonalStore: true || false,
230
+ * NoSecurityExtension: true || false,
231
+ * EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
232
+ * },
233
+ * SubjectNameFlags: { // SubjectNameFlagsV4
234
+ * SanRequireDomainDns: true || false,
235
+ * SanRequireSpn: true || false,
236
+ * SanRequireDirectoryGuid: true || false,
237
+ * SanRequireUpn: true || false,
238
+ * SanRequireEmail: true || false,
239
+ * SanRequireDns: true || false,
240
+ * RequireDnsAsCn: true || false,
241
+ * RequireEmail: true || false,
242
+ * RequireCommonName: true || false,
243
+ * RequireDirectoryPath: true || false,
244
+ * },
245
+ * GeneralFlags: { // GeneralFlagsV4
246
+ * AutoEnrollment: true || false,
247
+ * MachineType: true || false,
248
+ * },
249
+ * HashAlgorithm: "SHA256" || "SHA384" || "SHA512",
250
+ * Extensions: { // ExtensionsV4
251
+ * KeyUsage: {
252
+ * Critical: true || false,
253
+ * UsageFlags: {
254
+ * DigitalSignature: true || false,
255
+ * NonRepudiation: true || false,
256
+ * KeyEncipherment: true || false,
257
+ * DataEncipherment: true || false,
258
+ * KeyAgreement: true || false,
259
+ * },
260
+ * },
261
+ * ApplicationPolicies: {
262
+ * Critical: true || false,
263
+ * Policies: [ // required
264
+ * {// Union: only one key present
265
+ * 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",
266
+ * PolicyObjectIdentifier: "STRING_VALUE",
267
+ * },
268
+ * ],
269
+ * },
270
+ * },
271
+ * },
272
+ * },
273
+ * ClientToken: "STRING_VALUE",
274
+ * Tags: { // Tags
275
+ * "<keys>": "STRING_VALUE",
276
+ * },
277
+ * };
278
+ * const command = new CreateTemplateCommand(input);
279
+ * const response = await client.send(command);
280
+ * // { // CreateTemplateResponse
281
+ * // TemplateArn: "STRING_VALUE",
282
+ * // };
283
+ *
284
+ * ```
285
+ *
286
+ * @param CreateTemplateCommandInput - {@link CreateTemplateCommandInput}
287
+ * @returns {@link CreateTemplateCommandOutput}
288
+ * @see {@link CreateTemplateCommandInput} for command's `input` shape.
289
+ * @see {@link CreateTemplateCommandOutput} for command's `response` shape.
290
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
291
+ *
292
+ * @throws {@link AccessDeniedException} (client fault)
293
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
294
+ * the required permissions. This can be caused by insufficient permissions in policies
295
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
296
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
297
+ * that affects your Amazon Web Services account. </p>
298
+ *
299
+ * @throws {@link ConflictException} (client fault)
300
+ * <p>This request cannot be completed for one of the following reasons because the requested
301
+ * resource was being concurrently modified by another request.</p>
302
+ *
303
+ * @throws {@link InternalServerException} (server fault)
304
+ * <p>The request processing has failed because of an unknown error, exception or failure with
305
+ * an internal server. </p>
306
+ *
307
+ * @throws {@link ResourceNotFoundException} (client fault)
308
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
309
+ * specified correctly, or its status might not be ACTIVE.</p>
310
+ *
311
+ * @throws {@link ServiceQuotaExceededException} (client fault)
312
+ * <p>Request would cause a service quota to be exceeded.</p>
313
+ *
314
+ * @throws {@link ThrottlingException} (client fault)
315
+ * <p>The limit on the number of requests per second was exceeded. </p>
316
+ *
317
+ * @throws {@link ValidationException} (client fault)
318
+ * <p>An input validation error occurred. For example, invalid characters in a template name,
319
+ * or if a pagination token is invalid. </p>
320
+ *
321
+ * @throws {@link PcaConnectorAdServiceException}
322
+ * <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
323
+ *
324
+ */
325
+ export declare class CreateTemplateCommand extends $Command<CreateTemplateCommandInput, CreateTemplateCommandOutput, PcaConnectorAdClientResolvedConfig> {
326
+ readonly input: CreateTemplateCommandInput;
327
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
328
+ /**
329
+ * @public
330
+ */
331
+ constructor(input: CreateTemplateCommandInput);
332
+ /**
333
+ * @internal
334
+ */
335
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTemplateCommandInput, CreateTemplateCommandOutput>;
336
+ /**
337
+ * @internal
338
+ */
339
+ private serialize;
340
+ /**
341
+ * @internal
342
+ */
343
+ private deserialize;
344
+ }
@@ -0,0 +1,108 @@
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 { CreateTemplateGroupAccessControlEntryRequest } 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 CreateTemplateGroupAccessControlEntryCommand}.
14
+ */
15
+ export interface CreateTemplateGroupAccessControlEntryCommandInput extends CreateTemplateGroupAccessControlEntryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateTemplateGroupAccessControlEntryCommand}.
21
+ */
22
+ export interface CreateTemplateGroupAccessControlEntryCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Create a group access control entry. Allow or deny Active Directory groups from enrolling and/or
27
+ * autoenrolling with the template based on the group security identifiers (SIDs).</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PcaConnectorAdClient, CreateTemplateGroupAccessControlEntryCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
32
+ * // const { PcaConnectorAdClient, CreateTemplateGroupAccessControlEntryCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
33
+ * const client = new PcaConnectorAdClient(config);
34
+ * const input = { // CreateTemplateGroupAccessControlEntryRequest
35
+ * TemplateArn: "STRING_VALUE", // required
36
+ * GroupSecurityIdentifier: "STRING_VALUE", // required
37
+ * GroupDisplayName: "STRING_VALUE", // required
38
+ * AccessRights: { // AccessRights
39
+ * Enroll: "ALLOW" || "DENY",
40
+ * AutoEnroll: "ALLOW" || "DENY",
41
+ * },
42
+ * ClientToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new CreateTemplateGroupAccessControlEntryCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param CreateTemplateGroupAccessControlEntryCommandInput - {@link CreateTemplateGroupAccessControlEntryCommandInput}
51
+ * @returns {@link CreateTemplateGroupAccessControlEntryCommandOutput}
52
+ * @see {@link CreateTemplateGroupAccessControlEntryCommandInput} for command's `input` shape.
53
+ * @see {@link CreateTemplateGroupAccessControlEntryCommandOutput} for command's `response` shape.
54
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
58
+ * the required permissions. This can be caused by insufficient permissions in policies
59
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
60
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
61
+ * that affects your Amazon Web Services account. </p>
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>This request cannot be completed for one of the following reasons because the requested
65
+ * resource was being concurrently modified by another request.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>The request processing has failed because of an unknown error, exception or failure with
69
+ * an internal server. </p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
73
+ * specified correctly, or its status might not be ACTIVE.</p>
74
+ *
75
+ * @throws {@link ServiceQuotaExceededException} (client fault)
76
+ * <p>Request would cause a service quota to be exceeded.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The limit on the number of requests per second was exceeded. </p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>An input validation error occurred. For example, invalid characters in a template name,
83
+ * or if a pagination token is invalid. </p>
84
+ *
85
+ * @throws {@link PcaConnectorAdServiceException}
86
+ * <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
87
+ *
88
+ */
89
+ export declare class CreateTemplateGroupAccessControlEntryCommand extends $Command<CreateTemplateGroupAccessControlEntryCommandInput, CreateTemplateGroupAccessControlEntryCommandOutput, PcaConnectorAdClientResolvedConfig> {
90
+ readonly input: CreateTemplateGroupAccessControlEntryCommandInput;
91
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
+ /**
93
+ * @public
94
+ */
95
+ constructor(input: CreateTemplateGroupAccessControlEntryCommandInput);
96
+ /**
97
+ * @internal
98
+ */
99
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTemplateGroupAccessControlEntryCommandInput, CreateTemplateGroupAccessControlEntryCommandOutput>;
100
+ /**
101
+ * @internal
102
+ */
103
+ private serialize;
104
+ /**
105
+ * @internal
106
+ */
107
+ private deserialize;
108
+ }