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