@aws-sdk/client-acm-pca 3.288.0 → 3.290.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 +21 -0
  2. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +16 -0
  3. package/dist-types/commands/CreatePermissionCommand.d.ts +22 -0
  4. package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +15 -0
  5. package/dist-types/commands/DeletePermissionCommand.d.ts +15 -0
  6. package/dist-types/commands/DeletePolicyCommand.d.ts +23 -0
  7. package/dist-types/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +12 -0
  8. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +9 -0
  9. package/dist-types/commands/GetCertificateAuthorityCertificateCommand.d.ts +12 -0
  10. package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +18 -0
  11. package/dist-types/commands/GetCertificateCommand.d.ts +18 -0
  12. package/dist-types/commands/GetPolicyCommand.d.ts +15 -0
  13. package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +31 -0
  14. package/dist-types/commands/IssueCertificateCommand.d.ts +22 -0
  15. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +5 -0
  16. package/dist-types/commands/ListPermissionsCommand.d.ts +19 -0
  17. package/dist-types/commands/ListTagsCommand.d.ts +12 -0
  18. package/dist-types/commands/PutPolicyCommand.d.ts +27 -0
  19. package/dist-types/commands/RestoreCertificateAuthorityCommand.d.ts +12 -0
  20. package/dist-types/commands/RevokeCertificateCommand.d.ts +31 -0
  21. package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +20 -0
  22. package/dist-types/commands/UntagCertificateAuthorityCommand.d.ts +16 -0
  23. package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +22 -0
  24. package/package.json +30 -30
@@ -44,6 +44,27 @@ export interface CreateCertificateAuthorityAuditReportCommandOutput extends Crea
44
44
  * @see {@link CreateCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
45
45
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
46
46
  *
47
+ * @throws {@link InvalidArgsException} (client fault)
48
+ * <p>One or more of the specified arguments was not valid.</p>
49
+ *
50
+ * @throws {@link InvalidArnException} (client fault)
51
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
52
+ * resource.</p>
53
+ *
54
+ * @throws {@link InvalidStateException} (client fault)
55
+ * <p>The state of the private CA does not allow this action to occur.</p>
56
+ *
57
+ * @throws {@link RequestFailedException} (client fault)
58
+ * <p>The request has failed for an unspecified reason.</p>
59
+ *
60
+ * @throws {@link RequestInProgressException} (client fault)
61
+ * <p>Your request is already in progress.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
65
+ * cannot be found.</p>
66
+ *
67
+ *
47
68
  */
48
69
  export declare class CreateCertificateAuthorityAuditReportCommand extends $Command<CreateCertificateAuthorityAuditReportCommandInput, CreateCertificateAuthorityAuditReportCommandOutput, ACMPCAClientResolvedConfig> {
49
70
  readonly input: CreateCertificateAuthorityAuditReportCommandInput;
@@ -49,6 +49,22 @@ export interface CreateCertificateAuthorityCommandOutput extends CreateCertifica
49
49
  * @see {@link CreateCertificateAuthorityCommandOutput} for command's `response` shape.
50
50
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
51
51
  *
52
+ * @throws {@link InvalidArgsException} (client fault)
53
+ * <p>One or more of the specified arguments was not valid.</p>
54
+ *
55
+ * @throws {@link InvalidPolicyException} (client fault)
56
+ * <p>The resource policy is invalid or is missing a required statement. For general
57
+ * information about IAM policy and statement structure, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json">Overview of JSON Policies</a>.</p>
58
+ *
59
+ * @throws {@link InvalidTagException} (client fault)
60
+ * <p>The tag associated with the CA is not valid. The invalid argument is contained in the
61
+ * message field.</p>
62
+ *
63
+ * @throws {@link LimitExceededException} (client fault)
64
+ * <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine
65
+ * the quota that was exceeded.</p>
66
+ *
67
+ *
52
68
  */
53
69
  export declare class CreateCertificateAuthorityCommand extends $Command<CreateCertificateAuthorityCommandInput, CreateCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
54
70
  readonly input: CreateCertificateAuthorityCommandInput;
@@ -55,6 +55,28 @@ export interface CreatePermissionCommandOutput extends __MetadataBearer {
55
55
  * @see {@link CreatePermissionCommandOutput} for command's `response` shape.
56
56
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
57
57
  *
58
+ * @throws {@link InvalidArnException} (client fault)
59
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
60
+ * resource.</p>
61
+ *
62
+ * @throws {@link InvalidStateException} (client fault)
63
+ * <p>The state of the private CA does not allow this action to occur.</p>
64
+ *
65
+ * @throws {@link LimitExceededException} (client fault)
66
+ * <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine
67
+ * the quota that was exceeded.</p>
68
+ *
69
+ * @throws {@link PermissionAlreadyExistsException} (client fault)
70
+ * <p>The designated permission has already been given to the user.</p>
71
+ *
72
+ * @throws {@link RequestFailedException} (client fault)
73
+ * <p>The request has failed for an unspecified reason.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
77
+ * cannot be found.</p>
78
+ *
79
+ *
58
80
  */
59
81
  export declare class CreatePermissionCommand extends $Command<CreatePermissionCommandInput, CreatePermissionCommandOutput, ACMPCAClientResolvedConfig> {
60
82
  readonly input: CreatePermissionCommandInput;
@@ -48,6 +48,21 @@ export interface DeleteCertificateAuthorityCommandOutput extends __MetadataBeare
48
48
  * @see {@link DeleteCertificateAuthorityCommandOutput} for command's `response` shape.
49
49
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
50
50
  *
51
+ * @throws {@link ConcurrentModificationException} (client fault)
52
+ * <p>A previous update to your private CA is still ongoing.</p>
53
+ *
54
+ * @throws {@link InvalidArnException} (client fault)
55
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
56
+ * resource.</p>
57
+ *
58
+ * @throws {@link InvalidStateException} (client fault)
59
+ * <p>The state of the private CA does not allow this action to occur.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
63
+ * cannot be found.</p>
64
+ *
65
+ *
51
66
  */
52
67
  export declare class DeleteCertificateAuthorityCommand extends $Command<DeleteCertificateAuthorityCommandInput, DeleteCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
53
68
  readonly input: DeleteCertificateAuthorityCommandInput;
@@ -57,6 +57,21 @@ export interface DeletePermissionCommandOutput extends __MetadataBearer {
57
57
  * @see {@link DeletePermissionCommandOutput} for command's `response` shape.
58
58
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
59
59
  *
60
+ * @throws {@link InvalidArnException} (client fault)
61
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
62
+ * resource.</p>
63
+ *
64
+ * @throws {@link InvalidStateException} (client fault)
65
+ * <p>The state of the private CA does not allow this action to occur.</p>
66
+ *
67
+ * @throws {@link RequestFailedException} (client fault)
68
+ * <p>The request has failed for an unspecified reason.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
72
+ * cannot be found.</p>
73
+ *
74
+ *
60
75
  */
61
76
  export declare class DeletePermissionCommand extends $Command<DeletePermissionCommandInput, DeletePermissionCommandOutput, ACMPCAClientResolvedConfig> {
62
77
  readonly input: DeletePermissionCommandInput;
@@ -63,6 +63,29 @@ export interface DeletePolicyCommandOutput extends __MetadataBearer {
63
63
  * @see {@link DeletePolicyCommandOutput} for command's `response` shape.
64
64
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
65
65
  *
66
+ * @throws {@link ConcurrentModificationException} (client fault)
67
+ * <p>A previous update to your private CA is still ongoing.</p>
68
+ *
69
+ * @throws {@link InvalidArnException} (client fault)
70
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
71
+ * resource.</p>
72
+ *
73
+ * @throws {@link InvalidStateException} (client fault)
74
+ * <p>The state of the private CA does not allow this action to occur.</p>
75
+ *
76
+ * @throws {@link LockoutPreventedException} (client fault)
77
+ * <p>The current action was prevented because it would lock the caller out from performing
78
+ * subsequent actions. Verify that the specified parameters would not result in the caller
79
+ * being denied access to the resource. </p>
80
+ *
81
+ * @throws {@link RequestFailedException} (client fault)
82
+ * <p>The request has failed for an unspecified reason.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
86
+ * cannot be found.</p>
87
+ *
88
+ *
66
89
  */
67
90
  export declare class DeletePolicyCommand extends $Command<DeletePolicyCommandInput, DeletePolicyCommandOutput, ACMPCAClientResolvedConfig> {
68
91
  readonly input: DeletePolicyCommandInput;
@@ -32,6 +32,18 @@ export interface DescribeCertificateAuthorityAuditReportCommandOutput extends De
32
32
  * @see {@link DescribeCertificateAuthorityAuditReportCommandOutput} for command's `response` shape.
33
33
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidArgsException} (client fault)
36
+ * <p>One or more of the specified arguments was not valid.</p>
37
+ *
38
+ * @throws {@link InvalidArnException} (client fault)
39
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
40
+ * resource.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
44
+ * cannot be found.</p>
45
+ *
46
+ *
35
47
  */
36
48
  export declare class DescribeCertificateAuthorityAuditReportCommand extends $Command<DescribeCertificateAuthorityAuditReportCommandInput, DescribeCertificateAuthorityAuditReportCommandOutput, ACMPCAClientResolvedConfig> {
37
49
  readonly input: DescribeCertificateAuthorityAuditReportCommandInput;
@@ -69,6 +69,15 @@ export interface DescribeCertificateAuthorityCommandOutput extends DescribeCerti
69
69
  * @see {@link DescribeCertificateAuthorityCommandOutput} for command's `response` shape.
70
70
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
71
71
  *
72
+ * @throws {@link InvalidArnException} (client fault)
73
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
74
+ * resource.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
78
+ * cannot be found.</p>
79
+ *
80
+ *
72
81
  */
73
82
  export declare class DescribeCertificateAuthorityCommand extends $Command<DescribeCertificateAuthorityCommandInput, DescribeCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
74
83
  readonly input: DescribeCertificateAuthorityCommandInput;
@@ -32,6 +32,18 @@ export interface GetCertificateAuthorityCertificateCommandOutput extends GetCert
32
32
  * @see {@link GetCertificateAuthorityCertificateCommandOutput} for command's `response` shape.
33
33
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidArnException} (client fault)
36
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
37
+ * resource.</p>
38
+ *
39
+ * @throws {@link InvalidStateException} (client fault)
40
+ * <p>The state of the private CA does not allow this action to occur.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
44
+ * cannot be found.</p>
45
+ *
46
+ *
35
47
  */
36
48
  export declare class GetCertificateAuthorityCertificateCommand extends $Command<GetCertificateAuthorityCertificateCommandInput, GetCertificateAuthorityCertificateCommandOutput, ACMPCAClientResolvedConfig> {
37
49
  readonly input: GetCertificateAuthorityCertificateCommandInput;
@@ -33,6 +33,24 @@ export interface GetCertificateAuthorityCsrCommandOutput extends GetCertificateA
33
33
  * @see {@link GetCertificateAuthorityCsrCommandOutput} for command's `response` shape.
34
34
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidArnException} (client fault)
37
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
38
+ * resource.</p>
39
+ *
40
+ * @throws {@link InvalidStateException} (client fault)
41
+ * <p>The state of the private CA does not allow this action to occur.</p>
42
+ *
43
+ * @throws {@link RequestFailedException} (client fault)
44
+ * <p>The request has failed for an unspecified reason.</p>
45
+ *
46
+ * @throws {@link RequestInProgressException} (client fault)
47
+ * <p>Your request is already in progress.</p>
48
+ *
49
+ * @throws {@link ResourceNotFoundException} (client fault)
50
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
51
+ * cannot be found.</p>
52
+ *
53
+ *
36
54
  */
37
55
  export declare class GetCertificateAuthorityCsrCommand extends $Command<GetCertificateAuthorityCsrCommandInput, GetCertificateAuthorityCsrCommandOutput, ACMPCAClientResolvedConfig> {
38
56
  readonly input: GetCertificateAuthorityCsrCommandInput;
@@ -36,6 +36,24 @@ export interface GetCertificateCommandOutput extends GetCertificateResponse, __M
36
36
  * @see {@link GetCertificateCommandOutput} for command's `response` shape.
37
37
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidArnException} (client fault)
40
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
41
+ * resource.</p>
42
+ *
43
+ * @throws {@link InvalidStateException} (client fault)
44
+ * <p>The state of the private CA does not allow this action to occur.</p>
45
+ *
46
+ * @throws {@link RequestFailedException} (client fault)
47
+ * <p>The request has failed for an unspecified reason.</p>
48
+ *
49
+ * @throws {@link RequestInProgressException} (client fault)
50
+ * <p>Your request is already in progress.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
54
+ * cannot be found.</p>
55
+ *
56
+ *
39
57
  */
40
58
  export declare class GetCertificateCommand extends $Command<GetCertificateCommandInput, GetCertificateCommandOutput, ACMPCAClientResolvedConfig> {
41
59
  readonly input: GetCertificateCommandInput;
@@ -59,6 +59,21 @@ export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBea
59
59
  * @see {@link GetPolicyCommandOutput} for command's `response` shape.
60
60
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
61
61
  *
62
+ * @throws {@link InvalidArnException} (client fault)
63
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
64
+ * resource.</p>
65
+ *
66
+ * @throws {@link InvalidStateException} (client fault)
67
+ * <p>The state of the private CA does not allow this action to occur.</p>
68
+ *
69
+ * @throws {@link RequestFailedException} (client fault)
70
+ * <p>The request has failed for an unspecified reason.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
74
+ * cannot be found.</p>
75
+ *
76
+ *
62
77
  */
63
78
  export declare class GetPolicyCommand extends $Command<GetPolicyCommandInput, GetPolicyCommandOutput, ACMPCAClientResolvedConfig> {
64
79
  readonly input: GetPolicyCommandInput;
@@ -156,6 +156,37 @@ export interface ImportCertificateAuthorityCertificateCommandOutput extends __Me
156
156
  * @see {@link ImportCertificateAuthorityCertificateCommandOutput} for command's `response` shape.
157
157
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
158
158
  *
159
+ * @throws {@link CertificateMismatchException} (client fault)
160
+ * <p>The certificate authority certificate you are importing does not comply with
161
+ * conditions specified in the certificate that signed it.</p>
162
+ *
163
+ * @throws {@link ConcurrentModificationException} (client fault)
164
+ * <p>A previous update to your private CA is still ongoing.</p>
165
+ *
166
+ * @throws {@link InvalidArnException} (client fault)
167
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
168
+ * resource.</p>
169
+ *
170
+ * @throws {@link InvalidRequestException} (client fault)
171
+ * <p>The request action cannot be performed or is prohibited.</p>
172
+ *
173
+ * @throws {@link InvalidStateException} (client fault)
174
+ * <p>The state of the private CA does not allow this action to occur.</p>
175
+ *
176
+ * @throws {@link MalformedCertificateException} (client fault)
177
+ * <p>One or more fields in the certificate are invalid.</p>
178
+ *
179
+ * @throws {@link RequestFailedException} (client fault)
180
+ * <p>The request has failed for an unspecified reason.</p>
181
+ *
182
+ * @throws {@link RequestInProgressException} (client fault)
183
+ * <p>Your request is already in progress.</p>
184
+ *
185
+ * @throws {@link ResourceNotFoundException} (client fault)
186
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
187
+ * cannot be found.</p>
188
+ *
189
+ *
159
190
  */
160
191
  export declare class ImportCertificateAuthorityCertificateCommand extends $Command<ImportCertificateAuthorityCertificateCommandInput, ImportCertificateAuthorityCertificateCommandOutput, ACMPCAClientResolvedConfig> {
161
192
  readonly input: ImportCertificateAuthorityCertificateCommandInput;
@@ -36,6 +36,28 @@ export interface IssueCertificateCommandOutput extends IssueCertificateResponse,
36
36
  * @see {@link IssueCertificateCommandOutput} for command's `response` shape.
37
37
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
38
38
  *
39
+ * @throws {@link InvalidArgsException} (client fault)
40
+ * <p>One or more of the specified arguments was not valid.</p>
41
+ *
42
+ * @throws {@link InvalidArnException} (client fault)
43
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
44
+ * resource.</p>
45
+ *
46
+ * @throws {@link InvalidStateException} (client fault)
47
+ * <p>The state of the private CA does not allow this action to occur.</p>
48
+ *
49
+ * @throws {@link LimitExceededException} (client fault)
50
+ * <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine
51
+ * the quota that was exceeded.</p>
52
+ *
53
+ * @throws {@link MalformedCSRException} (client fault)
54
+ * <p>The certificate signing request is invalid.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
58
+ * cannot be found.</p>
59
+ *
60
+ *
39
61
  */
40
62
  export declare class IssueCertificateCommand extends $Command<IssueCertificateCommandInput, IssueCertificateCommandOutput, ACMPCAClientResolvedConfig> {
41
63
  readonly input: IssueCertificateCommandInput;
@@ -29,6 +29,11 @@ export interface ListCertificateAuthoritiesCommandOutput extends ListCertificate
29
29
  * @see {@link ListCertificateAuthoritiesCommandOutput} for command's `response` shape.
30
30
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidNextTokenException} (client fault)
33
+ * <p>The token specified in the <code>NextToken</code> argument is not valid. Use the token
34
+ * returned from your previous call to <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>.</p>
35
+ *
36
+ *
32
37
  */
33
38
  export declare class ListCertificateAuthoritiesCommand extends $Command<ListCertificateAuthoritiesCommandInput, ListCertificateAuthoritiesCommandOutput, ACMPCAClientResolvedConfig> {
34
39
  readonly input: ListCertificateAuthoritiesCommandInput;
@@ -56,6 +56,25 @@ export interface ListPermissionsCommandOutput extends ListPermissionsResponse, _
56
56
  * @see {@link ListPermissionsCommandOutput} for command's `response` shape.
57
57
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
58
58
  *
59
+ * @throws {@link InvalidArnException} (client fault)
60
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
61
+ * resource.</p>
62
+ *
63
+ * @throws {@link InvalidNextTokenException} (client fault)
64
+ * <p>The token specified in the <code>NextToken</code> argument is not valid. Use the token
65
+ * returned from your previous call to <a href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html">ListCertificateAuthorities</a>.</p>
66
+ *
67
+ * @throws {@link InvalidStateException} (client fault)
68
+ * <p>The state of the private CA does not allow this action to occur.</p>
69
+ *
70
+ * @throws {@link RequestFailedException} (client fault)
71
+ * <p>The request has failed for an unspecified reason.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
75
+ * cannot be found.</p>
76
+ *
77
+ *
59
78
  */
60
79
  export declare class ListPermissionsCommand extends $Command<ListPermissionsCommandInput, ListPermissionsCommandOutput, ACMPCAClientResolvedConfig> {
61
80
  readonly input: ListPermissionsCommandInput;
@@ -32,6 +32,18 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
32
32
  * @see {@link ListTagsCommandOutput} for command's `response` shape.
33
33
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
34
34
  *
35
+ * @throws {@link InvalidArnException} (client fault)
36
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
37
+ * resource.</p>
38
+ *
39
+ * @throws {@link InvalidStateException} (client fault)
40
+ * <p>The state of the private CA does not allow this action to occur.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
44
+ * cannot be found.</p>
45
+ *
46
+ *
35
47
  */
36
48
  export declare class ListTagsCommand extends $Command<ListTagsCommandInput, ListTagsCommandOutput, ACMPCAClientResolvedConfig> {
37
49
  readonly input: ListTagsCommandInput;
@@ -60,6 +60,33 @@ export interface PutPolicyCommandOutput extends __MetadataBearer {
60
60
  * @see {@link PutPolicyCommandOutput} for command's `response` shape.
61
61
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
62
62
  *
63
+ * @throws {@link ConcurrentModificationException} (client fault)
64
+ * <p>A previous update to your private CA is still ongoing.</p>
65
+ *
66
+ * @throws {@link InvalidArnException} (client fault)
67
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
68
+ * resource.</p>
69
+ *
70
+ * @throws {@link InvalidPolicyException} (client fault)
71
+ * <p>The resource policy is invalid or is missing a required statement. For general
72
+ * information about IAM policy and statement structure, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json">Overview of JSON Policies</a>.</p>
73
+ *
74
+ * @throws {@link InvalidStateException} (client fault)
75
+ * <p>The state of the private CA does not allow this action to occur.</p>
76
+ *
77
+ * @throws {@link LockoutPreventedException} (client fault)
78
+ * <p>The current action was prevented because it would lock the caller out from performing
79
+ * subsequent actions. Verify that the specified parameters would not result in the caller
80
+ * being denied access to the resource. </p>
81
+ *
82
+ * @throws {@link RequestFailedException} (client fault)
83
+ * <p>The request has failed for an unspecified reason.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
87
+ * cannot be found.</p>
88
+ *
89
+ *
63
90
  */
64
91
  export declare class PutPolicyCommand extends $Command<PutPolicyCommandInput, PutPolicyCommandOutput, ACMPCAClientResolvedConfig> {
65
92
  readonly input: PutPolicyCommandInput;
@@ -39,6 +39,18 @@ export interface RestoreCertificateAuthorityCommandOutput extends __MetadataBear
39
39
  * @see {@link RestoreCertificateAuthorityCommandOutput} for command's `response` shape.
40
40
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
41
41
  *
42
+ * @throws {@link InvalidArnException} (client fault)
43
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
44
+ * resource.</p>
45
+ *
46
+ * @throws {@link InvalidStateException} (client fault)
47
+ * <p>The state of the private CA does not allow this action to occur.</p>
48
+ *
49
+ * @throws {@link ResourceNotFoundException} (client fault)
50
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
51
+ * cannot be found.</p>
52
+ *
53
+ *
42
54
  */
43
55
  export declare class RestoreCertificateAuthorityCommand extends $Command<RestoreCertificateAuthorityCommandInput, RestoreCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
44
56
  readonly input: RestoreCertificateAuthorityCommandInput;
@@ -48,6 +48,37 @@ export interface RevokeCertificateCommandOutput extends __MetadataBearer {
48
48
  * @see {@link RevokeCertificateCommandOutput} for command's `response` shape.
49
49
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
50
50
  *
51
+ * @throws {@link ConcurrentModificationException} (client fault)
52
+ * <p>A previous update to your private CA is still ongoing.</p>
53
+ *
54
+ * @throws {@link InvalidArnException} (client fault)
55
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
56
+ * resource.</p>
57
+ *
58
+ * @throws {@link InvalidRequestException} (client fault)
59
+ * <p>The request action cannot be performed or is prohibited.</p>
60
+ *
61
+ * @throws {@link InvalidStateException} (client fault)
62
+ * <p>The state of the private CA does not allow this action to occur.</p>
63
+ *
64
+ * @throws {@link LimitExceededException} (client fault)
65
+ * <p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine
66
+ * the quota that was exceeded.</p>
67
+ *
68
+ * @throws {@link RequestAlreadyProcessedException} (client fault)
69
+ * <p>Your request has already been completed.</p>
70
+ *
71
+ * @throws {@link RequestFailedException} (client fault)
72
+ * <p>The request has failed for an unspecified reason.</p>
73
+ *
74
+ * @throws {@link RequestInProgressException} (client fault)
75
+ * <p>Your request is already in progress.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
79
+ * cannot be found.</p>
80
+ *
81
+ *
51
82
  */
52
83
  export declare class RevokeCertificateCommand extends $Command<RevokeCertificateCommandInput, RevokeCertificateCommandOutput, ACMPCAClientResolvedConfig> {
53
84
  readonly input: RevokeCertificateCommandInput;
@@ -43,6 +43,26 @@ export interface TagCertificateAuthorityCommandOutput extends __MetadataBearer {
43
43
  * @see {@link TagCertificateAuthorityCommandOutput} for command's `response` shape.
44
44
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
45
45
  *
46
+ * @throws {@link InvalidArnException} (client fault)
47
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
48
+ * resource.</p>
49
+ *
50
+ * @throws {@link InvalidStateException} (client fault)
51
+ * <p>The state of the private CA does not allow this action to occur.</p>
52
+ *
53
+ * @throws {@link InvalidTagException} (client fault)
54
+ * <p>The tag associated with the CA is not valid. The invalid argument is contained in the
55
+ * message field.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
59
+ * cannot be found.</p>
60
+ *
61
+ * @throws {@link TooManyTagsException} (client fault)
62
+ * <p>You can associate up to 50 tags with a private CA. Exception information is contained
63
+ * in the exception message field.</p>
64
+ *
65
+ *
46
66
  */
47
67
  export declare class TagCertificateAuthorityCommand extends $Command<TagCertificateAuthorityCommandInput, TagCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
48
68
  readonly input: TagCertificateAuthorityCommandInput;
@@ -33,6 +33,22 @@ export interface UntagCertificateAuthorityCommandOutput extends __MetadataBearer
33
33
  * @see {@link UntagCertificateAuthorityCommandOutput} for command's `response` shape.
34
34
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidArnException} (client fault)
37
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
38
+ * resource.</p>
39
+ *
40
+ * @throws {@link InvalidStateException} (client fault)
41
+ * <p>The state of the private CA does not allow this action to occur.</p>
42
+ *
43
+ * @throws {@link InvalidTagException} (client fault)
44
+ * <p>The tag associated with the CA is not valid. The invalid argument is contained in the
45
+ * message field.</p>
46
+ *
47
+ * @throws {@link ResourceNotFoundException} (client fault)
48
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
49
+ * cannot be found.</p>
50
+ *
51
+ *
36
52
  */
37
53
  export declare class UntagCertificateAuthorityCommand extends $Command<UntagCertificateAuthorityCommandInput, UntagCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
38
54
  readonly input: UntagCertificateAuthorityCommandInput;
@@ -39,6 +39,28 @@ export interface UpdateCertificateAuthorityCommandOutput extends __MetadataBeare
39
39
  * @see {@link UpdateCertificateAuthorityCommandOutput} for command's `response` shape.
40
40
  * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape.
41
41
  *
42
+ * @throws {@link ConcurrentModificationException} (client fault)
43
+ * <p>A previous update to your private CA is still ongoing.</p>
44
+ *
45
+ * @throws {@link InvalidArgsException} (client fault)
46
+ * <p>One or more of the specified arguments was not valid.</p>
47
+ *
48
+ * @throws {@link InvalidArnException} (client fault)
49
+ * <p>The requested Amazon Resource Name (ARN) does not refer to an existing
50
+ * resource.</p>
51
+ *
52
+ * @throws {@link InvalidPolicyException} (client fault)
53
+ * <p>The resource policy is invalid or is missing a required statement. For general
54
+ * information about IAM policy and statement structure, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json">Overview of JSON Policies</a>.</p>
55
+ *
56
+ * @throws {@link InvalidStateException} (client fault)
57
+ * <p>The state of the private CA does not allow this action to occur.</p>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy
61
+ * cannot be found.</p>
62
+ *
63
+ *
42
64
  */
43
65
  export declare class UpdateCertificateAuthorityCommand extends $Command<UpdateCertificateAuthorityCommandInput, UpdateCertificateAuthorityCommandOutput, ACMPCAClientResolvedConfig> {
44
66
  readonly input: UpdateCertificateAuthorityCommandInput;
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.288.0",
4
+ "version": "3.290.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",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.272.0",
55
+ "@aws-sdk/util-waiter": "3.290.0",
56
56
  "tslib": "^2.3.1"
57
57
  },
58
58
  "devDependencies": {