@aws-sdk/client-acm-pca 3.299.0 → 3.300.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/dist-types/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +5 -0
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +109 -0
- package/dist-types/commands/CreatePermissionCommand.d.ts +8 -0
- package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +4 -0
- package/dist-types/commands/DeletePermissionCommand.d.ts +5 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +4 -0
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +3 -0
- package/dist-types/commands/GetCertificateAuthorityCertificateCommand.d.ts +3 -0
- package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +3 -0
- package/dist-types/commands/GetCertificateCommand.d.ts +4 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -0
- package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +5 -0
- package/dist-types/commands/IssueCertificateCommand.d.ts +117 -0
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +5 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsCommand.d.ts +5 -0
- package/dist-types/commands/PutPolicyCommand.d.ts +4 -0
- package/dist-types/commands/RestoreCertificateAuthorityCommand.d.ts +3 -0
- package/dist-types/commands/RevokeCertificateCommand.d.ts +5 -0
- package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +9 -0
- package/dist-types/commands/UntagCertificateAuthorityCommand.d.ts +9 -0
- package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +17 -0
- package/package.json +8 -8
|
@@ -41,6 +41,11 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput extends Crea
|
|
|
41
41
|
* import { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
42
42
|
* // const { ACMPCAClient, CreateCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
43
43
|
* const client = new ACMPCAClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
46
|
+
* S3BucketName: "STRING_VALUE", // required
|
|
47
|
+
* AuditReportResponseFormat: "JSON" || "CSV", // required
|
|
48
|
+
* };
|
|
44
49
|
* const command = new CreateCertificateAuthorityAuditReportCommand(input);
|
|
45
50
|
* const response = await client.send(command);
|
|
46
51
|
* ```
|
|
@@ -46,6 +46,115 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
|
|
|
46
46
|
* import { ACMPCAClient, CreateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
47
47
|
* // const { ACMPCAClient, CreateCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
48
48
|
* const client = new ACMPCAClient(config);
|
|
49
|
+
* const input = {
|
|
50
|
+
* CertificateAuthorityConfiguration: {
|
|
51
|
+
* KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1", // required
|
|
52
|
+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
|
|
53
|
+
* Subject: {
|
|
54
|
+
* Country: "STRING_VALUE",
|
|
55
|
+
* Organization: "STRING_VALUE",
|
|
56
|
+
* OrganizationalUnit: "STRING_VALUE",
|
|
57
|
+
* DistinguishedNameQualifier: "STRING_VALUE",
|
|
58
|
+
* State: "STRING_VALUE",
|
|
59
|
+
* CommonName: "STRING_VALUE",
|
|
60
|
+
* SerialNumber: "STRING_VALUE",
|
|
61
|
+
* Locality: "STRING_VALUE",
|
|
62
|
+
* Title: "STRING_VALUE",
|
|
63
|
+
* Surname: "STRING_VALUE",
|
|
64
|
+
* GivenName: "STRING_VALUE",
|
|
65
|
+
* Initials: "STRING_VALUE",
|
|
66
|
+
* Pseudonym: "STRING_VALUE",
|
|
67
|
+
* GenerationQualifier: "STRING_VALUE",
|
|
68
|
+
* CustomAttributes: [
|
|
69
|
+
* {
|
|
70
|
+
* ObjectIdentifier: "STRING_VALUE", // required
|
|
71
|
+
* Value: "STRING_VALUE", // required
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* CsrExtensions: {
|
|
76
|
+
* KeyUsage: {
|
|
77
|
+
* DigitalSignature: true || false,
|
|
78
|
+
* NonRepudiation: true || false,
|
|
79
|
+
* KeyEncipherment: true || false,
|
|
80
|
+
* DataEncipherment: true || false,
|
|
81
|
+
* KeyAgreement: true || false,
|
|
82
|
+
* KeyCertSign: true || false,
|
|
83
|
+
* CRLSign: true || false,
|
|
84
|
+
* EncipherOnly: true || false,
|
|
85
|
+
* DecipherOnly: true || false,
|
|
86
|
+
* },
|
|
87
|
+
* SubjectInformationAccess: [
|
|
88
|
+
* {
|
|
89
|
+
* AccessMethod: {
|
|
90
|
+
* CustomObjectIdentifier: "STRING_VALUE",
|
|
91
|
+
* AccessMethodType: "CA_REPOSITORY" || "RESOURCE_PKI_MANIFEST" || "RESOURCE_PKI_NOTIFY",
|
|
92
|
+
* },
|
|
93
|
+
* AccessLocation: {
|
|
94
|
+
* OtherName: {
|
|
95
|
+
* TypeId: "STRING_VALUE", // required
|
|
96
|
+
* Value: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* Rfc822Name: "STRING_VALUE",
|
|
99
|
+
* DnsName: "STRING_VALUE",
|
|
100
|
+
* DirectoryName: {
|
|
101
|
+
* Country: "STRING_VALUE",
|
|
102
|
+
* Organization: "STRING_VALUE",
|
|
103
|
+
* OrganizationalUnit: "STRING_VALUE",
|
|
104
|
+
* DistinguishedNameQualifier: "STRING_VALUE",
|
|
105
|
+
* State: "STRING_VALUE",
|
|
106
|
+
* CommonName: "STRING_VALUE",
|
|
107
|
+
* SerialNumber: "STRING_VALUE",
|
|
108
|
+
* Locality: "STRING_VALUE",
|
|
109
|
+
* Title: "STRING_VALUE",
|
|
110
|
+
* Surname: "STRING_VALUE",
|
|
111
|
+
* GivenName: "STRING_VALUE",
|
|
112
|
+
* Initials: "STRING_VALUE",
|
|
113
|
+
* Pseudonym: "STRING_VALUE",
|
|
114
|
+
* GenerationQualifier: "STRING_VALUE",
|
|
115
|
+
* CustomAttributes: [
|
|
116
|
+
* {
|
|
117
|
+
* ObjectIdentifier: "STRING_VALUE", // required
|
|
118
|
+
* Value: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* },
|
|
122
|
+
* EdiPartyName: {
|
|
123
|
+
* PartyName: "STRING_VALUE", // required
|
|
124
|
+
* NameAssigner: "STRING_VALUE",
|
|
125
|
+
* },
|
|
126
|
+
* UniformResourceIdentifier: "STRING_VALUE",
|
|
127
|
+
* IpAddress: "STRING_VALUE",
|
|
128
|
+
* RegisteredId: "STRING_VALUE",
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* ],
|
|
132
|
+
* },
|
|
133
|
+
* },
|
|
134
|
+
* RevocationConfiguration: {
|
|
135
|
+
* CrlConfiguration: {
|
|
136
|
+
* Enabled: true || false, // required
|
|
137
|
+
* ExpirationInDays: Number("int"),
|
|
138
|
+
* CustomCname: "STRING_VALUE",
|
|
139
|
+
* S3BucketName: "STRING_VALUE",
|
|
140
|
+
* S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
|
|
141
|
+
* },
|
|
142
|
+
* OcspConfiguration: {
|
|
143
|
+
* Enabled: true || false, // required
|
|
144
|
+
* OcspCustomCname: "STRING_VALUE",
|
|
145
|
+
* },
|
|
146
|
+
* },
|
|
147
|
+
* CertificateAuthorityType: "ROOT" || "SUBORDINATE", // required
|
|
148
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
149
|
+
* KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER",
|
|
150
|
+
* Tags: [
|
|
151
|
+
* {
|
|
152
|
+
* Key: "STRING_VALUE", // required
|
|
153
|
+
* Value: "STRING_VALUE",
|
|
154
|
+
* },
|
|
155
|
+
* ],
|
|
156
|
+
* UsageMode: "GENERAL_PURPOSE" || "SHORT_LIVED_CERTIFICATE",
|
|
157
|
+
* };
|
|
49
158
|
* const command = new CreateCertificateAuthorityCommand(input);
|
|
50
159
|
* const response = await client.send(command);
|
|
51
160
|
* ```
|
|
@@ -52,6 +52,14 @@ export interface CreatePermissionCommandOutput extends __MetadataBearer {
|
|
|
52
52
|
* import { ACMPCAClient, CreatePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
53
53
|
* // const { ACMPCAClient, CreatePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
54
54
|
* const client = new ACMPCAClient(config);
|
|
55
|
+
* const input = {
|
|
56
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
57
|
+
* Principal: "STRING_VALUE", // required
|
|
58
|
+
* SourceAccount: "STRING_VALUE",
|
|
59
|
+
* Actions: [ // required
|
|
60
|
+
* "IssueCertificate" || "GetCertificate" || "ListPermissions",
|
|
61
|
+
* ],
|
|
62
|
+
* };
|
|
55
63
|
* const command = new CreatePermissionCommand(input);
|
|
56
64
|
* const response = await client.send(command);
|
|
57
65
|
* ```
|
|
@@ -45,6 +45,10 @@ export interface DeleteCertificateAuthorityCommandOutput extends __MetadataBeare
|
|
|
45
45
|
* import { ACMPCAClient, DeleteCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
46
46
|
* // const { ACMPCAClient, DeleteCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
47
47
|
* const client = new ACMPCAClient(config);
|
|
48
|
+
* const input = {
|
|
49
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
50
|
+
* PermanentDeletionTimeInDays: Number("int"),
|
|
51
|
+
* };
|
|
48
52
|
* const command = new DeleteCertificateAuthorityCommand(input);
|
|
49
53
|
* const response = await client.send(command);
|
|
50
54
|
* ```
|
|
@@ -54,6 +54,11 @@ export interface DeletePermissionCommandOutput extends __MetadataBearer {
|
|
|
54
54
|
* import { ACMPCAClient, DeletePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
55
55
|
* // const { ACMPCAClient, DeletePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
56
56
|
* const client = new ACMPCAClient(config);
|
|
57
|
+
* const input = {
|
|
58
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
59
|
+
* Principal: "STRING_VALUE", // required
|
|
60
|
+
* SourceAccount: "STRING_VALUE",
|
|
61
|
+
* };
|
|
57
62
|
* const command = new DeletePermissionCommand(input);
|
|
58
63
|
* const response = await client.send(command);
|
|
59
64
|
* ```
|
|
@@ -60,6 +60,9 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
|
|
|
60
60
|
* import { ACMPCAClient, DeletePolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
61
61
|
* // const { ACMPCAClient, DeletePolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
62
62
|
* const client = new ACMPCAClient(config);
|
|
63
|
+
* const input = {
|
|
64
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
65
|
+
* };
|
|
63
66
|
* const command = new DeletePolicyCommand(input);
|
|
64
67
|
* const response = await client.send(command);
|
|
65
68
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DescribeCertificateAuthorityAuditReportCommandOutput extends De
|
|
|
29
29
|
* import { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
30
30
|
* // const { ACMPCAClient, DescribeCertificateAuthorityAuditReportCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
31
31
|
* const client = new ACMPCAClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
34
|
+
* AuditReportId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DescribeCertificateAuthorityAuditReportCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -66,6 +66,9 @@ export interface DescribeCertificateAuthorityCommandOutput extends DescribeCerti
|
|
|
66
66
|
* import { ACMPCAClient, DescribeCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
67
67
|
* // const { ACMPCAClient, DescribeCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
68
68
|
* const client = new ACMPCAClient(config);
|
|
69
|
+
* const input = {
|
|
70
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
71
|
+
* };
|
|
69
72
|
* const command = new DescribeCertificateAuthorityCommand(input);
|
|
70
73
|
* const response = await client.send(command);
|
|
71
74
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetCertificateAuthorityCertificateCommandOutput extends GetCert
|
|
|
29
29
|
* import { ACMPCAClient, GetCertificateAuthorityCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
30
30
|
* // const { ACMPCAClient, GetCertificateAuthorityCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
31
31
|
* const client = new ACMPCAClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetCertificateAuthorityCertificateCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetCertificateAuthorityCsrCommandOutput extends GetCertificateA
|
|
|
30
30
|
* import { ACMPCAClient, GetCertificateAuthorityCsrCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
31
31
|
* // const { ACMPCAClient, GetCertificateAuthorityCsrCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
32
32
|
* const client = new ACMPCAClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetCertificateAuthorityCsrCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface GetCertificateCommandOutput extends GetCertificateResponse, __M
|
|
|
33
33
|
* import { ACMPCAClient, GetCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
34
34
|
* // const { ACMPCAClient, GetCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
35
35
|
* const client = new ACMPCAClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
38
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
36
40
|
* const command = new GetCertificateCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -56,6 +56,9 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
|
|
|
56
56
|
* import { ACMPCAClient, GetPolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
57
57
|
* // const { ACMPCAClient, GetPolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
58
58
|
* const client = new ACMPCAClient(config);
|
|
59
|
+
* const input = {
|
|
60
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
61
|
+
* };
|
|
59
62
|
* const command = new GetPolicyCommand(input);
|
|
60
63
|
* const response = await client.send(command);
|
|
61
64
|
* ```
|
|
@@ -153,6 +153,11 @@ export interface ImportCertificateAuthorityCertificateCommandOutput extends __Me
|
|
|
153
153
|
* import { ACMPCAClient, ImportCertificateAuthorityCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
154
154
|
* // const { ACMPCAClient, ImportCertificateAuthorityCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
155
155
|
* const client = new ACMPCAClient(config);
|
|
156
|
+
* const input = {
|
|
157
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
158
|
+
* Certificate: "BLOB_VALUE", // required
|
|
159
|
+
* CertificateChain: "BLOB_VALUE",
|
|
160
|
+
* };
|
|
156
161
|
* const command = new ImportCertificateAuthorityCertificateCommand(input);
|
|
157
162
|
* const response = await client.send(command);
|
|
158
163
|
* ```
|
|
@@ -33,6 +33,123 @@ export interface IssueCertificateCommandOutput extends IssueCertificateResponse,
|
|
|
33
33
|
* import { ACMPCAClient, IssueCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
34
34
|
* // const { ACMPCAClient, IssueCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
35
35
|
* const client = new ACMPCAClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* ApiPassthrough: {
|
|
38
|
+
* Extensions: {
|
|
39
|
+
* CertificatePolicies: [
|
|
40
|
+
* {
|
|
41
|
+
* CertPolicyId: "STRING_VALUE", // required
|
|
42
|
+
* PolicyQualifiers: [
|
|
43
|
+
* {
|
|
44
|
+
* PolicyQualifierId: "CPS", // required
|
|
45
|
+
* Qualifier: {
|
|
46
|
+
* CpsUri: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* ExtendedKeyUsage: [
|
|
53
|
+
* {
|
|
54
|
+
* ExtendedKeyUsageType: "SERVER_AUTH" || "CLIENT_AUTH" || "CODE_SIGNING" || "EMAIL_PROTECTION" || "TIME_STAMPING" || "OCSP_SIGNING" || "SMART_CARD_LOGIN" || "DOCUMENT_SIGNING" || "CERTIFICATE_TRANSPARENCY",
|
|
55
|
+
* ExtendedKeyUsageObjectIdentifier: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* KeyUsage: {
|
|
59
|
+
* DigitalSignature: true || false,
|
|
60
|
+
* NonRepudiation: true || false,
|
|
61
|
+
* KeyEncipherment: true || false,
|
|
62
|
+
* DataEncipherment: true || false,
|
|
63
|
+
* KeyAgreement: true || false,
|
|
64
|
+
* KeyCertSign: true || false,
|
|
65
|
+
* CRLSign: true || false,
|
|
66
|
+
* EncipherOnly: true || false,
|
|
67
|
+
* DecipherOnly: true || false,
|
|
68
|
+
* },
|
|
69
|
+
* SubjectAlternativeNames: [
|
|
70
|
+
* {
|
|
71
|
+
* OtherName: {
|
|
72
|
+
* TypeId: "STRING_VALUE", // required
|
|
73
|
+
* Value: "STRING_VALUE", // required
|
|
74
|
+
* },
|
|
75
|
+
* Rfc822Name: "STRING_VALUE",
|
|
76
|
+
* DnsName: "STRING_VALUE",
|
|
77
|
+
* DirectoryName: {
|
|
78
|
+
* Country: "STRING_VALUE",
|
|
79
|
+
* Organization: "STRING_VALUE",
|
|
80
|
+
* OrganizationalUnit: "STRING_VALUE",
|
|
81
|
+
* DistinguishedNameQualifier: "STRING_VALUE",
|
|
82
|
+
* State: "STRING_VALUE",
|
|
83
|
+
* CommonName: "STRING_VALUE",
|
|
84
|
+
* SerialNumber: "STRING_VALUE",
|
|
85
|
+
* Locality: "STRING_VALUE",
|
|
86
|
+
* Title: "STRING_VALUE",
|
|
87
|
+
* Surname: "STRING_VALUE",
|
|
88
|
+
* GivenName: "STRING_VALUE",
|
|
89
|
+
* Initials: "STRING_VALUE",
|
|
90
|
+
* Pseudonym: "STRING_VALUE",
|
|
91
|
+
* GenerationQualifier: "STRING_VALUE",
|
|
92
|
+
* CustomAttributes: [
|
|
93
|
+
* {
|
|
94
|
+
* ObjectIdentifier: "STRING_VALUE", // required
|
|
95
|
+
* Value: "STRING_VALUE", // required
|
|
96
|
+
* },
|
|
97
|
+
* ],
|
|
98
|
+
* },
|
|
99
|
+
* EdiPartyName: {
|
|
100
|
+
* PartyName: "STRING_VALUE", // required
|
|
101
|
+
* NameAssigner: "STRING_VALUE",
|
|
102
|
+
* },
|
|
103
|
+
* UniformResourceIdentifier: "STRING_VALUE",
|
|
104
|
+
* IpAddress: "STRING_VALUE",
|
|
105
|
+
* RegisteredId: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* CustomExtensions: [
|
|
109
|
+
* {
|
|
110
|
+
* ObjectIdentifier: "STRING_VALUE", // required
|
|
111
|
+
* Value: "STRING_VALUE", // required
|
|
112
|
+
* Critical: true || false,
|
|
113
|
+
* },
|
|
114
|
+
* ],
|
|
115
|
+
* },
|
|
116
|
+
* Subject: {
|
|
117
|
+
* Country: "STRING_VALUE",
|
|
118
|
+
* Organization: "STRING_VALUE",
|
|
119
|
+
* OrganizationalUnit: "STRING_VALUE",
|
|
120
|
+
* DistinguishedNameQualifier: "STRING_VALUE",
|
|
121
|
+
* State: "STRING_VALUE",
|
|
122
|
+
* CommonName: "STRING_VALUE",
|
|
123
|
+
* SerialNumber: "STRING_VALUE",
|
|
124
|
+
* Locality: "STRING_VALUE",
|
|
125
|
+
* Title: "STRING_VALUE",
|
|
126
|
+
* Surname: "STRING_VALUE",
|
|
127
|
+
* GivenName: "STRING_VALUE",
|
|
128
|
+
* Initials: "STRING_VALUE",
|
|
129
|
+
* Pseudonym: "STRING_VALUE",
|
|
130
|
+
* GenerationQualifier: "STRING_VALUE",
|
|
131
|
+
* CustomAttributes: [
|
|
132
|
+
* {
|
|
133
|
+
* ObjectIdentifier: "STRING_VALUE", // required
|
|
134
|
+
* Value: "STRING_VALUE", // required
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* },
|
|
138
|
+
* },
|
|
139
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
140
|
+
* Csr: "BLOB_VALUE", // required
|
|
141
|
+
* SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
|
|
142
|
+
* TemplateArn: "STRING_VALUE",
|
|
143
|
+
* Validity: {
|
|
144
|
+
* Value: Number("long"), // required
|
|
145
|
+
* Type: "END_DATE" || "ABSOLUTE" || "DAYS" || "MONTHS" || "YEARS", // required
|
|
146
|
+
* },
|
|
147
|
+
* ValidityNotBefore: {
|
|
148
|
+
* Value: Number("long"), // required
|
|
149
|
+
* Type: "END_DATE" || "ABSOLUTE" || "DAYS" || "MONTHS" || "YEARS", // required
|
|
150
|
+
* },
|
|
151
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
152
|
+
* };
|
|
36
153
|
* const command = new IssueCertificateCommand(input);
|
|
37
154
|
* const response = await client.send(command);
|
|
38
155
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListCertificateAuthoritiesCommandOutput extends ListCertificate
|
|
|
26
26
|
* import { ACMPCAClient, ListCertificateAuthoritiesCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
27
27
|
* // const { ACMPCAClient, ListCertificateAuthoritiesCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
28
28
|
* const client = new ACMPCAClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* ResourceOwner: "SELF" || "OTHER_ACCOUNTS",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListCertificateAuthoritiesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -53,6 +53,11 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
|
|
|
53
53
|
* import { ACMPCAClient, ListPermissionsCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
54
54
|
* // const { ACMPCAClient, ListPermissionsCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
55
55
|
* const client = new ACMPCAClient(config);
|
|
56
|
+
* const input = {
|
|
57
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
58
|
+
* NextToken: "STRING_VALUE",
|
|
59
|
+
* MaxResults: Number("int"),
|
|
60
|
+
* };
|
|
56
61
|
* const command = new ListPermissionsCommand(input);
|
|
57
62
|
* const response = await client.send(command);
|
|
58
63
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
|
|
|
29
29
|
* import { ACMPCAClient, ListTagsCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
30
30
|
* // const { ACMPCAClient, ListTagsCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
31
31
|
* const client = new ACMPCAClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListTagsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -57,6 +57,10 @@ export interface PutPolicyCommandOutput extends __MetadataBearer {
|
|
|
57
57
|
* import { ACMPCAClient, PutPolicyCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
58
58
|
* // const { ACMPCAClient, PutPolicyCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
59
59
|
* const client = new ACMPCAClient(config);
|
|
60
|
+
* const input = {
|
|
61
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
62
|
+
* Policy: "STRING_VALUE", // required
|
|
63
|
+
* };
|
|
60
64
|
* const command = new PutPolicyCommand(input);
|
|
61
65
|
* const response = await client.send(command);
|
|
62
66
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface RestoreCertificateAuthorityCommandOutput extends __MetadataBear
|
|
|
36
36
|
* import { ACMPCAClient, RestoreCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
37
37
|
* // const { ACMPCAClient, RestoreCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
38
38
|
* const client = new ACMPCAClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new RestoreCertificateAuthorityCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -45,6 +45,11 @@ export interface RevokeCertificateCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* import { ACMPCAClient, RevokeCertificateCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
46
46
|
* // const { ACMPCAClient, RevokeCertificateCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
47
47
|
* const client = new ACMPCAClient(config);
|
|
48
|
+
* const input = {
|
|
49
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
50
|
+
* CertificateSerial: "STRING_VALUE", // required
|
|
51
|
+
* RevocationReason: "UNSPECIFIED" || "KEY_COMPROMISE" || "CERTIFICATE_AUTHORITY_COMPROMISE" || "AFFILIATION_CHANGED" || "SUPERSEDED" || "CESSATION_OF_OPERATION" || "PRIVILEGE_WITHDRAWN" || "A_A_COMPROMISE", // required
|
|
52
|
+
* };
|
|
48
53
|
* const command = new RevokeCertificateCommand(input);
|
|
49
54
|
* const response = await client.send(command);
|
|
50
55
|
* ```
|
|
@@ -40,6 +40,15 @@ export interface TagCertificateAuthorityCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* import { ACMPCAClient, TagCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
41
41
|
* // const { ACMPCAClient, TagCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
42
42
|
* const client = new ACMPCAClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
45
|
+
* Tags: [ // required
|
|
46
|
+
* {
|
|
47
|
+
* Key: "STRING_VALUE", // required
|
|
48
|
+
* Value: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
43
52
|
* const command = new TagCertificateAuthorityCommand(input);
|
|
44
53
|
* const response = await client.send(command);
|
|
45
54
|
* ```
|
|
@@ -30,6 +30,15 @@ export interface UntagCertificateAuthorityCommandOutput extends __MetadataBearer
|
|
|
30
30
|
* import { ACMPCAClient, UntagCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
31
31
|
* // const { ACMPCAClient, UntagCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
32
32
|
* const client = new ACMPCAClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
35
|
+
* Tags: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE", // required
|
|
38
|
+
* Value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
33
42
|
* const command = new UntagCertificateAuthorityCommand(input);
|
|
34
43
|
* const response = await client.send(command);
|
|
35
44
|
* ```
|
|
@@ -36,6 +36,23 @@ export interface UpdateCertificateAuthorityCommandOutput extends __MetadataBeare
|
|
|
36
36
|
* import { ACMPCAClient, UpdateCertificateAuthorityCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import
|
|
37
37
|
* // const { ACMPCAClient, UpdateCertificateAuthorityCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import
|
|
38
38
|
* const client = new ACMPCAClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
41
|
+
* RevocationConfiguration: {
|
|
42
|
+
* CrlConfiguration: {
|
|
43
|
+
* Enabled: true || false, // required
|
|
44
|
+
* ExpirationInDays: Number("int"),
|
|
45
|
+
* CustomCname: "STRING_VALUE",
|
|
46
|
+
* S3BucketName: "STRING_VALUE",
|
|
47
|
+
* S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
|
|
48
|
+
* },
|
|
49
|
+
* OcspConfiguration: {
|
|
50
|
+
* Enabled: true || false, // required
|
|
51
|
+
* OcspCustomCname: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* Status: "CREATING" || "PENDING_CERTIFICATE" || "ACTIVE" || "DELETED" || "DISABLED" || "EXPIRED" || "FAILED",
|
|
55
|
+
* };
|
|
39
56
|
* const command = new UpdateCertificateAuthorityCommand(input);
|
|
40
57
|
* const response = await client.send(command);
|
|
41
58
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm-pca",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.296.0",
|
|
57
57
|
"tslib": "^2.5.0"
|