@aws-sdk/client-pca-connector-ad 3.403.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +407 -0
- package/dist-cjs/PcaConnectorAd.js +61 -0
- package/dist-cjs/PcaConnectorAdClient.js +43 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +46 -0
- package/dist-cjs/commands/CreateDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/CreateServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/CreateTemplateCommand.js +46 -0
- package/dist-cjs/commands/CreateTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +46 -0
- package/dist-cjs/commands/DeleteDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/DeleteServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/DeleteTemplateCommand.js +46 -0
- package/dist-cjs/commands/DeleteTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/GetConnectorCommand.js +46 -0
- package/dist-cjs/commands/GetDirectoryRegistrationCommand.js +46 -0
- package/dist-cjs/commands/GetServicePrincipalNameCommand.js +46 -0
- package/dist-cjs/commands/GetTemplateCommand.js +46 -0
- package/dist-cjs/commands/GetTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +46 -0
- package/dist-cjs/commands/ListDirectoryRegistrationsCommand.js +46 -0
- package/dist-cjs/commands/ListServicePrincipalNamesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/ListTemplateGroupAccessControlEntriesCommand.js +46 -0
- package/dist-cjs/commands/ListTemplatesCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateTemplateCommand.js +46 -0
- package/dist-cjs/commands/UpdateTemplateGroupAccessControlEntryCommand.js +46 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/PcaConnectorAdServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +324 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDirectoryRegistrationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListServicePrincipalNamesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1985 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +22 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/PcaConnectorAd.js +57 -0
- package/dist-es/PcaConnectorAdClient.js +39 -0
- package/dist-es/commands/CreateConnectorCommand.js +42 -0
- package/dist-es/commands/CreateDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/CreateServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/CreateTemplateCommand.js +42 -0
- package/dist-es/commands/CreateTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/DeleteConnectorCommand.js +42 -0
- package/dist-es/commands/DeleteDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/DeleteServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/DeleteTemplateCommand.js +42 -0
- package/dist-es/commands/DeleteTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/GetConnectorCommand.js +42 -0
- package/dist-es/commands/GetDirectoryRegistrationCommand.js +42 -0
- package/dist-es/commands/GetServicePrincipalNameCommand.js +42 -0
- package/dist-es/commands/GetTemplateCommand.js +42 -0
- package/dist-es/commands/GetTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/ListConnectorsCommand.js +42 -0
- package/dist-es/commands/ListDirectoryRegistrationsCommand.js +42 -0
- package/dist-es/commands/ListServicePrincipalNamesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/ListTemplateGroupAccessControlEntriesCommand.js +42 -0
- package/dist-es/commands/ListTemplatesCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateTemplateCommand.js +42 -0
- package/dist-es/commands/UpdateTemplateGroupAccessControlEntryCommand.js +42 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/PcaConnectorAdServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +314 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +25 -0
- package/dist-es/pagination/ListDirectoryRegistrationsPaginator.js +25 -0
- package/dist-es/pagination/ListServicePrincipalNamesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplateGroupAccessControlEntriesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplatesPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1932 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +18 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/PcaConnectorAd.d.ts +187 -0
- package/dist-types/PcaConnectorAdClient.d.ts +194 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +113 -0
- package/dist-types/commands/CreateDirectoryRegistrationCommand.d.ts +104 -0
- package/dist-types/commands/CreateServicePrincipalNameCommand.d.ts +101 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +344 -0
- package/dist-types/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +108 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +101 -0
- package/dist-types/commands/DeleteDirectoryRegistrationCommand.d.ts +94 -0
- package/dist-types/commands/DeleteServicePrincipalNameCommand.d.ts +95 -0
- package/dist-types/commands/DeleteTemplateCommand.d.ts +98 -0
- package/dist-types/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +98 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +110 -0
- package/dist-types/commands/GetDirectoryRegistrationCommand.d.ts +102 -0
- package/dist-types/commands/GetServicePrincipalNameCommand.d.ts +104 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +345 -0
- package/dist-types/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +106 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +109 -0
- package/dist-types/commands/ListDirectoryRegistrationsCommand.d.ts +103 -0
- package/dist-types/commands/ListServicePrincipalNamesCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
- package/dist-types/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +110 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +349 -0
- package/dist-types/commands/TagResourceCommand.d.ts +96 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +96 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +334 -0
- package/dist-types/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/PcaConnectorAdServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2690 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDirectoryRegistrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServicePrincipalNamesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
- package/dist-types/runtimeConfig.browser.d.ts +43 -0
- package/dist-types/runtimeConfig.d.ts +43 -0
- package/dist-types/runtimeConfig.native.d.ts +42 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/PcaConnectorAd.d.ts +462 -0
- package/dist-types/ts3.4/PcaConnectorAdClient.d.ts +269 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateDirectoryRegistrationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateServicePrincipalNameCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteDirectoryRegistrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteServicePrincipalNameCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetDirectoryRegistrationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetServicePrincipalNameCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTemplateGroupAccessControlEntryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDirectoryRegistrationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListServicePrincipalNamesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplateGroupAccessControlEntriesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateTemplateGroupAccessControlEntryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/PcaConnectorAdServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +812 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDirectoryRegistrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServicePrincipalNamesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplateGroupAccessControlEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,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
|
+
}
|