@aws-sdk/client-acm-pca 3.325.0 → 3.327.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist-types/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +7 -0
  2. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +6 -0
  3. package/dist-types/commands/CreatePermissionCommand.d.ts +4 -0
  4. package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +4 -0
  5. package/dist-types/commands/DeletePermissionCommand.d.ts +4 -0
  6. package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
  7. package/dist-types/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +9 -0
  8. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +117 -0
  9. package/dist-types/commands/GetCertificateAuthorityCertificateCommand.d.ts +7 -0
  10. package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +6 -0
  11. package/dist-types/commands/GetCertificateCommand.d.ts +7 -0
  12. package/dist-types/commands/GetPolicyCommand.d.ts +6 -0
  13. package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +4 -0
  14. package/dist-types/commands/IssueCertificateCommand.d.ts +6 -0
  15. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +120 -0
  16. package/dist-types/commands/ListPermissionsCommand.d.ts +18 -0
  17. package/dist-types/commands/ListTagsCommand.d.ts +12 -0
  18. package/dist-types/commands/PutPolicyCommand.d.ts +4 -0
  19. package/dist-types/commands/RestoreCertificateAuthorityCommand.d.ts +4 -0
  20. package/dist-types/commands/RevokeCertificateCommand.d.ts +4 -0
  21. package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +4 -0
  22. package/dist-types/commands/UntagCertificateAuthorityCommand.d.ts +4 -0
  23. package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +4 -0
  24. package/package.json +7 -7
@@ -48,6 +48,11 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput extends Crea
48
48
  * };
49
49
  * const command = new CreateCertificateAuthorityAuditReportCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // { // CreateCertificateAuthorityAuditReportResponse
52
+ * // AuditReportId: "STRING_VALUE",
53
+ * // S3Key: "STRING_VALUE",
54
+ * // };
55
+ *
51
56
  * ```
52
57
  *
53
58
  * @param CreateCertificateAuthorityAuditReportCommandInput - {@link CreateCertificateAuthorityAuditReportCommandInput}
@@ -76,6 +81,8 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput extends Crea
76
81
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
77
82
  * cannot be found.</p>
78
83
  *
84
+ * @throws {@link ACMPCAServiceException}
85
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
79
86
  *
80
87
  */
81
88
  export declare class CreateCertificateAuthorityAuditReportCommand extends $Command<CreateCertificateAuthorityAuditReportCommandInput, CreateCertificateAuthorityAuditReportCommandOutput, ACMPCAClientResolvedConfig> {
@@ -157,6 +157,10 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
157
157
  * };
158
158
  * const command = new CreateCertificateAuthorityCommand(input);
159
159
  * const response = await client.send(command);
160
+ * // { // CreateCertificateAuthorityResponse
161
+ * // CertificateAuthorityArn: "STRING_VALUE",
162
+ * // };
163
+ *
160
164
  * ```
161
165
  *
162
166
  * @param CreateCertificateAuthorityCommandInput - {@link CreateCertificateAuthorityCommandInput}
@@ -180,6 +184,8 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
180
184
  * <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine
181
185
  * the quota that was exceeded.</p>
182
186
  *
187
+ * @throws {@link ACMPCAServiceException}
188
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
183
189
  *
184
190
  */
185
191
  export declare class CreateCertificateAuthorityCommand extends $Command<CreateCertificateAuthorityCommandInput, CreateCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
@@ -62,6 +62,8 @@ export interface CreatePermissionCommandOutput extends __MetadataBearer {
62
62
  * };
63
63
  * const command = new CreatePermissionCommand(input);
64
64
  * const response = await client.send(command);
65
+ * // {};
66
+ *
65
67
  * ```
66
68
  *
67
69
  * @param CreatePermissionCommandInput - {@link CreatePermissionCommandInput}
@@ -91,6 +93,8 @@ export interface CreatePermissionCommandOutput extends __MetadataBearer {
91
93
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
92
94
  * cannot be found.</p>
93
95
  *
96
+ * @throws {@link ACMPCAServiceException}
97
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
94
98
  *
95
99
  */
96
100
  export declare class CreatePermissionCommand extends $Command<CreatePermissionCommandInput, CreatePermissionCommandOutput, ACMPCAClientResolvedConfig> {
@@ -51,6 +51,8 @@ export interface DeleteCertificateAuthorityCommandOutput extends __MetadataBeare
51
51
  * };
52
52
  * const command = new DeleteCertificateAuthorityCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // {};
55
+ *
54
56
  * ```
55
57
  *
56
58
  * @param DeleteCertificateAuthorityCommandInput - {@link DeleteCertificateAuthorityCommandInput}
@@ -73,6 +75,8 @@ export interface DeleteCertificateAuthorityCommandOutput extends __MetadataBeare
73
75
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
74
76
  * cannot be found.</p>
75
77
  *
78
+ * @throws {@link ACMPCAServiceException}
79
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
76
80
  *
77
81
  */
78
82
  export declare class DeleteCertificateAuthorityCommand extends $Command<DeleteCertificateAuthorityCommandInput, DeleteCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
@@ -61,6 +61,8 @@ export interface DeletePermissionCommandOutput extends __MetadataBearer {
61
61
  * };
62
62
  * const command = new DeletePermissionCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // {};
65
+ *
64
66
  * ```
65
67
  *
66
68
  * @param DeletePermissionCommandInput - {@link DeletePermissionCommandInput}
@@ -83,6 +85,8 @@ export interface DeletePermissionCommandOutput extends __MetadataBearer {
83
85
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
84
86
  * cannot be found.</p>
85
87
  *
88
+ * @throws {@link ACMPCAServiceException}
89
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
86
90
  *
87
91
  */
88
92
  export declare class DeletePermissionCommand extends $Command<DeletePermissionCommandInput, DeletePermissionCommandOutput, ACMPCAClientResolvedConfig> {
@@ -65,6 +65,8 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
65
65
  * };
66
66
  * const command = new DeletePolicyCommand(input);
67
67
  * const response = await client.send(command);
68
+ * // {};
69
+ *
68
70
  * ```
69
71
  *
70
72
  * @param DeletePolicyCommandInput - {@link DeletePolicyCommandInput}
@@ -95,6 +97,8 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
95
97
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
96
98
  * cannot be found.</p>
97
99
  *
100
+ * @throws {@link ACMPCAServiceException}
101
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
98
102
  *
99
103
  */
100
104
  export declare class DeletePolicyCommand extends $Command<DeletePolicyCommandInput, DeletePolicyCommandOutput, ACMPCAClientResolvedConfig> {
@@ -35,6 +35,13 @@ export interface DescribeCertificateAuthorityAuditReportCommandOutput extends De
35
35
  * };
36
36
  * const command = new DescribeCertificateAuthorityAuditReportCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // DescribeCertificateAuthorityAuditReportResponse
39
+ * // AuditReportStatus: "CREATING" || "SUCCESS" || "FAILED",
40
+ * // S3BucketName: "STRING_VALUE",
41
+ * // S3Key: "STRING_VALUE",
42
+ * // CreatedAt: new Date("TIMESTAMP"),
43
+ * // };
44
+ *
38
45
  * ```
39
46
  *
40
47
  * @param DescribeCertificateAuthorityAuditReportCommandInput - {@link DescribeCertificateAuthorityAuditReportCommandInput}
@@ -54,6 +61,8 @@ export interface DescribeCertificateAuthorityAuditReportCommandOutput extends De
54
61
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
55
62
  * cannot be found.</p>
56
63
  *
64
+ * @throws {@link ACMPCAServiceException}
65
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
57
66
  *
58
67
  */
59
68
  export declare class DescribeCertificateAuthorityAuditReportCommand extends $Command<DescribeCertificateAuthorityAuditReportCommandInput, DescribeCertificateAuthorityAuditReportCommandOutput, ACMPCAClientResolvedConfig> {
@@ -71,6 +71,121 @@ export interface DescribeCertificateAuthorityCommandOutput extends DescribeCerti
71
71
  * };
72
72
  * const command = new DescribeCertificateAuthorityCommand(input);
73
73
  * const response = await client.send(command);
74
+ * // { // DescribeCertificateAuthorityResponse
75
+ * // CertificateAuthority: { // CertificateAuthority
76
+ * // Arn: "STRING_VALUE",
77
+ * // OwnerAccount: "STRING_VALUE",
78
+ * // CreatedAt: new Date("TIMESTAMP"),
79
+ * // LastStateChangeAt: new Date("TIMESTAMP"),
80
+ * // Type: "ROOT" || "SUBORDINATE",
81
+ * // Serial: "STRING_VALUE",
82
+ * // Status: "CREATING" || "PENDING_CERTIFICATE" || "ACTIVE" || "DELETED" || "DISABLED" || "EXPIRED" || "FAILED",
83
+ * // NotBefore: new Date("TIMESTAMP"),
84
+ * // NotAfter: new Date("TIMESTAMP"),
85
+ * // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
86
+ * // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
87
+ * // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1", // required
88
+ * // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
89
+ * // Subject: { // ASN1Subject
90
+ * // Country: "STRING_VALUE",
91
+ * // Organization: "STRING_VALUE",
92
+ * // OrganizationalUnit: "STRING_VALUE",
93
+ * // DistinguishedNameQualifier: "STRING_VALUE",
94
+ * // State: "STRING_VALUE",
95
+ * // CommonName: "STRING_VALUE",
96
+ * // SerialNumber: "STRING_VALUE",
97
+ * // Locality: "STRING_VALUE",
98
+ * // Title: "STRING_VALUE",
99
+ * // Surname: "STRING_VALUE",
100
+ * // GivenName: "STRING_VALUE",
101
+ * // Initials: "STRING_VALUE",
102
+ * // Pseudonym: "STRING_VALUE",
103
+ * // GenerationQualifier: "STRING_VALUE",
104
+ * // CustomAttributes: [ // CustomAttributeList
105
+ * // { // CustomAttribute
106
+ * // ObjectIdentifier: "STRING_VALUE", // required
107
+ * // Value: "STRING_VALUE", // required
108
+ * // },
109
+ * // ],
110
+ * // },
111
+ * // CsrExtensions: { // CsrExtensions
112
+ * // KeyUsage: { // KeyUsage
113
+ * // DigitalSignature: true || false,
114
+ * // NonRepudiation: true || false,
115
+ * // KeyEncipherment: true || false,
116
+ * // DataEncipherment: true || false,
117
+ * // KeyAgreement: true || false,
118
+ * // KeyCertSign: true || false,
119
+ * // CRLSign: true || false,
120
+ * // EncipherOnly: true || false,
121
+ * // DecipherOnly: true || false,
122
+ * // },
123
+ * // SubjectInformationAccess: [ // AccessDescriptionList
124
+ * // { // AccessDescription
125
+ * // AccessMethod: { // AccessMethod
126
+ * // CustomObjectIdentifier: "STRING_VALUE",
127
+ * // AccessMethodType: "CA_REPOSITORY" || "RESOURCE_PKI_MANIFEST" || "RESOURCE_PKI_NOTIFY",
128
+ * // },
129
+ * // AccessLocation: { // GeneralName
130
+ * // OtherName: { // OtherName
131
+ * // TypeId: "STRING_VALUE", // required
132
+ * // Value: "STRING_VALUE", // required
133
+ * // },
134
+ * // Rfc822Name: "STRING_VALUE",
135
+ * // DnsName: "STRING_VALUE",
136
+ * // DirectoryName: {
137
+ * // Country: "STRING_VALUE",
138
+ * // Organization: "STRING_VALUE",
139
+ * // OrganizationalUnit: "STRING_VALUE",
140
+ * // DistinguishedNameQualifier: "STRING_VALUE",
141
+ * // State: "STRING_VALUE",
142
+ * // CommonName: "STRING_VALUE",
143
+ * // SerialNumber: "STRING_VALUE",
144
+ * // Locality: "STRING_VALUE",
145
+ * // Title: "STRING_VALUE",
146
+ * // Surname: "STRING_VALUE",
147
+ * // GivenName: "STRING_VALUE",
148
+ * // Initials: "STRING_VALUE",
149
+ * // Pseudonym: "STRING_VALUE",
150
+ * // GenerationQualifier: "STRING_VALUE",
151
+ * // CustomAttributes: [
152
+ * // {
153
+ * // ObjectIdentifier: "STRING_VALUE", // required
154
+ * // Value: "STRING_VALUE", // required
155
+ * // },
156
+ * // ],
157
+ * // },
158
+ * // EdiPartyName: { // EdiPartyName
159
+ * // PartyName: "STRING_VALUE", // required
160
+ * // NameAssigner: "STRING_VALUE",
161
+ * // },
162
+ * // UniformResourceIdentifier: "STRING_VALUE",
163
+ * // IpAddress: "STRING_VALUE",
164
+ * // RegisteredId: "STRING_VALUE",
165
+ * // },
166
+ * // },
167
+ * // ],
168
+ * // },
169
+ * // },
170
+ * // RevocationConfiguration: { // RevocationConfiguration
171
+ * // CrlConfiguration: { // CrlConfiguration
172
+ * // Enabled: true || false, // required
173
+ * // ExpirationInDays: Number("int"),
174
+ * // CustomCname: "STRING_VALUE",
175
+ * // S3BucketName: "STRING_VALUE",
176
+ * // S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
177
+ * // },
178
+ * // OcspConfiguration: { // OcspConfiguration
179
+ * // Enabled: true || false, // required
180
+ * // OcspCustomCname: "STRING_VALUE",
181
+ * // },
182
+ * // },
183
+ * // RestorableUntil: new Date("TIMESTAMP"),
184
+ * // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER",
185
+ * // UsageMode: "GENERAL_PURPOSE" || "SHORT_LIVED_CERTIFICATE",
186
+ * // },
187
+ * // };
188
+ *
74
189
  * ```
75
190
  *
76
191
  * @param DescribeCertificateAuthorityCommandInput - {@link DescribeCertificateAuthorityCommandInput}
@@ -87,6 +202,8 @@ export interface DescribeCertificateAuthorityCommandOutput extends DescribeCerti
87
202
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
88
203
  * cannot be found.</p>
89
204
  *
205
+ * @throws {@link ACMPCAServiceException}
206
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
90
207
  *
91
208
  */
92
209
  export declare class DescribeCertificateAuthorityCommand extends $Command<DescribeCertificateAuthorityCommandInput, DescribeCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
@@ -34,6 +34,11 @@ export interface GetCertificateAuthorityCertificateCommandOutput extends GetCert
34
34
  * };
35
35
  * const command = new GetCertificateAuthorityCertificateCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetCertificateAuthorityCertificateResponse
38
+ * // Certificate: "STRING_VALUE",
39
+ * // CertificateChain: "STRING_VALUE",
40
+ * // };
41
+ *
37
42
  * ```
38
43
  *
39
44
  * @param GetCertificateAuthorityCertificateCommandInput - {@link GetCertificateAuthorityCertificateCommandInput}
@@ -53,6 +58,8 @@ export interface GetCertificateAuthorityCertificateCommandOutput extends GetCert
53
58
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
54
59
  * cannot be found.</p>
55
60
  *
61
+ * @throws {@link ACMPCAServiceException}
62
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
56
63
  *
57
64
  */
58
65
  export declare class GetCertificateAuthorityCertificateCommand extends $Command<GetCertificateAuthorityCertificateCommandInput, GetCertificateAuthorityCertificateCommandOutput, ACMPCAClientResolvedConfig> {
@@ -35,6 +35,10 @@ export interface GetCertificateAuthorityCsrCommandOutput extends GetCertificateA
35
35
  * };
36
36
  * const command = new GetCertificateAuthorityCsrCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetCertificateAuthorityCsrResponse
39
+ * // Csr: "STRING_VALUE",
40
+ * // };
41
+ *
38
42
  * ```
39
43
  *
40
44
  * @param GetCertificateAuthorityCsrCommandInput - {@link GetCertificateAuthorityCsrCommandInput}
@@ -60,6 +64,8 @@ export interface GetCertificateAuthorityCsrCommandOutput extends GetCertificateA
60
64
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
61
65
  * cannot be found.</p>
62
66
  *
67
+ * @throws {@link ACMPCAServiceException}
68
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
63
69
  *
64
70
  */
65
71
  export declare class GetCertificateAuthorityCsrCommand extends $Command<GetCertificateAuthorityCsrCommandInput, GetCertificateAuthorityCsrCommandOutput, ACMPCAClientResolvedConfig> {
@@ -39,6 +39,11 @@ export interface GetCertificateCommandOutput extends GetCertificateResponse, __M
39
39
  * };
40
40
  * const command = new GetCertificateCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetCertificateResponse
43
+ * // Certificate: "STRING_VALUE",
44
+ * // CertificateChain: "STRING_VALUE",
45
+ * // };
46
+ *
42
47
  * ```
43
48
  *
44
49
  * @param GetCertificateCommandInput - {@link GetCertificateCommandInput}
@@ -64,6 +69,8 @@ export interface GetCertificateCommandOutput extends GetCertificateResponse, __M
64
69
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
65
70
  * cannot be found.</p>
66
71
  *
72
+ * @throws {@link ACMPCAServiceException}
73
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
67
74
  *
68
75
  */
69
76
  export declare class GetCertificateCommand extends $Command<GetCertificateCommandInput, GetCertificateCommandOutput, ACMPCAClientResolvedConfig> {
@@ -61,6 +61,10 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
61
61
  * };
62
62
  * const command = new GetPolicyCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // GetPolicyResponse
65
+ * // Policy: "STRING_VALUE",
66
+ * // };
67
+ *
64
68
  * ```
65
69
  *
66
70
  * @param GetPolicyCommandInput - {@link GetPolicyCommandInput}
@@ -83,6 +87,8 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
83
87
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
84
88
  * cannot be found.</p>
85
89
  *
90
+ * @throws {@link ACMPCAServiceException}
91
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
86
92
  *
87
93
  */
88
94
  export declare class GetPolicyCommand extends $Command<GetPolicyCommandInput, GetPolicyCommandOutput, ACMPCAClientResolvedConfig> {
@@ -160,6 +160,8 @@ export interface ImportCertificateAuthorityCertificateCommandOutput extends __Me
160
160
  * };
161
161
  * const command = new ImportCertificateAuthorityCertificateCommand(input);
162
162
  * const response = await client.send(command);
163
+ * // {};
164
+ *
163
165
  * ```
164
166
  *
165
167
  * @param ImportCertificateAuthorityCertificateCommandInput - {@link ImportCertificateAuthorityCertificateCommandInput}
@@ -198,6 +200,8 @@ export interface ImportCertificateAuthorityCertificateCommandOutput extends __Me
198
200
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
199
201
  * cannot be found.</p>
200
202
  *
203
+ * @throws {@link ACMPCAServiceException}
204
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
201
205
  *
202
206
  */
203
207
  export declare class ImportCertificateAuthorityCertificateCommand extends $Command<ImportCertificateAuthorityCertificateCommandInput, ImportCertificateAuthorityCertificateCommandOutput, ACMPCAClientResolvedConfig> {
@@ -152,6 +152,10 @@ export interface IssueCertificateCommandOutput extends IssueCertificateResponse,
152
152
  * };
153
153
  * const command = new IssueCertificateCommand(input);
154
154
  * const response = await client.send(command);
155
+ * // { // IssueCertificateResponse
156
+ * // CertificateArn: "STRING_VALUE",
157
+ * // };
158
+ *
155
159
  * ```
156
160
  *
157
161
  * @param IssueCertificateCommandInput - {@link IssueCertificateCommandInput}
@@ -181,6 +185,8 @@ export interface IssueCertificateCommandOutput extends IssueCertificateResponse,
181
185
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
182
186
  * cannot be found.</p>
183
187
  *
188
+ * @throws {@link ACMPCAServiceException}
189
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
184
190
  *
185
191
  */
186
192
  export declare class IssueCertificateCommand extends $Command<IssueCertificateCommandInput, IssueCertificateCommandOutput, ACMPCAClientResolvedConfig> {
@@ -33,6 +33,124 @@ export interface ListCertificateAuthoritiesCommandOutput extends ListCertificate
33
33
  * };
34
34
  * const command = new ListCertificateAuthoritiesCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListCertificateAuthoritiesResponse
37
+ * // CertificateAuthorities: [ // CertificateAuthorities
38
+ * // { // CertificateAuthority
39
+ * // Arn: "STRING_VALUE",
40
+ * // OwnerAccount: "STRING_VALUE",
41
+ * // CreatedAt: new Date("TIMESTAMP"),
42
+ * // LastStateChangeAt: new Date("TIMESTAMP"),
43
+ * // Type: "ROOT" || "SUBORDINATE",
44
+ * // Serial: "STRING_VALUE",
45
+ * // Status: "CREATING" || "PENDING_CERTIFICATE" || "ACTIVE" || "DELETED" || "DISABLED" || "EXPIRED" || "FAILED",
46
+ * // NotBefore: new Date("TIMESTAMP"),
47
+ * // NotAfter: new Date("TIMESTAMP"),
48
+ * // FailureReason: "REQUEST_TIMED_OUT" || "UNSUPPORTED_ALGORITHM" || "OTHER",
49
+ * // CertificateAuthorityConfiguration: { // CertificateAuthorityConfiguration
50
+ * // KeyAlgorithm: "RSA_2048" || "RSA_4096" || "EC_prime256v1" || "EC_secp384r1", // required
51
+ * // SigningAlgorithm: "SHA256WITHECDSA" || "SHA384WITHECDSA" || "SHA512WITHECDSA" || "SHA256WITHRSA" || "SHA384WITHRSA" || "SHA512WITHRSA", // required
52
+ * // Subject: { // ASN1Subject
53
+ * // Country: "STRING_VALUE",
54
+ * // Organization: "STRING_VALUE",
55
+ * // OrganizationalUnit: "STRING_VALUE",
56
+ * // DistinguishedNameQualifier: "STRING_VALUE",
57
+ * // State: "STRING_VALUE",
58
+ * // CommonName: "STRING_VALUE",
59
+ * // SerialNumber: "STRING_VALUE",
60
+ * // Locality: "STRING_VALUE",
61
+ * // Title: "STRING_VALUE",
62
+ * // Surname: "STRING_VALUE",
63
+ * // GivenName: "STRING_VALUE",
64
+ * // Initials: "STRING_VALUE",
65
+ * // Pseudonym: "STRING_VALUE",
66
+ * // GenerationQualifier: "STRING_VALUE",
67
+ * // CustomAttributes: [ // CustomAttributeList
68
+ * // { // CustomAttribute
69
+ * // ObjectIdentifier: "STRING_VALUE", // required
70
+ * // Value: "STRING_VALUE", // required
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // CsrExtensions: { // CsrExtensions
75
+ * // KeyUsage: { // KeyUsage
76
+ * // DigitalSignature: true || false,
77
+ * // NonRepudiation: true || false,
78
+ * // KeyEncipherment: true || false,
79
+ * // DataEncipherment: true || false,
80
+ * // KeyAgreement: true || false,
81
+ * // KeyCertSign: true || false,
82
+ * // CRLSign: true || false,
83
+ * // EncipherOnly: true || false,
84
+ * // DecipherOnly: true || false,
85
+ * // },
86
+ * // SubjectInformationAccess: [ // AccessDescriptionList
87
+ * // { // AccessDescription
88
+ * // AccessMethod: { // AccessMethod
89
+ * // CustomObjectIdentifier: "STRING_VALUE",
90
+ * // AccessMethodType: "CA_REPOSITORY" || "RESOURCE_PKI_MANIFEST" || "RESOURCE_PKI_NOTIFY",
91
+ * // },
92
+ * // AccessLocation: { // GeneralName
93
+ * // OtherName: { // OtherName
94
+ * // TypeId: "STRING_VALUE", // required
95
+ * // Value: "STRING_VALUE", // required
96
+ * // },
97
+ * // Rfc822Name: "STRING_VALUE",
98
+ * // DnsName: "STRING_VALUE",
99
+ * // DirectoryName: {
100
+ * // Country: "STRING_VALUE",
101
+ * // Organization: "STRING_VALUE",
102
+ * // OrganizationalUnit: "STRING_VALUE",
103
+ * // DistinguishedNameQualifier: "STRING_VALUE",
104
+ * // State: "STRING_VALUE",
105
+ * // CommonName: "STRING_VALUE",
106
+ * // SerialNumber: "STRING_VALUE",
107
+ * // Locality: "STRING_VALUE",
108
+ * // Title: "STRING_VALUE",
109
+ * // Surname: "STRING_VALUE",
110
+ * // GivenName: "STRING_VALUE",
111
+ * // Initials: "STRING_VALUE",
112
+ * // Pseudonym: "STRING_VALUE",
113
+ * // GenerationQualifier: "STRING_VALUE",
114
+ * // CustomAttributes: [
115
+ * // {
116
+ * // ObjectIdentifier: "STRING_VALUE", // required
117
+ * // Value: "STRING_VALUE", // required
118
+ * // },
119
+ * // ],
120
+ * // },
121
+ * // EdiPartyName: { // EdiPartyName
122
+ * // PartyName: "STRING_VALUE", // required
123
+ * // NameAssigner: "STRING_VALUE",
124
+ * // },
125
+ * // UniformResourceIdentifier: "STRING_VALUE",
126
+ * // IpAddress: "STRING_VALUE",
127
+ * // RegisteredId: "STRING_VALUE",
128
+ * // },
129
+ * // },
130
+ * // ],
131
+ * // },
132
+ * // },
133
+ * // RevocationConfiguration: { // RevocationConfiguration
134
+ * // CrlConfiguration: { // CrlConfiguration
135
+ * // Enabled: true || false, // required
136
+ * // ExpirationInDays: Number("int"),
137
+ * // CustomCname: "STRING_VALUE",
138
+ * // S3BucketName: "STRING_VALUE",
139
+ * // S3ObjectAcl: "PUBLIC_READ" || "BUCKET_OWNER_FULL_CONTROL",
140
+ * // },
141
+ * // OcspConfiguration: { // OcspConfiguration
142
+ * // Enabled: true || false, // required
143
+ * // OcspCustomCname: "STRING_VALUE",
144
+ * // },
145
+ * // },
146
+ * // RestorableUntil: new Date("TIMESTAMP"),
147
+ * // KeyStorageSecurityStandard: "FIPS_140_2_LEVEL_2_OR_HIGHER" || "FIPS_140_2_LEVEL_3_OR_HIGHER",
148
+ * // UsageMode: "GENERAL_PURPOSE" || "SHORT_LIVED_CERTIFICATE",
149
+ * // },
150
+ * // ],
151
+ * // NextToken: "STRING_VALUE",
152
+ * // };
153
+ *
36
154
  * ```
37
155
  *
38
156
  * @param ListCertificateAuthoritiesCommandInput - {@link ListCertificateAuthoritiesCommandInput}
@@ -45,6 +163,8 @@ export interface ListCertificateAuthoritiesCommandOutput extends ListCertificate
45
163
  * <p>The token specified in the <code>NextToken</code> argument is not valid. Use the token
46
164
  * returned from your previous call to <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>.</p>
47
165
  *
166
+ * @throws {@link ACMPCAServiceException}
167
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
48
168
  *
49
169
  */
50
170
  export declare class ListCertificateAuthoritiesCommand extends $Command<ListCertificateAuthoritiesCommandInput, ListCertificateAuthoritiesCommandOutput, ACMPCAClientResolvedConfig> {
@@ -60,6 +60,22 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
60
60
  * };
61
61
  * const command = new ListPermissionsCommand(input);
62
62
  * const response = await client.send(command);
63
+ * // { // ListPermissionsResponse
64
+ * // Permissions: [ // PermissionList
65
+ * // { // Permission
66
+ * // CertificateAuthorityArn: "STRING_VALUE",
67
+ * // CreatedAt: new Date("TIMESTAMP"),
68
+ * // Principal: "STRING_VALUE",
69
+ * // SourceAccount: "STRING_VALUE",
70
+ * // Actions: [ // ActionList
71
+ * // "IssueCertificate" || "GetCertificate" || "ListPermissions",
72
+ * // ],
73
+ * // Policy: "STRING_VALUE",
74
+ * // },
75
+ * // ],
76
+ * // NextToken: "STRING_VALUE",
77
+ * // };
78
+ *
63
79
  * ```
64
80
  *
65
81
  * @param ListPermissionsCommandInput - {@link ListPermissionsCommandInput}
@@ -86,6 +102,8 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
86
102
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
87
103
  * cannot be found.</p>
88
104
  *
105
+ * @throws {@link ACMPCAServiceException}
106
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
89
107
  *
90
108
  */
91
109
  export declare class ListPermissionsCommand extends $Command<ListPermissionsCommandInput, ListPermissionsCommandOutput, ACMPCAClientResolvedConfig> {
@@ -36,6 +36,16 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
36
36
  * };
37
37
  * const command = new ListTagsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListTagsResponse
40
+ * // Tags: [ // TagList
41
+ * // { // Tag
42
+ * // Key: "STRING_VALUE", // required
43
+ * // Value: "STRING_VALUE",
44
+ * // },
45
+ * // ],
46
+ * // NextToken: "STRING_VALUE",
47
+ * // };
48
+ *
39
49
  * ```
40
50
  *
41
51
  * @param ListTagsCommandInput - {@link ListTagsCommandInput}
@@ -55,6 +65,8 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
55
65
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
56
66
  * cannot be found.</p>
57
67
  *
68
+ * @throws {@link ACMPCAServiceException}
69
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
58
70
  *
59
71
  */
60
72
  export declare class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, ACMPCAClientResolvedConfig> {
@@ -63,6 +63,8 @@ export interface PutPolicyCommandOutput extends __MetadataBearer {
63
63
  * };
64
64
  * const command = new PutPolicyCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // {};
67
+ *
66
68
  * ```
67
69
  *
68
70
  * @param PutPolicyCommandInput - {@link PutPolicyCommandInput}
@@ -97,6 +99,8 @@ export interface PutPolicyCommandOutput extends __MetadataBearer {
97
99
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
98
100
  * cannot be found.</p>
99
101
  *
102
+ * @throws {@link ACMPCAServiceException}
103
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
100
104
  *
101
105
  */
102
106
  export declare class PutPolicyCommand extends $Command<PutPolicyCommandInput, PutPolicyCommandOutput, ACMPCAClientResolvedConfig> {
@@ -41,6 +41,8 @@ export interface RestoreCertificateAuthorityCommandOutput extends __MetadataBear
41
41
  * };
42
42
  * const command = new RestoreCertificateAuthorityCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // {};
45
+ *
44
46
  * ```
45
47
  *
46
48
  * @param RestoreCertificateAuthorityCommandInput - {@link RestoreCertificateAuthorityCommandInput}
@@ -60,6 +62,8 @@ export interface RestoreCertificateAuthorityCommandOutput extends __MetadataBear
60
62
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
61
63
  * cannot be found.</p>
62
64
  *
65
+ * @throws {@link ACMPCAServiceException}
66
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
63
67
  *
64
68
  */
65
69
  export declare class RestoreCertificateAuthorityCommand extends $Command<RestoreCertificateAuthorityCommandInput, RestoreCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
@@ -52,6 +52,8 @@ export interface RevokeCertificateCommandOutput extends __MetadataBearer {
52
52
  * };
53
53
  * const command = new RevokeCertificateCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // {};
56
+ *
55
57
  * ```
56
58
  *
57
59
  * @param RevokeCertificateCommandInput - {@link RevokeCertificateCommandInput}
@@ -90,6 +92,8 @@ export interface RevokeCertificateCommandOutput extends __MetadataBearer {
90
92
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
91
93
  * cannot be found.</p>
92
94
  *
95
+ * @throws {@link ACMPCAServiceException}
96
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
93
97
  *
94
98
  */
95
99
  export declare class RevokeCertificateCommand extends $Command<RevokeCertificateCommandInput, RevokeCertificateCommandOutput, ACMPCAClientResolvedConfig> {
@@ -51,6 +51,8 @@ export interface TagCertificateAuthorityCommandOutput extends __MetadataBearer {
51
51
  * };
52
52
  * const command = new TagCertificateAuthorityCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // {};
55
+ *
54
56
  * ```
55
57
  *
56
58
  * @param TagCertificateAuthorityCommandInput - {@link TagCertificateAuthorityCommandInput}
@@ -78,6 +80,8 @@ export interface TagCertificateAuthorityCommandOutput extends __MetadataBearer {
78
80
  * <p>You can associate up to 50 tags with a private CA. Exception information is contained
79
81
  * in the exception message field.</p>
80
82
  *
83
+ * @throws {@link ACMPCAServiceException}
84
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
81
85
  *
82
86
  */
83
87
  export declare class TagCertificateAuthorityCommand extends $Command<TagCertificateAuthorityCommandInput, TagCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
@@ -41,6 +41,8 @@ export interface UntagCertificateAuthorityCommandOutput extends __MetadataBearer
41
41
  * };
42
42
  * const command = new UntagCertificateAuthorityCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // {};
45
+ *
44
46
  * ```
45
47
  *
46
48
  * @param UntagCertificateAuthorityCommandInput - {@link UntagCertificateAuthorityCommandInput}
@@ -64,6 +66,8 @@ export interface UntagCertificateAuthorityCommandOutput extends __MetadataBearer
64
66
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
65
67
  * cannot be found.</p>
66
68
  *
69
+ * @throws {@link ACMPCAServiceException}
70
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
67
71
  *
68
72
  */
69
73
  export declare class UntagCertificateAuthorityCommand extends $Command<UntagCertificateAuthorityCommandInput, UntagCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
@@ -55,6 +55,8 @@ export interface UpdateCertificateAuthorityCommandOutput extends __MetadataBeare
55
55
  * };
56
56
  * const command = new UpdateCertificateAuthorityCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // {};
59
+ *
58
60
  * ```
59
61
  *
60
62
  * @param UpdateCertificateAuthorityCommandInput - {@link UpdateCertificateAuthorityCommandInput}
@@ -84,6 +86,8 @@ export interface UpdateCertificateAuthorityCommandOutput extends __MetadataBeare
84
86
  * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
85
87
  * cannot be found.</p>
86
88
  *
89
+ * @throws {@link ACMPCAServiceException}
90
+ * <p>Base exception class for all service exceptions from ACMPCA service.</p>
87
91
  *
88
92
  */
89
93
  export declare class UpdateCertificateAuthorityCommand extends $Command<UpdateCertificateAuthorityCommandInput, UpdateCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
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.325.0",
4
+ "version": "3.327.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.325.0",
24
+ "@aws-sdk/client-sts": "3.327.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.327.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -32,11 +32,11 @@
32
32
  "@aws-sdk/middleware-host-header": "3.325.0",
33
33
  "@aws-sdk/middleware-logger": "3.325.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.327.0",
36
36
  "@aws-sdk/middleware-serde": "3.325.0",
37
37
  "@aws-sdk/middleware-signing": "3.325.0",
38
38
  "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.327.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
@@ -48,8 +48,8 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.319.0",
52
- "@aws-sdk/util-retry": "3.310.0",
51
+ "@aws-sdk/util-endpoints": "3.327.0",
52
+ "@aws-sdk/util-retry": "3.327.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",