@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,34 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
+ export const getRuntimeConfig = (config) => {
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ return {
17
+ ...clientSharedValues,
18
+ ...config,
19
+ runtime: "browser",
20
+ defaultsMode,
21
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
+ region: config?.region ?? invalidProvider("Region is missing"),
27
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
28
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
+ sha256: config?.sha256 ?? Sha256,
30
+ streamCollector: config?.streamCollector ?? streamCollector,
31
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
32
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
33
+ };
34
+ };
@@ -0,0 +1,43 @@
1
+ import packageInfo from "../package.json";
2
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
+ import { Hash } from "@smithy/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
11
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
+ export const getRuntimeConfig = (config) => {
17
+ emitWarningIfUnsupportedVersion(process.version);
18
+ const defaultsMode = resolveDefaultsModeConfig(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
+ const clientSharedValues = getSharedRuntimeConfig(config);
21
+ return {
22
+ ...clientSharedValues,
23
+ ...config,
24
+ runtime: "node",
25
+ defaultsMode,
26
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
27
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
28
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
29
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ retryMode: config?.retryMode ??
34
+ loadNodeConfig({
35
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
+ }),
38
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
+ streamCollector: config?.streamCollector ?? streamCollector,
40
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
41
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
42
+ };
43
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,18 @@
1
+ import { NoOpLogger } from "@smithy/smithy-client";
2
+ import { parseUrl } from "@smithy/url-parser";
3
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
4
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
+ export const getRuntimeConfig = (config) => ({
7
+ apiVersion: "2018-05-10",
8
+ base64Decoder: config?.base64Decoder ?? fromBase64,
9
+ base64Encoder: config?.base64Encoder ?? toBase64,
10
+ disableHostPrefix: config?.disableHostPrefix ?? false,
11
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
12
+ extensions: config?.extensions ?? [],
13
+ logger: config?.logger ?? new NoOpLogger(),
14
+ serviceId: config?.serviceId ?? "Pca Connector Ad",
15
+ urlParser: config?.urlParser ?? parseUrl,
16
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
17
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
18
+ });
@@ -0,0 +1,12 @@
1
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ const asPartial = (t) => t;
3
+ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4
+ const extensionConfiguration = {
5
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
6
+ };
7
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
8
+ return {
9
+ ...runtimeConfig,
10
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
11
+ };
12
+ };
@@ -0,0 +1,187 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
3
+ import { CreateDirectoryRegistrationCommandInput, CreateDirectoryRegistrationCommandOutput } from "./commands/CreateDirectoryRegistrationCommand";
4
+ import { CreateServicePrincipalNameCommandInput, CreateServicePrincipalNameCommandOutput } from "./commands/CreateServicePrincipalNameCommand";
5
+ import { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./commands/CreateTemplateCommand";
6
+ import { CreateTemplateGroupAccessControlEntryCommandInput, CreateTemplateGroupAccessControlEntryCommandOutput } from "./commands/CreateTemplateGroupAccessControlEntryCommand";
7
+ import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
8
+ import { DeleteDirectoryRegistrationCommandInput, DeleteDirectoryRegistrationCommandOutput } from "./commands/DeleteDirectoryRegistrationCommand";
9
+ import { DeleteServicePrincipalNameCommandInput, DeleteServicePrincipalNameCommandOutput } from "./commands/DeleteServicePrincipalNameCommand";
10
+ import { DeleteTemplateCommandInput, DeleteTemplateCommandOutput } from "./commands/DeleteTemplateCommand";
11
+ import { DeleteTemplateGroupAccessControlEntryCommandInput, DeleteTemplateGroupAccessControlEntryCommandOutput } from "./commands/DeleteTemplateGroupAccessControlEntryCommand";
12
+ import { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
13
+ import { GetDirectoryRegistrationCommandInput, GetDirectoryRegistrationCommandOutput } from "./commands/GetDirectoryRegistrationCommand";
14
+ import { GetServicePrincipalNameCommandInput, GetServicePrincipalNameCommandOutput } from "./commands/GetServicePrincipalNameCommand";
15
+ import { GetTemplateCommandInput, GetTemplateCommandOutput } from "./commands/GetTemplateCommand";
16
+ import { GetTemplateGroupAccessControlEntryCommandInput, GetTemplateGroupAccessControlEntryCommandOutput } from "./commands/GetTemplateGroupAccessControlEntryCommand";
17
+ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
18
+ import { ListDirectoryRegistrationsCommandInput, ListDirectoryRegistrationsCommandOutput } from "./commands/ListDirectoryRegistrationsCommand";
19
+ import { ListServicePrincipalNamesCommandInput, ListServicePrincipalNamesCommandOutput } from "./commands/ListServicePrincipalNamesCommand";
20
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
21
+ import { ListTemplateGroupAccessControlEntriesCommandInput, ListTemplateGroupAccessControlEntriesCommandOutput } from "./commands/ListTemplateGroupAccessControlEntriesCommand";
22
+ import { ListTemplatesCommandInput, ListTemplatesCommandOutput } from "./commands/ListTemplatesCommand";
23
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
+ import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
26
+ import { UpdateTemplateGroupAccessControlEntryCommandInput, UpdateTemplateGroupAccessControlEntryCommandOutput } from "./commands/UpdateTemplateGroupAccessControlEntryCommand";
27
+ import { PcaConnectorAdClient } from "./PcaConnectorAdClient";
28
+ export interface PcaConnectorAd {
29
+ /**
30
+ * @see {@link CreateConnectorCommand}
31
+ */
32
+ createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
33
+ createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
34
+ createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
35
+ /**
36
+ * @see {@link CreateDirectoryRegistrationCommand}
37
+ */
38
+ createDirectoryRegistration(args: CreateDirectoryRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<CreateDirectoryRegistrationCommandOutput>;
39
+ createDirectoryRegistration(args: CreateDirectoryRegistrationCommandInput, cb: (err: any, data?: CreateDirectoryRegistrationCommandOutput) => void): void;
40
+ createDirectoryRegistration(args: CreateDirectoryRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDirectoryRegistrationCommandOutput) => void): void;
41
+ /**
42
+ * @see {@link CreateServicePrincipalNameCommand}
43
+ */
44
+ createServicePrincipalName(args: CreateServicePrincipalNameCommandInput, options?: __HttpHandlerOptions): Promise<CreateServicePrincipalNameCommandOutput>;
45
+ createServicePrincipalName(args: CreateServicePrincipalNameCommandInput, cb: (err: any, data?: CreateServicePrincipalNameCommandOutput) => void): void;
46
+ createServicePrincipalName(args: CreateServicePrincipalNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServicePrincipalNameCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link CreateTemplateCommand}
49
+ */
50
+ createTemplate(args: CreateTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateTemplateCommandOutput>;
51
+ createTemplate(args: CreateTemplateCommandInput, cb: (err: any, data?: CreateTemplateCommandOutput) => void): void;
52
+ createTemplate(args: CreateTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTemplateCommandOutput) => void): void;
53
+ /**
54
+ * @see {@link CreateTemplateGroupAccessControlEntryCommand}
55
+ */
56
+ createTemplateGroupAccessControlEntry(args: CreateTemplateGroupAccessControlEntryCommandInput, options?: __HttpHandlerOptions): Promise<CreateTemplateGroupAccessControlEntryCommandOutput>;
57
+ createTemplateGroupAccessControlEntry(args: CreateTemplateGroupAccessControlEntryCommandInput, cb: (err: any, data?: CreateTemplateGroupAccessControlEntryCommandOutput) => void): void;
58
+ createTemplateGroupAccessControlEntry(args: CreateTemplateGroupAccessControlEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTemplateGroupAccessControlEntryCommandOutput) => void): void;
59
+ /**
60
+ * @see {@link DeleteConnectorCommand}
61
+ */
62
+ deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
63
+ deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
64
+ deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
65
+ /**
66
+ * @see {@link DeleteDirectoryRegistrationCommand}
67
+ */
68
+ deleteDirectoryRegistration(args: DeleteDirectoryRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDirectoryRegistrationCommandOutput>;
69
+ deleteDirectoryRegistration(args: DeleteDirectoryRegistrationCommandInput, cb: (err: any, data?: DeleteDirectoryRegistrationCommandOutput) => void): void;
70
+ deleteDirectoryRegistration(args: DeleteDirectoryRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDirectoryRegistrationCommandOutput) => void): void;
71
+ /**
72
+ * @see {@link DeleteServicePrincipalNameCommand}
73
+ */
74
+ deleteServicePrincipalName(args: DeleteServicePrincipalNameCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServicePrincipalNameCommandOutput>;
75
+ deleteServicePrincipalName(args: DeleteServicePrincipalNameCommandInput, cb: (err: any, data?: DeleteServicePrincipalNameCommandOutput) => void): void;
76
+ deleteServicePrincipalName(args: DeleteServicePrincipalNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServicePrincipalNameCommandOutput) => void): void;
77
+ /**
78
+ * @see {@link DeleteTemplateCommand}
79
+ */
80
+ deleteTemplate(args: DeleteTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTemplateCommandOutput>;
81
+ deleteTemplate(args: DeleteTemplateCommandInput, cb: (err: any, data?: DeleteTemplateCommandOutput) => void): void;
82
+ deleteTemplate(args: DeleteTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTemplateCommandOutput) => void): void;
83
+ /**
84
+ * @see {@link DeleteTemplateGroupAccessControlEntryCommand}
85
+ */
86
+ deleteTemplateGroupAccessControlEntry(args: DeleteTemplateGroupAccessControlEntryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTemplateGroupAccessControlEntryCommandOutput>;
87
+ deleteTemplateGroupAccessControlEntry(args: DeleteTemplateGroupAccessControlEntryCommandInput, cb: (err: any, data?: DeleteTemplateGroupAccessControlEntryCommandOutput) => void): void;
88
+ deleteTemplateGroupAccessControlEntry(args: DeleteTemplateGroupAccessControlEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTemplateGroupAccessControlEntryCommandOutput) => void): void;
89
+ /**
90
+ * @see {@link GetConnectorCommand}
91
+ */
92
+ getConnector(args: GetConnectorCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorCommandOutput>;
93
+ getConnector(args: GetConnectorCommandInput, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
94
+ getConnector(args: GetConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
95
+ /**
96
+ * @see {@link GetDirectoryRegistrationCommand}
97
+ */
98
+ getDirectoryRegistration(args: GetDirectoryRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<GetDirectoryRegistrationCommandOutput>;
99
+ getDirectoryRegistration(args: GetDirectoryRegistrationCommandInput, cb: (err: any, data?: GetDirectoryRegistrationCommandOutput) => void): void;
100
+ getDirectoryRegistration(args: GetDirectoryRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDirectoryRegistrationCommandOutput) => void): void;
101
+ /**
102
+ * @see {@link GetServicePrincipalNameCommand}
103
+ */
104
+ getServicePrincipalName(args: GetServicePrincipalNameCommandInput, options?: __HttpHandlerOptions): Promise<GetServicePrincipalNameCommandOutput>;
105
+ getServicePrincipalName(args: GetServicePrincipalNameCommandInput, cb: (err: any, data?: GetServicePrincipalNameCommandOutput) => void): void;
106
+ getServicePrincipalName(args: GetServicePrincipalNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServicePrincipalNameCommandOutput) => void): void;
107
+ /**
108
+ * @see {@link GetTemplateCommand}
109
+ */
110
+ getTemplate(args: GetTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateCommandOutput>;
111
+ getTemplate(args: GetTemplateCommandInput, cb: (err: any, data?: GetTemplateCommandOutput) => void): void;
112
+ getTemplate(args: GetTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateCommandOutput) => void): void;
113
+ /**
114
+ * @see {@link GetTemplateGroupAccessControlEntryCommand}
115
+ */
116
+ getTemplateGroupAccessControlEntry(args: GetTemplateGroupAccessControlEntryCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateGroupAccessControlEntryCommandOutput>;
117
+ getTemplateGroupAccessControlEntry(args: GetTemplateGroupAccessControlEntryCommandInput, cb: (err: any, data?: GetTemplateGroupAccessControlEntryCommandOutput) => void): void;
118
+ getTemplateGroupAccessControlEntry(args: GetTemplateGroupAccessControlEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateGroupAccessControlEntryCommandOutput) => void): void;
119
+ /**
120
+ * @see {@link ListConnectorsCommand}
121
+ */
122
+ listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
123
+ listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
124
+ listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
125
+ /**
126
+ * @see {@link ListDirectoryRegistrationsCommand}
127
+ */
128
+ listDirectoryRegistrations(args: ListDirectoryRegistrationsCommandInput, options?: __HttpHandlerOptions): Promise<ListDirectoryRegistrationsCommandOutput>;
129
+ listDirectoryRegistrations(args: ListDirectoryRegistrationsCommandInput, cb: (err: any, data?: ListDirectoryRegistrationsCommandOutput) => void): void;
130
+ listDirectoryRegistrations(args: ListDirectoryRegistrationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDirectoryRegistrationsCommandOutput) => void): void;
131
+ /**
132
+ * @see {@link ListServicePrincipalNamesCommand}
133
+ */
134
+ listServicePrincipalNames(args: ListServicePrincipalNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListServicePrincipalNamesCommandOutput>;
135
+ listServicePrincipalNames(args: ListServicePrincipalNamesCommandInput, cb: (err: any, data?: ListServicePrincipalNamesCommandOutput) => void): void;
136
+ listServicePrincipalNames(args: ListServicePrincipalNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServicePrincipalNamesCommandOutput) => void): void;
137
+ /**
138
+ * @see {@link ListTagsForResourceCommand}
139
+ */
140
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
141
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
142
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
143
+ /**
144
+ * @see {@link ListTemplateGroupAccessControlEntriesCommand}
145
+ */
146
+ listTemplateGroupAccessControlEntries(args: ListTemplateGroupAccessControlEntriesCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplateGroupAccessControlEntriesCommandOutput>;
147
+ listTemplateGroupAccessControlEntries(args: ListTemplateGroupAccessControlEntriesCommandInput, cb: (err: any, data?: ListTemplateGroupAccessControlEntriesCommandOutput) => void): void;
148
+ listTemplateGroupAccessControlEntries(args: ListTemplateGroupAccessControlEntriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplateGroupAccessControlEntriesCommandOutput) => void): void;
149
+ /**
150
+ * @see {@link ListTemplatesCommand}
151
+ */
152
+ listTemplates(args: ListTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplatesCommandOutput>;
153
+ listTemplates(args: ListTemplatesCommandInput, cb: (err: any, data?: ListTemplatesCommandOutput) => void): void;
154
+ listTemplates(args: ListTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplatesCommandOutput) => void): void;
155
+ /**
156
+ * @see {@link TagResourceCommand}
157
+ */
158
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
159
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
160
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
161
+ /**
162
+ * @see {@link UntagResourceCommand}
163
+ */
164
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
165
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
166
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
167
+ /**
168
+ * @see {@link UpdateTemplateCommand}
169
+ */
170
+ updateTemplate(args: UpdateTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTemplateCommandOutput>;
171
+ updateTemplate(args: UpdateTemplateCommandInput, cb: (err: any, data?: UpdateTemplateCommandOutput) => void): void;
172
+ updateTemplate(args: UpdateTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTemplateCommandOutput) => void): void;
173
+ /**
174
+ * @see {@link UpdateTemplateGroupAccessControlEntryCommand}
175
+ */
176
+ updateTemplateGroupAccessControlEntry(args: UpdateTemplateGroupAccessControlEntryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTemplateGroupAccessControlEntryCommandOutput>;
177
+ updateTemplateGroupAccessControlEntry(args: UpdateTemplateGroupAccessControlEntryCommandInput, cb: (err: any, data?: UpdateTemplateGroupAccessControlEntryCommandOutput) => void): void;
178
+ updateTemplateGroupAccessControlEntry(args: UpdateTemplateGroupAccessControlEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTemplateGroupAccessControlEntryCommandOutput) => void): void;
179
+ }
180
+ /**
181
+ * @public
182
+ * <p>Amazon Web Services Private CA Connector for Active Directory creates a connector between Amazon Web Services Private CA and Active Directory (AD) that enables you to
183
+ * provision security certificates for AD signed by a private CA that you own. For more
184
+ * information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/ad-connector.html">Amazon Web Services Private CA Connector for Active Directory</a>.</p>
185
+ */
186
+ export declare class PcaConnectorAd extends PcaConnectorAdClient implements PcaConnectorAd {
187
+ }
@@ -0,0 +1,194 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
3
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
+ import { Credentials as __Credentials } from "@aws-sdk/types";
5
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
8
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
+ import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
12
+ import { CreateDirectoryRegistrationCommandInput, CreateDirectoryRegistrationCommandOutput } from "./commands/CreateDirectoryRegistrationCommand";
13
+ import { CreateServicePrincipalNameCommandInput, CreateServicePrincipalNameCommandOutput } from "./commands/CreateServicePrincipalNameCommand";
14
+ import { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./commands/CreateTemplateCommand";
15
+ import { CreateTemplateGroupAccessControlEntryCommandInput, CreateTemplateGroupAccessControlEntryCommandOutput } from "./commands/CreateTemplateGroupAccessControlEntryCommand";
16
+ import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
17
+ import { DeleteDirectoryRegistrationCommandInput, DeleteDirectoryRegistrationCommandOutput } from "./commands/DeleteDirectoryRegistrationCommand";
18
+ import { DeleteServicePrincipalNameCommandInput, DeleteServicePrincipalNameCommandOutput } from "./commands/DeleteServicePrincipalNameCommand";
19
+ import { DeleteTemplateCommandInput, DeleteTemplateCommandOutput } from "./commands/DeleteTemplateCommand";
20
+ import { DeleteTemplateGroupAccessControlEntryCommandInput, DeleteTemplateGroupAccessControlEntryCommandOutput } from "./commands/DeleteTemplateGroupAccessControlEntryCommand";
21
+ import { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
22
+ import { GetDirectoryRegistrationCommandInput, GetDirectoryRegistrationCommandOutput } from "./commands/GetDirectoryRegistrationCommand";
23
+ import { GetServicePrincipalNameCommandInput, GetServicePrincipalNameCommandOutput } from "./commands/GetServicePrincipalNameCommand";
24
+ import { GetTemplateCommandInput, GetTemplateCommandOutput } from "./commands/GetTemplateCommand";
25
+ import { GetTemplateGroupAccessControlEntryCommandInput, GetTemplateGroupAccessControlEntryCommandOutput } from "./commands/GetTemplateGroupAccessControlEntryCommand";
26
+ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
27
+ import { ListDirectoryRegistrationsCommandInput, ListDirectoryRegistrationsCommandOutput } from "./commands/ListDirectoryRegistrationsCommand";
28
+ import { ListServicePrincipalNamesCommandInput, ListServicePrincipalNamesCommandOutput } from "./commands/ListServicePrincipalNamesCommand";
29
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
+ import { ListTemplateGroupAccessControlEntriesCommandInput, ListTemplateGroupAccessControlEntriesCommandOutput } from "./commands/ListTemplateGroupAccessControlEntriesCommand";
31
+ import { ListTemplatesCommandInput, ListTemplatesCommandOutput } from "./commands/ListTemplatesCommand";
32
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
33
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
34
+ import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
35
+ import { UpdateTemplateGroupAccessControlEntryCommandInput, UpdateTemplateGroupAccessControlEntryCommandOutput } from "./commands/UpdateTemplateGroupAccessControlEntryCommand";
36
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
37
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
38
+ export { __Client };
39
+ /**
40
+ * @public
41
+ */
42
+ export type ServiceInputTypes = CreateConnectorCommandInput | CreateDirectoryRegistrationCommandInput | CreateServicePrincipalNameCommandInput | CreateTemplateCommandInput | CreateTemplateGroupAccessControlEntryCommandInput | DeleteConnectorCommandInput | DeleteDirectoryRegistrationCommandInput | DeleteServicePrincipalNameCommandInput | DeleteTemplateCommandInput | DeleteTemplateGroupAccessControlEntryCommandInput | GetConnectorCommandInput | GetDirectoryRegistrationCommandInput | GetServicePrincipalNameCommandInput | GetTemplateCommandInput | GetTemplateGroupAccessControlEntryCommandInput | ListConnectorsCommandInput | ListDirectoryRegistrationsCommandInput | ListServicePrincipalNamesCommandInput | ListTagsForResourceCommandInput | ListTemplateGroupAccessControlEntriesCommandInput | ListTemplatesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTemplateCommandInput | UpdateTemplateGroupAccessControlEntryCommandInput;
43
+ /**
44
+ * @public
45
+ */
46
+ export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateDirectoryRegistrationCommandOutput | CreateServicePrincipalNameCommandOutput | CreateTemplateCommandOutput | CreateTemplateGroupAccessControlEntryCommandOutput | DeleteConnectorCommandOutput | DeleteDirectoryRegistrationCommandOutput | DeleteServicePrincipalNameCommandOutput | DeleteTemplateCommandOutput | DeleteTemplateGroupAccessControlEntryCommandOutput | GetConnectorCommandOutput | GetDirectoryRegistrationCommandOutput | GetServicePrincipalNameCommandOutput | GetTemplateCommandOutput | GetTemplateGroupAccessControlEntryCommandOutput | ListConnectorsCommandOutput | ListDirectoryRegistrationsCommandOutput | ListServicePrincipalNamesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateGroupAccessControlEntriesCommandOutput | ListTemplatesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTemplateCommandOutput | UpdateTemplateGroupAccessControlEntryCommandOutput;
47
+ /**
48
+ * @public
49
+ */
50
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
51
+ /**
52
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
53
+ */
54
+ requestHandler?: __HttpHandler;
55
+ /**
56
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
57
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
58
+ * @internal
59
+ */
60
+ sha256?: __ChecksumConstructor | __HashConstructor;
61
+ /**
62
+ * The function that will be used to convert strings into HTTP endpoints.
63
+ * @internal
64
+ */
65
+ urlParser?: __UrlParser;
66
+ /**
67
+ * A function that can calculate the length of a request body.
68
+ * @internal
69
+ */
70
+ bodyLengthChecker?: __BodyLengthCalculator;
71
+ /**
72
+ * A function that converts a stream into an array of bytes.
73
+ * @internal
74
+ */
75
+ streamCollector?: __StreamCollector;
76
+ /**
77
+ * The function that will be used to convert a base64-encoded string to a byte array.
78
+ * @internal
79
+ */
80
+ base64Decoder?: __Decoder;
81
+ /**
82
+ * The function that will be used to convert binary data to a base64-encoded string.
83
+ * @internal
84
+ */
85
+ base64Encoder?: __Encoder;
86
+ /**
87
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
88
+ * @internal
89
+ */
90
+ utf8Decoder?: __Decoder;
91
+ /**
92
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
93
+ * @internal
94
+ */
95
+ utf8Encoder?: __Encoder;
96
+ /**
97
+ * The runtime environment.
98
+ * @internal
99
+ */
100
+ runtime?: string;
101
+ /**
102
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
103
+ * trait of an operation.
104
+ */
105
+ disableHostPrefix?: boolean;
106
+ /**
107
+ * Unique service identifier.
108
+ * @internal
109
+ */
110
+ serviceId?: string;
111
+ /**
112
+ * Enables IPv6/IPv4 dualstack endpoint.
113
+ */
114
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
115
+ /**
116
+ * Enables FIPS compatible endpoints.
117
+ */
118
+ useFipsEndpoint?: boolean | __Provider<boolean>;
119
+ /**
120
+ * The AWS region to which this client will send requests
121
+ */
122
+ region?: string | __Provider<string>;
123
+ /**
124
+ * Default credentials provider; Not available in browser runtime.
125
+ * @internal
126
+ */
127
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
128
+ /**
129
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
130
+ * @internal
131
+ */
132
+ defaultUserAgentProvider?: Provider<__UserAgent>;
133
+ /**
134
+ * Value for how many times a request will be made at most in case of retry.
135
+ */
136
+ maxAttempts?: number | __Provider<number>;
137
+ /**
138
+ * Specifies which retry algorithm to use.
139
+ */
140
+ retryMode?: string | __Provider<string>;
141
+ /**
142
+ * Optional logger for logging debug/info/warn/error.
143
+ */
144
+ logger?: __Logger;
145
+ /**
146
+ * Optional extensions
147
+ */
148
+ extensions?: RuntimeExtension[];
149
+ /**
150
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
151
+ */
152
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
153
+ }
154
+ /**
155
+ * @public
156
+ */
157
+ export type PcaConnectorAdClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
158
+ /**
159
+ * @public
160
+ *
161
+ * The configuration interface of PcaConnectorAdClient class constructor that set the region, credentials and other options.
162
+ */
163
+ export interface PcaConnectorAdClientConfig extends PcaConnectorAdClientConfigType {
164
+ }
165
+ /**
166
+ * @public
167
+ */
168
+ export type PcaConnectorAdClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
169
+ /**
170
+ * @public
171
+ *
172
+ * The resolved configuration interface of PcaConnectorAdClient class. This is resolved and normalized from the {@link PcaConnectorAdClientConfig | constructor configuration interface}.
173
+ */
174
+ export interface PcaConnectorAdClientResolvedConfig extends PcaConnectorAdClientResolvedConfigType {
175
+ }
176
+ /**
177
+ * @public
178
+ * <p>Amazon Web Services Private CA Connector for Active Directory creates a connector between Amazon Web Services Private CA and Active Directory (AD) that enables you to
179
+ * provision security certificates for AD signed by a private CA that you own. For more
180
+ * information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/ad-connector.html">Amazon Web Services Private CA Connector for Active Directory</a>.</p>
181
+ */
182
+ export declare class PcaConnectorAdClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PcaConnectorAdClientResolvedConfig> {
183
+ /**
184
+ * The resolved configuration of PcaConnectorAdClient class. This is resolved and normalized from the {@link PcaConnectorAdClientConfig | constructor configuration interface}.
185
+ */
186
+ readonly config: PcaConnectorAdClientResolvedConfig;
187
+ constructor(...[configuration]: __CheckOptionalClientConfig<PcaConnectorAdClientConfig>);
188
+ /**
189
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
190
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
191
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
192
+ */
193
+ destroy(): void;
194
+ }
@@ -0,0 +1,113 @@
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 { CreateConnectorRequest, CreateConnectorResponse } 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 CreateConnectorCommand}.
14
+ */
15
+ export interface CreateConnectorCommandInput extends CreateConnectorRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateConnectorCommand}.
21
+ */
22
+ export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a connector between Amazon Web Services Private CA and an Active Directory. You must specify the private CA,
27
+ * directory ID, and security groups.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PcaConnectorAdClient, CreateConnectorCommand } from "@aws-sdk/client-pca-connector-ad"; // ES Modules import
32
+ * // const { PcaConnectorAdClient, CreateConnectorCommand } = require("@aws-sdk/client-pca-connector-ad"); // CommonJS import
33
+ * const client = new PcaConnectorAdClient(config);
34
+ * const input = { // CreateConnectorRequest
35
+ * DirectoryId: "STRING_VALUE", // required
36
+ * CertificateAuthorityArn: "STRING_VALUE", // required
37
+ * VpcInformation: { // VpcInformation
38
+ * SecurityGroupIds: [ // SecurityGroupIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * },
42
+ * ClientToken: "STRING_VALUE",
43
+ * Tags: { // Tags
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new CreateConnectorCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateConnectorResponse
50
+ * // ConnectorArn: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param CreateConnectorCommandInput - {@link CreateConnectorCommandInput}
56
+ * @returns {@link CreateConnectorCommandOutput}
57
+ * @see {@link CreateConnectorCommandInput} for command's `input` shape.
58
+ * @see {@link CreateConnectorCommandOutput} for command's `response` shape.
59
+ * @see {@link PcaConnectorAdClientResolvedConfig | config} for PcaConnectorAdClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You can receive this error if you attempt to create a resource share when you don't have
63
+ * the required permissions. This can be caused by insufficient permissions in policies
64
+ * attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
65
+ * because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
66
+ * that affects your Amazon Web Services account. </p>
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p>This request cannot be completed for one of the following reasons because the requested
70
+ * resource was being concurrently modified by another request.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>The request processing has failed because of an unknown error, exception or failure with
74
+ * an internal server. </p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The operation tried to access a nonexistent resource. The resource might not be
78
+ * specified correctly, or its status might not be ACTIVE.</p>
79
+ *
80
+ * @throws {@link ServiceQuotaExceededException} (client fault)
81
+ * <p>Request would cause a service quota to be exceeded.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The limit on the number of requests per second was exceeded. </p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>An input validation error occurred. For example, invalid characters in a template name,
88
+ * or if a pagination token is invalid. </p>
89
+ *
90
+ * @throws {@link PcaConnectorAdServiceException}
91
+ * <p>Base exception class for all service exceptions from PcaConnectorAd service.</p>
92
+ *
93
+ */
94
+ export declare class CreateConnectorCommand extends $Command<CreateConnectorCommandInput, CreateConnectorCommandOutput, PcaConnectorAdClientResolvedConfig> {
95
+ readonly input: CreateConnectorCommandInput;
96
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
+ /**
98
+ * @public
99
+ */
100
+ constructor(input: CreateConnectorCommandInput);
101
+ /**
102
+ * @internal
103
+ */
104
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PcaConnectorAdClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateConnectorCommandInput, CreateConnectorCommandOutput>;
105
+ /**
106
+ * @internal
107
+ */
108
+ private serialize;
109
+ /**
110
+ * @internal
111
+ */
112
+ private deserialize;
113
+ }