@aws-sdk/client-pca-connector-scep 3.595.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +305 -0
- package/dist-cjs/PcaConnectorScep.js +35 -0
- package/dist-cjs/PcaConnectorScepClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateChallengeCommand.js +29 -0
- package/dist-cjs/commands/CreateConnectorCommand.js +28 -0
- package/dist-cjs/commands/DeleteChallengeCommand.js +28 -0
- package/dist-cjs/commands/DeleteConnectorCommand.js +28 -0
- package/dist-cjs/commands/GetChallengeMetadataCommand.js +28 -0
- package/dist-cjs/commands/GetChallengePasswordCommand.js +29 -0
- package/dist-cjs/commands/GetConnectorCommand.js +28 -0
- package/dist-cjs/commands/ListChallengeMetadataCommand.js +28 -0
- package/dist-cjs/commands/ListConnectorsCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/PcaConnectorScepServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +177 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListChallengeMetadataPaginator.js +7 -0
- package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +565 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/PcaConnectorScep.js +31 -0
- package/dist-es/PcaConnectorScepClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateChallengeCommand.js +25 -0
- package/dist-es/commands/CreateConnectorCommand.js +24 -0
- package/dist-es/commands/DeleteChallengeCommand.js +24 -0
- package/dist-es/commands/DeleteConnectorCommand.js +24 -0
- package/dist-es/commands/GetChallengeMetadataCommand.js +24 -0
- package/dist-es/commands/GetChallengePasswordCommand.js +25 -0
- package/dist-es/commands/GetConnectorCommand.js +24 -0
- package/dist-es/commands/ListChallengeMetadataCommand.js +24 -0
- package/dist-es/commands/ListConnectorsCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/PcaConnectorScepServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +163 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListChallengeMetadataPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +538 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/PcaConnectorScep.d.ts +99 -0
- package/dist-types/PcaConnectorScepClient.d.ts +187 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateChallengeCommand.d.ts +101 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +97 -0
- package/dist-types/commands/DeleteChallengeCommand.d.ts +82 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +82 -0
- package/dist-types/commands/GetChallengeMetadataCommand.d.ts +85 -0
- package/dist-types/commands/GetChallengePasswordCommand.d.ts +80 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +100 -0
- package/dist-types/commands/ListChallengeMetadataCommand.d.ts +90 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +86 -0
- package/dist-types/commands/TagResourceCommand.d.ts +81 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/PcaConnectorScepServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +763 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListChallengeMetadataPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/PcaConnectorScep.d.ts +212 -0
- package/dist-types/ts3.4/PcaConnectorScepClient.d.ts +195 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateChallengeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteChallengeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetChallengeMetadataCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetChallengePasswordCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListChallengeMetadataCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/PcaConnectorScepServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +257 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChallengeMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteChallengeRequest } from "../models/models_0";
|
|
4
|
+
import { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteChallengeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteChallengeCommandInput extends DeleteChallengeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteChallengeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteChallengeCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteChallengeCommand_base: {
|
|
25
|
+
new (input: DeleteChallengeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChallengeCommandInput, DeleteChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteChallengeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChallengeCommandInput, DeleteChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified <a href="https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_Challenge.html">Challenge</a>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PcaConnectorScepClient, DeleteChallengeCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, DeleteChallengeCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // DeleteChallengeRequest
|
|
38
|
+
* ChallengeArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteChallengeCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteChallengeCommandInput - {@link DeleteChallengeCommandInput}
|
|
47
|
+
* @returns {@link DeleteChallengeCommandOutput}
|
|
48
|
+
* @see {@link DeleteChallengeCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteChallengeCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
54
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
55
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
56
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
57
|
+
* that affects your Amazon Web Services account.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>This request can't be completed for one of the following reasons because the requested
|
|
61
|
+
* resource was being concurrently modified by another request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
65
|
+
* an internal server.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteChallengeCommand extends DeleteChallengeCommand_base {
|
|
82
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteConnectorRequest } from "../models/models_0";
|
|
4
|
+
import { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConnectorCommandInput extends DeleteConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConnectorCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteConnectorCommand_base: {
|
|
25
|
+
new (input: DeleteConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified <a href="https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_Connector.html">Connector</a>. This operation also deletes any challenges associated with the connector.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PcaConnectorScepClient, DeleteConnectorCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, DeleteConnectorCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // DeleteConnectorRequest
|
|
38
|
+
* ConnectorArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteConnectorCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteConnectorCommandInput - {@link DeleteConnectorCommandInput}
|
|
47
|
+
* @returns {@link DeleteConnectorCommandOutput}
|
|
48
|
+
* @see {@link DeleteConnectorCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
54
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
55
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
56
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
57
|
+
* that affects your Amazon Web Services account.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>This request can't be completed for one of the following reasons because the requested
|
|
61
|
+
* resource was being concurrently modified by another request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
65
|
+
* an internal server.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteConnectorCommand extends DeleteConnectorCommand_base {
|
|
82
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetChallengeMetadataRequest, GetChallengeMetadataResponse } from "../models/models_0";
|
|
4
|
+
import { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetChallengeMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetChallengeMetadataCommandInput extends GetChallengeMetadataRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetChallengeMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetChallengeMetadataCommandOutput extends GetChallengeMetadataResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetChallengeMetadataCommand_base: {
|
|
25
|
+
new (input: GetChallengeMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetChallengeMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the metadata for the specified <a href="https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_Challenge.html">Challenge</a>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PcaConnectorScepClient, GetChallengeMetadataCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, GetChallengeMetadataCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // GetChallengeMetadataRequest
|
|
38
|
+
* ChallengeArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetChallengeMetadataCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetChallengeMetadataResponse
|
|
43
|
+
* // ChallengeMetadata: { // ChallengeMetadata
|
|
44
|
+
* // Arn: "STRING_VALUE",
|
|
45
|
+
* // ConnectorArn: "STRING_VALUE",
|
|
46
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
47
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetChallengeMetadataCommandInput - {@link GetChallengeMetadataCommandInput}
|
|
54
|
+
* @returns {@link GetChallengeMetadataCommandOutput}
|
|
55
|
+
* @see {@link GetChallengeMetadataCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetChallengeMetadataCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
61
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
62
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
63
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
64
|
+
* that affects your Amazon Web Services account.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
68
|
+
* an internal server.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class GetChallengeMetadataCommand extends GetChallengeMetadataCommand_base {
|
|
85
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetChallengePasswordRequest, GetChallengePasswordResponse } from "../models/models_0";
|
|
4
|
+
import { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetChallengePasswordCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetChallengePasswordCommandInput extends GetChallengePasswordRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetChallengePasswordCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetChallengePasswordCommandOutput extends GetChallengePasswordResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetChallengePasswordCommand_base: {
|
|
25
|
+
new (input: GetChallengePasswordCommandInput): import("@smithy/smithy-client").CommandImpl<GetChallengePasswordCommandInput, GetChallengePasswordCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetChallengePasswordCommandInput): import("@smithy/smithy-client").CommandImpl<GetChallengePasswordCommandInput, GetChallengePasswordCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the challenge password for the specified <a href="https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_Challenge.html">Challenge</a>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PcaConnectorScepClient, GetChallengePasswordCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, GetChallengePasswordCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // GetChallengePasswordRequest
|
|
38
|
+
* ChallengeArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetChallengePasswordCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetChallengePasswordResponse
|
|
43
|
+
* // Password: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetChallengePasswordCommandInput - {@link GetChallengePasswordCommandInput}
|
|
49
|
+
* @returns {@link GetChallengePasswordCommandOutput}
|
|
50
|
+
* @see {@link GetChallengePasswordCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetChallengePasswordCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
56
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
57
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
58
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
59
|
+
* that affects your Amazon Web Services account.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
63
|
+
* an internal server.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class GetChallengePasswordCommand extends GetChallengePasswordCommand_base {
|
|
80
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetConnectorRequest, GetConnectorResponse } from "../models/models_0";
|
|
4
|
+
import { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConnectorCommandInput extends GetConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConnectorCommandOutput extends GetConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConnectorCommand_base: {
|
|
25
|
+
new (input: GetConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectorCommandInput, GetConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectorCommandInput, GetConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves details about the specified <a href="https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_Connector.html">Connector</a>. Calling this action returns important details about the connector, such as the public SCEP URL where your clients can request certificates.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PcaConnectorScepClient, GetConnectorCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, GetConnectorCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // GetConnectorRequest
|
|
38
|
+
* ConnectorArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetConnectorCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetConnectorResponse
|
|
43
|
+
* // Connector: { // Connector
|
|
44
|
+
* // Arn: "STRING_VALUE",
|
|
45
|
+
* // CertificateAuthorityArn: "STRING_VALUE",
|
|
46
|
+
* // Type: "GENERAL_PURPOSE" || "INTUNE",
|
|
47
|
+
* // MobileDeviceManagement: { // MobileDeviceManagement Union: only one key present
|
|
48
|
+
* // Intune: { // IntuneConfiguration
|
|
49
|
+
* // AzureApplicationId: "STRING_VALUE", // required
|
|
50
|
+
* // Domain: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // OpenIdConfiguration: { // OpenIdConfiguration
|
|
54
|
+
* // Issuer: "STRING_VALUE",
|
|
55
|
+
* // Subject: "STRING_VALUE",
|
|
56
|
+
* // Audience: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
59
|
+
* // StatusReason: "INTERNAL_FAILURE" || "PRIVATECA_ACCESS_DENIED" || "PRIVATECA_INVALID_STATE" || "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
60
|
+
* // Endpoint: "STRING_VALUE",
|
|
61
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param GetConnectorCommandInput - {@link GetConnectorCommandInput}
|
|
69
|
+
* @returns {@link GetConnectorCommandOutput}
|
|
70
|
+
* @see {@link GetConnectorCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link GetConnectorCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
76
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
77
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
78
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
79
|
+
* that affects your Amazon Web Services account.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
83
|
+
* an internal server.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class GetConnectorCommand extends GetConnectorCommand_base {
|
|
100
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListChallengeMetadataRequest, ListChallengeMetadataResponse } from "../models/models_0";
|
|
4
|
+
import { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListChallengeMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListChallengeMetadataCommandInput extends ListChallengeMetadataRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListChallengeMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListChallengeMetadataCommandOutput extends ListChallengeMetadataResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListChallengeMetadataCommand_base: {
|
|
25
|
+
new (input: ListChallengeMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<ListChallengeMetadataCommandInput, ListChallengeMetadataCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListChallengeMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<ListChallengeMetadataCommandInput, ListChallengeMetadataCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the challenge metadata for the specified ARN.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PcaConnectorScepClient, ListChallengeMetadataCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, ListChallengeMetadataCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // ListChallengeMetadataRequest
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* ConnectorArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListChallengeMetadataCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListChallengeMetadataResponse
|
|
45
|
+
* // Challenges: [ // ChallengeMetadataList
|
|
46
|
+
* // { // ChallengeMetadataSummary
|
|
47
|
+
* // Arn: "STRING_VALUE",
|
|
48
|
+
* // ConnectorArn: "STRING_VALUE",
|
|
49
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListChallengeMetadataCommandInput - {@link ListChallengeMetadataCommandInput}
|
|
59
|
+
* @returns {@link ListChallengeMetadataCommandOutput}
|
|
60
|
+
* @see {@link ListChallengeMetadataCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListChallengeMetadataCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
66
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
67
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
68
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
69
|
+
* that affects your Amazon Web Services account.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
73
|
+
* an internal server.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The operation tried to access a nonexistent resource. The resource might be incorrectly specified, or it might have a status other than <code>ACTIVE</code>.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListChallengeMetadataCommand extends ListChallengeMetadataCommand_base {
|
|
90
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListConnectorsRequest, ListConnectorsResponse } from "../models/models_0";
|
|
4
|
+
import { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConnectorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConnectorsCommandInput extends ListConnectorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConnectorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConnectorsCommand_base: {
|
|
25
|
+
new (input: ListConnectorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListConnectorsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConnectorsCommandInput, ListConnectorsCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the connectors belonging to your Amazon Web Services account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PcaConnectorScepClient, ListConnectorsCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, ListConnectorsCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // ListConnectorsRequest
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListConnectorsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListConnectorsResponse
|
|
44
|
+
* // Connectors: [ // ConnectorList
|
|
45
|
+
* // { // ConnectorSummary
|
|
46
|
+
* // Arn: "STRING_VALUE",
|
|
47
|
+
* // CertificateAuthorityArn: "STRING_VALUE",
|
|
48
|
+
* // Type: "GENERAL_PURPOSE" || "INTUNE",
|
|
49
|
+
* // MobileDeviceManagement: { // MobileDeviceManagement Union: only one key present
|
|
50
|
+
* // Intune: { // IntuneConfiguration
|
|
51
|
+
* // AzureApplicationId: "STRING_VALUE", // required
|
|
52
|
+
* // Domain: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // OpenIdConfiguration: { // OpenIdConfiguration
|
|
56
|
+
* // Issuer: "STRING_VALUE",
|
|
57
|
+
* // Subject: "STRING_VALUE",
|
|
58
|
+
* // Audience: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // Status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
61
|
+
* // StatusReason: "INTERNAL_FAILURE" || "PRIVATECA_ACCESS_DENIED" || "PRIVATECA_INVALID_STATE" || "PRIVATECA_RESOURCE_NOT_FOUND",
|
|
62
|
+
* // Endpoint: "STRING_VALUE",
|
|
63
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // NextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param ListConnectorsCommandInput - {@link ListConnectorsCommandInput}
|
|
73
|
+
* @returns {@link ListConnectorsCommandOutput}
|
|
74
|
+
* @see {@link ListConnectorsCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link ListConnectorsCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
80
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
81
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
82
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
83
|
+
* that affects your Amazon Web Services account.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
87
|
+
* an internal server.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ListConnectorsCommand extends ListConnectorsCommand_base {
|
|
101
|
+
}
|