@aws-sdk/client-acm 3.1179.0 → 3.1180.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/README.md +105 -0
- package/dist-cjs/index.js +1323 -53
- package/dist-es/ACM.js +38 -0
- package/dist-es/commandBuilder.js +3 -0
- package/dist-es/commands/DeleteMemberCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/DeleteMemberCertificateCommand.js +4 -0
- package/dist-es/commands/GetInventoryConfigurationCommand.js +4 -0
- package/dist-es/commands/GetInventoryInsightsCommand.js +4 -0
- package/dist-es/commands/ListInventoryFindingsCommand.js +4 -0
- package/dist-es/commands/ListInventoryRelatedResourcesCommand.js +4 -0
- package/dist-es/commands/ListInventoryUsagesCommand.js +4 -0
- package/dist-es/commands/PutInventoryConfigurationCommand.js +4 -0
- package/dist-es/commands/RenewMemberCertificateCommand.js +4 -0
- package/dist-es/commands/RestoreMemberCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/RevokeMemberCertificateCommand.js +4 -0
- package/dist-es/commands/RevokeMemberIssuedCertificateCommand.js +4 -0
- package/dist-es/commands/SearchInventoryCommand.js +4 -0
- package/dist-es/commands/UpdateMemberCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/UpdateMemberCertificateOptionsCommand.js +4 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoint/bdd.js +27 -22
- package/dist-es/models/enums.js +322 -0
- package/dist-es/pagination/ListInventoryFindingsPaginator.js +4 -0
- package/dist-es/pagination/ListInventoryRelatedResourcesPaginator.js +4 -0
- package/dist-es/pagination/ListInventoryUsagesPaginator.js +4 -0
- package/dist-es/pagination/SearchInventoryPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +732 -30
- package/dist-types/ACM.d.ts +135 -0
- package/dist-types/ACMClient.d.ts +17 -2
- package/dist-types/commandBuilder.d.ts +4 -0
- package/dist-types/commands/DeleteMemberCertificateAuthorityCommand.d.ts +122 -0
- package/dist-types/commands/DeleteMemberCertificateCommand.d.ts +119 -0
- package/dist-types/commands/GetInventoryConfigurationCommand.d.ts +277 -0
- package/dist-types/commands/GetInventoryInsightsCommand.d.ts +485 -0
- package/dist-types/commands/ListInventoryFindingsCommand.d.ts +243 -0
- package/dist-types/commands/ListInventoryRelatedResourcesCommand.d.ts +219 -0
- package/dist-types/commands/ListInventoryUsagesCommand.d.ts +176 -0
- package/dist-types/commands/PutInventoryConfigurationCommand.d.ts +542 -0
- package/dist-types/commands/RenewMemberCertificateCommand.d.ts +148 -0
- package/dist-types/commands/RestoreMemberCertificateAuthorityCommand.d.ts +120 -0
- package/dist-types/commands/RevokeMemberCertificateCommand.d.ts +126 -0
- package/dist-types/commands/RevokeMemberIssuedCertificateCommand.d.ts +125 -0
- package/dist-types/commands/SearchInventoryCommand.d.ts +318 -0
- package/dist-types/commands/UpdateMemberCertificateAuthorityCommand.d.ts +179 -0
- package/dist-types/commands/UpdateMemberCertificateOptionsCommand.d.ts +133 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/models/enums.d.ts +1148 -34
- package/dist-types/models/models_0.d.ts +3112 -503
- package/dist-types/pagination/ListInventoryFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInventoryRelatedResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInventoryUsagesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchInventoryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +97 -0
- package/dist-types/ts3.4/ACM.d.ts +285 -0
- package/dist-types/ts3.4/ACMClient.d.ts +92 -2
- package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteMemberCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteMemberCertificateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetInventoryConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetInventoryInsightsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListInventoryFindingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListInventoryRelatedResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListInventoryUsagesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutInventoryConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RenewMemberCertificateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RestoreMemberCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/RevokeMemberCertificateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RevokeMemberIssuedCertificateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchInventoryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateMemberCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateMemberCertificateOptionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/models/enums.d.ts +403 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1050 -0
- package/dist-types/ts3.4/pagination/ListInventoryFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInventoryRelatedResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInventoryUsagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchInventoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +97 -0
- package/package.json +1 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RestoreMemberCertificateAuthorityInput, RestoreMemberCertificateAuthorityOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RestoreMemberCertificateAuthorityCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RestoreMemberCertificateAuthorityCommandInput extends RestoreMemberCertificateAuthorityInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RestoreMemberCertificateAuthorityCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RestoreMemberCertificateAuthorityCommandOutput extends RestoreMemberCertificateAuthorityOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RestoreMemberCertificateAuthorityCommand_base: {
|
|
22
|
+
new (input: RestoreMemberCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<RestoreMemberCertificateAuthorityCommandInput, RestoreMemberCertificateAuthorityCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RestoreMemberCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<RestoreMemberCertificateAuthorityCommandInput, RestoreMemberCertificateAuthorityCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Restores a deleted private certificate authority (CA) in a member account of the caller's organization. AWS Private
|
|
28
|
+
* Certificate Authority (AWS Private CA) applies the rules of its RestoreCertificateAuthority operation, including
|
|
29
|
+
* which CAs can be restored and until when. For details, see RestoreCertificateAuthority in the AWS Private CA API
|
|
30
|
+
* Reference.
|
|
31
|
+
*
|
|
32
|
+
* The caller must be the organization's management account or its delegated administrator, Certificate actions for
|
|
33
|
+
* organizations must be on, and the call must be made in the organization's home Region. For every check and error,
|
|
34
|
+
* see UpdateMemberCertificateAuthority.
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { ACMClient, RestoreMemberCertificateAuthorityCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
39
|
+
* // const { ACMClient, RestoreMemberCertificateAuthorityCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
40
|
+
* // import type { ACMClientConfig } from "@aws-sdk/client-acm";
|
|
41
|
+
* const config = {}; // type is ACMClientConfig
|
|
42
|
+
* const client = new ACMClient(config);
|
|
43
|
+
* const input = { // RestoreMemberCertificateAuthorityInput
|
|
44
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new RestoreMemberCertificateAuthorityCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param RestoreMemberCertificateAuthorityCommandInput - {@link RestoreMemberCertificateAuthorityCommandInput}
|
|
53
|
+
* @returns {@link RestoreMemberCertificateAuthorityCommandOutput}
|
|
54
|
+
* @see {@link RestoreMemberCertificateAuthorityCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link RestoreMemberCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* <p>You do not have access required to perform this action.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied because it exceeded a quota.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ACMServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from ACM service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @example Restore a deleted certificate authority in a member account
|
|
81
|
+
* ```javascript
|
|
82
|
+
* // The certificate authority in account 444455556666 was deleted and is still in its permanent deletion period.
|
|
83
|
+
* const input = {
|
|
84
|
+
* CertificateAuthorityArn: "arn:aws:acm-pca:us-west-2:444455556666:certificate-authority/12345678-1234-1234-1234-123456789012"
|
|
85
|
+
* };
|
|
86
|
+
* const command = new RestoreMemberCertificateAuthorityCommand(input);
|
|
87
|
+
* const response = await client.send(command);
|
|
88
|
+
* /* response is
|
|
89
|
+
* { /* empty *\/ }
|
|
90
|
+
* *\/
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @example Restore a certificate authority that is not deleted
|
|
94
|
+
* ```javascript
|
|
95
|
+
* // AWS Private CA rejects the request because the certificate authority is not deleted.
|
|
96
|
+
* const input = {
|
|
97
|
+
* CertificateAuthorityArn: "arn:aws:acm-pca:us-west-2:444455556666:certificate-authority/12345678-1234-1234-1234-123456789012"
|
|
98
|
+
* };
|
|
99
|
+
* const command = new RestoreMemberCertificateAuthorityCommand(input);
|
|
100
|
+
* const response = await client.send(command);
|
|
101
|
+
* /* response is
|
|
102
|
+
* { /* metadata only *\/ }
|
|
103
|
+
* *\/
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class RestoreMemberCertificateAuthorityCommand extends RestoreMemberCertificateAuthorityCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: RestoreMemberCertificateAuthorityInput;
|
|
113
|
+
output: {};
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: RestoreMemberCertificateAuthorityCommandInput;
|
|
117
|
+
output: RestoreMemberCertificateAuthorityCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RevokeMemberCertificateInput, RevokeMemberCertificateOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RevokeMemberCertificateCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RevokeMemberCertificateCommandInput extends RevokeMemberCertificateInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RevokeMemberCertificateCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RevokeMemberCertificateCommandOutput extends RevokeMemberCertificateOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RevokeMemberCertificateCommand_base: {
|
|
22
|
+
new (input: RevokeMemberCertificateCommandInput): import("@smithy/core/client").CommandImpl<RevokeMemberCertificateCommandInput, RevokeMemberCertificateCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RevokeMemberCertificateCommandInput): import("@smithy/core/client").CommandImpl<RevokeMemberCertificateCommandInput, RevokeMemberCertificateCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Revokes an AWS Certificate Manager (ACM) certificate in a member account of the caller's organization, and returns
|
|
28
|
+
* the ARN of the revoked certificate. ACM applies the rules of its RevokeCertificate operation, including which
|
|
29
|
+
* certificates it can revoke. For details, see RevokeCertificate in the AWS Certificate Manager API Reference.
|
|
30
|
+
*
|
|
31
|
+
* The caller must be the organization's management account or its delegated administrator, Certificate actions for
|
|
32
|
+
* organizations must be on, and the call must be made in the organization's home Region. For every check and error,
|
|
33
|
+
* see RenewMemberCertificate.
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { ACMClient, RevokeMemberCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
38
|
+
* // const { ACMClient, RevokeMemberCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
39
|
+
* // import type { ACMClientConfig } from "@aws-sdk/client-acm";
|
|
40
|
+
* const config = {}; // type is ACMClientConfig
|
|
41
|
+
* const client = new ACMClient(config);
|
|
42
|
+
* const input = { // RevokeMemberCertificateInput
|
|
43
|
+
* CertificateArn: "STRING_VALUE", // required
|
|
44
|
+
* RevocationReason: "UNSPECIFIED" || "KEY_COMPROMISE" || "CA_COMPROMISE" || "AFFILIATION_CHANGED" || "SUPERCEDED" || "SUPERSEDED" || "CESSATION_OF_OPERATION" || "CERTIFICATE_HOLD" || "REMOVE_FROM_CRL" || "PRIVILEGE_WITHDRAWN" || "A_A_COMPROMISE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new RevokeMemberCertificateCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // RevokeMemberCertificateOutput
|
|
49
|
+
* // CertificateArn: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param RevokeMemberCertificateCommandInput - {@link RevokeMemberCertificateCommandInput}
|
|
55
|
+
* @returns {@link RevokeMemberCertificateCommandOutput}
|
|
56
|
+
* @see {@link RevokeMemberCertificateCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link RevokeMemberCertificateCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>You do not have access required to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ConflictException} (client fault)
|
|
64
|
+
* <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was denied because it exceeded a quota.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ACMServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from ACM service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @example Revoke a certificate in a member account
|
|
83
|
+
* ```javascript
|
|
84
|
+
* // The certificate's private key was exposed.
|
|
85
|
+
* const input = {
|
|
86
|
+
* CertificateArn: "arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222",
|
|
87
|
+
* RevocationReason: "KEY_COMPROMISE"
|
|
88
|
+
* };
|
|
89
|
+
* const command = new RevokeMemberCertificateCommand(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response is
|
|
92
|
+
* {
|
|
93
|
+
* CertificateArn: "arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222"
|
|
94
|
+
* }
|
|
95
|
+
* *\/
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @example Revoke a certificate that is already revoked
|
|
99
|
+
* ```javascript
|
|
100
|
+
* // ACM in the member account has already revoked the certificate.
|
|
101
|
+
* const input = {
|
|
102
|
+
* CertificateArn: "arn:aws:acm:us-west-2:444455556666:certificate/1a2b3c4d-5678-90ab-cdef-EXAMPLE22222",
|
|
103
|
+
* RevocationReason: "SUPERSEDED"
|
|
104
|
+
* };
|
|
105
|
+
* const command = new RevokeMemberCertificateCommand(input);
|
|
106
|
+
* const response = await client.send(command);
|
|
107
|
+
* /* response is
|
|
108
|
+
* { /* metadata only *\/ }
|
|
109
|
+
* *\/
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class RevokeMemberCertificateCommand extends RevokeMemberCertificateCommand_base {
|
|
115
|
+
/** @internal type navigation helper, not in runtime. */
|
|
116
|
+
protected static __types: {
|
|
117
|
+
api: {
|
|
118
|
+
input: RevokeMemberCertificateInput;
|
|
119
|
+
output: RevokeMemberCertificateOutput;
|
|
120
|
+
};
|
|
121
|
+
sdk: {
|
|
122
|
+
input: RevokeMemberCertificateCommandInput;
|
|
123
|
+
output: RevokeMemberCertificateCommandOutput;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RevokeMemberIssuedCertificateInput, RevokeMemberIssuedCertificateOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RevokeMemberIssuedCertificateCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RevokeMemberIssuedCertificateCommandInput extends RevokeMemberIssuedCertificateInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RevokeMemberIssuedCertificateCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RevokeMemberIssuedCertificateCommandOutput extends RevokeMemberIssuedCertificateOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RevokeMemberIssuedCertificateCommand_base: {
|
|
22
|
+
new (input: RevokeMemberIssuedCertificateCommandInput): import("@smithy/core/client").CommandImpl<RevokeMemberIssuedCertificateCommandInput, RevokeMemberIssuedCertificateCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RevokeMemberIssuedCertificateCommandInput): import("@smithy/core/client").CommandImpl<RevokeMemberIssuedCertificateCommandInput, RevokeMemberIssuedCertificateCommandOutput, import("..").ACMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Revokes a certificate that a private certificate authority (CA) in a member account of the caller's organization
|
|
28
|
+
* issued. AWS Private Certificate Authority (AWS Private CA) applies the rules of its RevokeCertificate operation,
|
|
29
|
+
* including which certificates it can revoke. For details, see RevokeCertificate in the AWS Private CA API Reference.
|
|
30
|
+
*
|
|
31
|
+
* The caller must be the organization's management account or its delegated administrator, Certificate actions for
|
|
32
|
+
* organizations must be on, and the call must be made in the organization's home Region. For every check and error,
|
|
33
|
+
* see UpdateMemberCertificateAuthority.
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { ACMClient, RevokeMemberIssuedCertificateCommand } from "@aws-sdk/client-acm"; // ES Modules import
|
|
38
|
+
* // const { ACMClient, RevokeMemberIssuedCertificateCommand } = require("@aws-sdk/client-acm"); // CommonJS import
|
|
39
|
+
* // import type { ACMClientConfig } from "@aws-sdk/client-acm";
|
|
40
|
+
* const config = {}; // type is ACMClientConfig
|
|
41
|
+
* const client = new ACMClient(config);
|
|
42
|
+
* const input = { // RevokeMemberIssuedCertificateInput
|
|
43
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
44
|
+
* CertificateSerial: "STRING_VALUE", // required
|
|
45
|
+
* RevocationReason: "UNSPECIFIED" || "KEY_COMPROMISE" || "CERTIFICATE_AUTHORITY_COMPROMISE" || "AFFILIATION_CHANGED" || "SUPERSEDED" || "CESSATION_OF_OPERATION" || "PRIVILEGE_WITHDRAWN" || "A_A_COMPROMISE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new RevokeMemberIssuedCertificateCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param RevokeMemberIssuedCertificateCommandInput - {@link RevokeMemberIssuedCertificateCommandInput}
|
|
54
|
+
* @returns {@link RevokeMemberIssuedCertificateCommandOutput}
|
|
55
|
+
* @see {@link RevokeMemberIssuedCertificateCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link RevokeMemberIssuedCertificateCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ACMClientResolvedConfig | config} for ACMClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have access required to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>You are trying to update a resource or configuration that is already being created or updated. Wait for the previous operation to finish and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The specified certificate cannot be found in the caller's account or the caller's account cannot be found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The request was denied because it exceeded a quota.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ACMServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from ACM service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @example Revoke a certificate a member account's certificate authority issued
|
|
82
|
+
* ```javascript
|
|
83
|
+
* // The certificate authority in account 444455556666 issued a certificate whose private key was exposed.
|
|
84
|
+
* const input = {
|
|
85
|
+
* CertificateAuthorityArn: "arn:aws:acm-pca:us-west-2:444455556666:certificate-authority/12345678-1234-1234-1234-123456789012",
|
|
86
|
+
* CertificateSerial: "79:3f:0d:5b:6a:04:12:5e:2c:9c:fb:52:37:35:98:fe",
|
|
87
|
+
* RevocationReason: "KEY_COMPROMISE"
|
|
88
|
+
* };
|
|
89
|
+
* const command = new RevokeMemberIssuedCertificateCommand(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response is
|
|
92
|
+
* { /* empty *\/ }
|
|
93
|
+
* *\/
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* @example Revoke a certificate that is already revoked
|
|
97
|
+
* ```javascript
|
|
98
|
+
* // AWS Private CA in the member account has already revoked the certificate.
|
|
99
|
+
* const input = {
|
|
100
|
+
* CertificateAuthorityArn: "arn:aws:acm-pca:us-west-2:444455556666:certificate-authority/12345678-1234-1234-1234-123456789012",
|
|
101
|
+
* CertificateSerial: "79:3f:0d:5b:6a:04:12:5e:2c:9c:fb:52:37:35:98:fe",
|
|
102
|
+
* RevocationReason: "SUPERSEDED"
|
|
103
|
+
* };
|
|
104
|
+
* const command = new RevokeMemberIssuedCertificateCommand(input);
|
|
105
|
+
* const response = await client.send(command);
|
|
106
|
+
* /* response is
|
|
107
|
+
* { /* metadata only *\/ }
|
|
108
|
+
* *\/
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class RevokeMemberIssuedCertificateCommand extends RevokeMemberIssuedCertificateCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: RevokeMemberIssuedCertificateInput;
|
|
118
|
+
output: {};
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: RevokeMemberIssuedCertificateCommandInput;
|
|
122
|
+
output: RevokeMemberIssuedCertificateCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|