@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,102 @@
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 { GetDirectoryRegistrationRequest, GetDirectoryRegistrationResponse } 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 GetDirectoryRegistrationCommand}.
14
+ */
15
+ export interface GetDirectoryRegistrationCommandInput extends GetDirectoryRegistrationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDirectoryRegistrationCommand}.
21
+ */
22
+ export interface GetDirectoryRegistrationCommandOutput extends GetDirectoryRegistrationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>A structure that contains information about your directory registration.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { PcaConnectorAdClient, GetDirectoryRegistrationCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
31
+ * // const { PcaConnectorAdClient, GetDirectoryRegistrationCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
32
+ * const client = new PcaConnectorAdClient(config);
33
+ * const input = { // GetDirectoryRegistrationRequest
34
+ * DirectoryRegistrationArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetDirectoryRegistrationCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetDirectoryRegistrationResponse
39
+ * // DirectoryRegistration: { // DirectoryRegistration
40
+ * // Arn: "STRING_VALUE",
41
+ * // DirectoryId: "STRING_VALUE",
42
+ * // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
43
+ * // StatusReason: "DIRECTORY_ACCESS_DENIED" || "DIRECTORY_RESOURCE_NOT_FOUND" || "DIRECTORY_NOT_ACTIVE" || "DIRECTORY_NOT_REACHABLE" || "DIRECTORY_TYPE_NOT_SUPPORTED" || "INTERNAL_FAILURE",
44
+ * // CreatedAt: new Date("TIMESTAMP"),
45
+ * // UpdatedAt: new Date("TIMESTAMP"),
46
+ * // },
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetDirectoryRegistrationCommandInput - {@link GetDirectoryRegistrationCommandInput}
52
+ * @returns {@link GetDirectoryRegistrationCommandOutput}
53
+ * @see {@link GetDirectoryRegistrationCommandInput} for command's `input` shape.
54
+ * @see {@link GetDirectoryRegistrationCommandOutput} for command's `response` shape.
55
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
59
+ * the required permissions. This can be caused by insufficient permissions in policies
60
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
61
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
62
+ * that affects your Amazon Web Services account. </p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The request processing has failed because of an unknown error, exception or failure with
66
+ * an internal server. </p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
70
+ * specified correctly, or its status might not be ACTIVE.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The limit on the number of requests per second was exceeded. </p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>An input validation error occurred. For example, invalid characters in a template name,
77
+ * or if a pagination token is invalid. </p>
78
+ *
79
+ * @throws {@link PcaConnectorAdServiceException}
80
+ * <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
81
+ *
82
+ */
83
+ export declare class GetDirectoryRegistrationCommand extends $Command<GetDirectoryRegistrationCommandInput, GetDirectoryRegistrationCommandOutput, PcaConnectorAdClientResolvedConfig> {
84
+ readonly input: GetDirectoryRegistrationCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: GetDirectoryRegistrationCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDirectoryRegistrationCommandInput, GetDirectoryRegistrationCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -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 { GetServicePrincipalNameRequest, GetServicePrincipalNameResponse } 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 GetServicePrincipalNameCommand}.
14
+ */
15
+ export interface GetServicePrincipalNameCommandInput extends GetServicePrincipalNameRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetServicePrincipalNameCommand}.
21
+ */
22
+ export interface GetServicePrincipalNameCommandOutput extends GetServicePrincipalNameResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the service principal name that the connector uses to authenticate with
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, GetServicePrincipalNameCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
32
+ * // const { PcaConnectorAdClient, GetServicePrincipalNameCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
33
+ * const client = new PcaConnectorAdClient(config);
34
+ * const input = { // GetServicePrincipalNameRequest
35
+ * DirectoryRegistrationArn: "STRING_VALUE", // required
36
+ * ConnectorArn: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetServicePrincipalNameCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetServicePrincipalNameResponse
41
+ * // ServicePrincipalName: { // ServicePrincipalName
42
+ * // DirectoryRegistrationArn: "STRING_VALUE",
43
+ * // ConnectorArn: "STRING_VALUE",
44
+ * // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
45
+ * // StatusReason: "DIRECTORY_ACCESS_DENIED" || "DIRECTORY_NOT_REACHABLE" || "DIRECTORY_RESOURCE_NOT_FOUND" || "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT" || "INTERNAL_FAILURE",
46
+ * // CreatedAt: new Date("TIMESTAMP"),
47
+ * // UpdatedAt: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetServicePrincipalNameCommandInput - {@link GetServicePrincipalNameCommandInput}
54
+ * @returns {@link GetServicePrincipalNameCommandOutput}
55
+ * @see {@link GetServicePrincipalNameCommandInput} for command's `input` shape.
56
+ * @see {@link GetServicePrincipalNameCommandOutput} for command's `response` shape.
57
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
61
+ * the required permissions. This can be caused by insufficient permissions in policies
62
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
63
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
64
+ * that affects your Amazon Web Services account. </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 GetServicePrincipalNameCommand extends $Command<GetServicePrincipalNameCommandInput, GetServicePrincipalNameCommandOutput, PcaConnectorAdClientResolvedConfig> {
86
+ readonly input: GetServicePrincipalNameCommandInput;
87
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
+ /**
89
+ * @public
90
+ */
91
+ constructor(input: GetServicePrincipalNameCommandInput);
92
+ /**
93
+ * @internal
94
+ */
95
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetServicePrincipalNameCommandInput, GetServicePrincipalNameCommandOutput>;
96
+ /**
97
+ * @internal
98
+ */
99
+ private serialize;
100
+ /**
101
+ * @internal
102
+ */
103
+ private deserialize;
104
+ }
@@ -0,0 +1,345 @@
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 { GetTemplateRequest, GetTemplateResponse } 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 GetTemplateCommand}.
14
+ */
15
+ export interface GetTemplateCommandInput extends GetTemplateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTemplateCommand}.
21
+ */
22
+ export interface GetTemplateCommandOutput extends GetTemplateResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves a certificate template that the connector uses to issue certificates from a
27
+ * private CA.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PcaConnectorAdClient, GetTemplateCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
32
+ * // const { PcaConnectorAdClient, GetTemplateCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
33
+ * const client = new PcaConnectorAdClient(config);
34
+ * const input = { // GetTemplateRequest
35
+ * TemplateArn: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetTemplateCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetTemplateResponse
40
+ * // Template: { // Template
41
+ * // Arn: "STRING_VALUE",
42
+ * // ConnectorArn: "STRING_VALUE",
43
+ * // Definition: { // TemplateDefinition Union: only one key present
44
+ * // TemplateV2: { // TemplateV2
45
+ * // CertificateValidity: { // CertificateValidity
46
+ * // ValidityPeriod: { // ValidityPeriod
47
+ * // PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
48
+ * // Period: Number("long"), // required
49
+ * // },
50
+ * // RenewalPeriod: {
51
+ * // PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
52
+ * // Period: Number("long"), // required
53
+ * // },
54
+ * // },
55
+ * // SupersededTemplates: [ // TemplateNameList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // PrivateKeyAttributes: { // PrivateKeyAttributesV2
59
+ * // MinimalKeyLength: Number("int"), // required
60
+ * // KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
61
+ * // CryptoProviders: [ // CryptoProvidersList
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // },
65
+ * // PrivateKeyFlags: { // PrivateKeyFlagsV2
66
+ * // ExportableKey: true || false,
67
+ * // StrongKeyProtectionRequired: true || false,
68
+ * // ClientVersion: "WINDOWS_SERVER_2003" || "WINDOWS_SERVER_2008" || "WINDOWS_SERVER_2008_R2" || "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
69
+ * // },
70
+ * // EnrollmentFlags: { // EnrollmentFlagsV2
71
+ * // IncludeSymmetricAlgorithms: true || false,
72
+ * // UserInteractionRequired: true || false,
73
+ * // RemoveInvalidCertificateFromPersonalStore: true || false,
74
+ * // NoSecurityExtension: true || false,
75
+ * // EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
76
+ * // },
77
+ * // SubjectNameFlags: { // SubjectNameFlagsV2
78
+ * // SanRequireDomainDns: true || false,
79
+ * // SanRequireSpn: true || false,
80
+ * // SanRequireDirectoryGuid: true || false,
81
+ * // SanRequireUpn: true || false,
82
+ * // SanRequireEmail: true || false,
83
+ * // SanRequireDns: true || false,
84
+ * // RequireDnsAsCn: true || false,
85
+ * // RequireEmail: true || false,
86
+ * // RequireCommonName: true || false,
87
+ * // RequireDirectoryPath: true || false,
88
+ * // },
89
+ * // GeneralFlags: { // GeneralFlagsV2
90
+ * // AutoEnrollment: true || false,
91
+ * // MachineType: true || false,
92
+ * // },
93
+ * // Extensions: { // ExtensionsV2
94
+ * // KeyUsage: { // KeyUsage
95
+ * // Critical: true || false,
96
+ * // UsageFlags: { // KeyUsageFlags
97
+ * // DigitalSignature: true || false,
98
+ * // NonRepudiation: true || false,
99
+ * // KeyEncipherment: true || false,
100
+ * // DataEncipherment: true || false,
101
+ * // KeyAgreement: true || false,
102
+ * // },
103
+ * // },
104
+ * // ApplicationPolicies: { // ApplicationPolicies
105
+ * // Critical: true || false,
106
+ * // Policies: [ // ApplicationPolicyList // required
107
+ * // { // ApplicationPolicy Union: only one key present
108
+ * // 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",
109
+ * // PolicyObjectIdentifier: "STRING_VALUE",
110
+ * // },
111
+ * // ],
112
+ * // },
113
+ * // },
114
+ * // },
115
+ * // TemplateV3: { // TemplateV3
116
+ * // CertificateValidity: {
117
+ * // ValidityPeriod: {
118
+ * // PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
119
+ * // Period: Number("long"), // required
120
+ * // },
121
+ * // RenewalPeriod: {
122
+ * // PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
123
+ * // Period: Number("long"), // required
124
+ * // },
125
+ * // },
126
+ * // SupersededTemplates: [
127
+ * // "STRING_VALUE",
128
+ * // ],
129
+ * // PrivateKeyAttributes: { // PrivateKeyAttributesV3
130
+ * // MinimalKeyLength: Number("int"), // required
131
+ * // KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
132
+ * // CryptoProviders: [
133
+ * // "STRING_VALUE",
134
+ * // ],
135
+ * // KeyUsageProperty: { // KeyUsageProperty Union: only one key present
136
+ * // PropertyType: "ALL",
137
+ * // PropertyFlags: { // KeyUsagePropertyFlags
138
+ * // Decrypt: true || false,
139
+ * // KeyAgreement: true || false,
140
+ * // Sign: true || false,
141
+ * // },
142
+ * // },
143
+ * // Algorithm: "RSA" || "ECDH_P256" || "ECDH_P384" || "ECDH_P521", // required
144
+ * // },
145
+ * // PrivateKeyFlags: { // PrivateKeyFlagsV3
146
+ * // ExportableKey: true || false,
147
+ * // StrongKeyProtectionRequired: true || false,
148
+ * // RequireAlternateSignatureAlgorithm: true || false,
149
+ * // ClientVersion: "WINDOWS_SERVER_2008" || "WINDOWS_SERVER_2008_R2" || "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
150
+ * // },
151
+ * // EnrollmentFlags: { // EnrollmentFlagsV3
152
+ * // IncludeSymmetricAlgorithms: true || false,
153
+ * // UserInteractionRequired: true || false,
154
+ * // RemoveInvalidCertificateFromPersonalStore: true || false,
155
+ * // NoSecurityExtension: true || false,
156
+ * // EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
157
+ * // },
158
+ * // SubjectNameFlags: { // SubjectNameFlagsV3
159
+ * // SanRequireDomainDns: true || false,
160
+ * // SanRequireSpn: true || false,
161
+ * // SanRequireDirectoryGuid: true || false,
162
+ * // SanRequireUpn: true || false,
163
+ * // SanRequireEmail: true || false,
164
+ * // SanRequireDns: true || false,
165
+ * // RequireDnsAsCn: true || false,
166
+ * // RequireEmail: true || false,
167
+ * // RequireCommonName: true || false,
168
+ * // RequireDirectoryPath: true || false,
169
+ * // },
170
+ * // GeneralFlags: { // GeneralFlagsV3
171
+ * // AutoEnrollment: true || false,
172
+ * // MachineType: true || false,
173
+ * // },
174
+ * // HashAlgorithm: "SHA256" || "SHA384" || "SHA512", // required
175
+ * // Extensions: { // ExtensionsV3
176
+ * // KeyUsage: {
177
+ * // Critical: true || false,
178
+ * // UsageFlags: {
179
+ * // DigitalSignature: true || false,
180
+ * // NonRepudiation: true || false,
181
+ * // KeyEncipherment: true || false,
182
+ * // DataEncipherment: true || false,
183
+ * // KeyAgreement: true || false,
184
+ * // },
185
+ * // },
186
+ * // ApplicationPolicies: {
187
+ * // Critical: true || false,
188
+ * // Policies: [ // required
189
+ * // {// Union: only one key present
190
+ * // 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",
191
+ * // PolicyObjectIdentifier: "STRING_VALUE",
192
+ * // },
193
+ * // ],
194
+ * // },
195
+ * // },
196
+ * // },
197
+ * // TemplateV4: { // TemplateV4
198
+ * // CertificateValidity: {
199
+ * // ValidityPeriod: {
200
+ * // PeriodType: "HOURS" || "DAYS" || "WEEKS" || "MONTHS" || "YEARS", // required
201
+ * // Period: Number("long"), // required
202
+ * // },
203
+ * // RenewalPeriod: "<ValidityPeriod>", // required
204
+ * // },
205
+ * // SupersededTemplates: [
206
+ * // "STRING_VALUE",
207
+ * // ],
208
+ * // PrivateKeyAttributes: { // PrivateKeyAttributesV4
209
+ * // MinimalKeyLength: Number("int"), // required
210
+ * // KeySpec: "KEY_EXCHANGE" || "SIGNATURE", // required
211
+ * // CryptoProviders: [
212
+ * // "STRING_VALUE",
213
+ * // ],
214
+ * // KeyUsageProperty: {// Union: only one key present
215
+ * // PropertyType: "ALL",
216
+ * // PropertyFlags: {
217
+ * // Decrypt: true || false,
218
+ * // KeyAgreement: true || false,
219
+ * // Sign: true || false,
220
+ * // },
221
+ * // },
222
+ * // Algorithm: "RSA" || "ECDH_P256" || "ECDH_P384" || "ECDH_P521",
223
+ * // },
224
+ * // PrivateKeyFlags: { // PrivateKeyFlagsV4
225
+ * // ExportableKey: true || false,
226
+ * // StrongKeyProtectionRequired: true || false,
227
+ * // RequireAlternateSignatureAlgorithm: true || false,
228
+ * // RequireSameKeyRenewal: true || false,
229
+ * // UseLegacyProvider: true || false,
230
+ * // ClientVersion: "WINDOWS_SERVER_2012" || "WINDOWS_SERVER_2012_R2" || "WINDOWS_SERVER_2016", // required
231
+ * // },
232
+ * // EnrollmentFlags: { // EnrollmentFlagsV4
233
+ * // IncludeSymmetricAlgorithms: true || false,
234
+ * // UserInteractionRequired: true || false,
235
+ * // RemoveInvalidCertificateFromPersonalStore: true || false,
236
+ * // NoSecurityExtension: true || false,
237
+ * // EnableKeyReuseOnNtTokenKeysetStorageFull: true || false,
238
+ * // },
239
+ * // SubjectNameFlags: { // SubjectNameFlagsV4
240
+ * // SanRequireDomainDns: true || false,
241
+ * // SanRequireSpn: true || false,
242
+ * // SanRequireDirectoryGuid: true || false,
243
+ * // SanRequireUpn: true || false,
244
+ * // SanRequireEmail: true || false,
245
+ * // SanRequireDns: true || false,
246
+ * // RequireDnsAsCn: true || false,
247
+ * // RequireEmail: true || false,
248
+ * // RequireCommonName: true || false,
249
+ * // RequireDirectoryPath: true || false,
250
+ * // },
251
+ * // GeneralFlags: { // GeneralFlagsV4
252
+ * // AutoEnrollment: true || false,
253
+ * // MachineType: true || false,
254
+ * // },
255
+ * // HashAlgorithm: "SHA256" || "SHA384" || "SHA512",
256
+ * // Extensions: { // ExtensionsV4
257
+ * // KeyUsage: {
258
+ * // Critical: true || false,
259
+ * // UsageFlags: {
260
+ * // DigitalSignature: true || false,
261
+ * // NonRepudiation: true || false,
262
+ * // KeyEncipherment: true || false,
263
+ * // DataEncipherment: true || false,
264
+ * // KeyAgreement: true || false,
265
+ * // },
266
+ * // },
267
+ * // ApplicationPolicies: {
268
+ * // Critical: true || false,
269
+ * // Policies: [ // required
270
+ * // {// Union: only one key present
271
+ * // 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",
272
+ * // PolicyObjectIdentifier: "STRING_VALUE",
273
+ * // },
274
+ * // ],
275
+ * // },
276
+ * // },
277
+ * // },
278
+ * // },
279
+ * // Name: "STRING_VALUE",
280
+ * // ObjectIdentifier: "STRING_VALUE",
281
+ * // PolicySchema: Number("int"),
282
+ * // Status: "ACTIVE" || "DELETING",
283
+ * // Revision: { // TemplateRevision
284
+ * // MajorRevision: Number("int"), // required
285
+ * // MinorRevision: Number("int"), // required
286
+ * // },
287
+ * // CreatedAt: new Date("TIMESTAMP"),
288
+ * // UpdatedAt: new Date("TIMESTAMP"),
289
+ * // },
290
+ * // };
291
+ *
292
+ * ```
293
+ *
294
+ * @param GetTemplateCommandInput - {@link GetTemplateCommandInput}
295
+ * @returns {@link GetTemplateCommandOutput}
296
+ * @see {@link GetTemplateCommandInput} for command's `input` shape.
297
+ * @see {@link GetTemplateCommandOutput} for command's `response` shape.
298
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
299
+ *
300
+ * @throws {@link AccessDeniedException} (client fault)
301
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
302
+ * the required permissions. This can be caused by insufficient permissions in policies
303
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
304
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
305
+ * that affects your Amazon Web Services account. </p>
306
+ *
307
+ * @throws {@link InternalServerException} (server fault)
308
+ * <p>The request processing has failed because of an unknown error, exception or failure with
309
+ * an internal server. </p>
310
+ *
311
+ * @throws {@link ResourceNotFoundException} (client fault)
312
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
313
+ * specified correctly, or its status might not be ACTIVE.</p>
314
+ *
315
+ * @throws {@link ThrottlingException} (client fault)
316
+ * <p>The limit on the number of requests per second was exceeded. </p>
317
+ *
318
+ * @throws {@link ValidationException} (client fault)
319
+ * <p>An input validation error occurred. For example, invalid characters in a template name,
320
+ * or if a pagination token is invalid. </p>
321
+ *
322
+ * @throws {@link PcaConnectorAdServiceException}
323
+ * <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
324
+ *
325
+ */
326
+ export declare class GetTemplateCommand extends $Command<GetTemplateCommandInput, GetTemplateCommandOutput, PcaConnectorAdClientResolvedConfig> {
327
+ readonly input: GetTemplateCommandInput;
328
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
329
+ /**
330
+ * @public
331
+ */
332
+ constructor(input: GetTemplateCommandInput);
333
+ /**
334
+ * @internal
335
+ */
336
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTemplateCommandInput, GetTemplateCommandOutput>;
337
+ /**
338
+ * @internal
339
+ */
340
+ private serialize;
341
+ /**
342
+ * @internal
343
+ */
344
+ private deserialize;
345
+ }