@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,99 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateChallengeCommandInput, CreateChallengeCommandOutput } from "./commands/CreateChallengeCommand";
|
|
3
|
+
import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
4
|
+
import { DeleteChallengeCommandInput, DeleteChallengeCommandOutput } from "./commands/DeleteChallengeCommand";
|
|
5
|
+
import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
6
|
+
import { GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput } from "./commands/GetChallengeMetadataCommand";
|
|
7
|
+
import { GetChallengePasswordCommandInput, GetChallengePasswordCommandOutput } from "./commands/GetChallengePasswordCommand";
|
|
8
|
+
import { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
9
|
+
import { ListChallengeMetadataCommandInput, ListChallengeMetadataCommandOutput } from "./commands/ListChallengeMetadataCommand";
|
|
10
|
+
import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
11
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
12
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
13
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
14
|
+
import { PcaConnectorScepClient } from "./PcaConnectorScepClient";
|
|
15
|
+
export interface PcaConnectorScep {
|
|
16
|
+
/**
|
|
17
|
+
* @see {@link CreateChallengeCommand}
|
|
18
|
+
*/
|
|
19
|
+
createChallenge(args: CreateChallengeCommandInput, options?: __HttpHandlerOptions): Promise<CreateChallengeCommandOutput>;
|
|
20
|
+
createChallenge(args: CreateChallengeCommandInput, cb: (err: any, data?: CreateChallengeCommandOutput) => void): void;
|
|
21
|
+
createChallenge(args: CreateChallengeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChallengeCommandOutput) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link CreateConnectorCommand}
|
|
24
|
+
*/
|
|
25
|
+
createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
|
|
26
|
+
createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
27
|
+
createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link DeleteChallengeCommand}
|
|
30
|
+
*/
|
|
31
|
+
deleteChallenge(args: DeleteChallengeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChallengeCommandOutput>;
|
|
32
|
+
deleteChallenge(args: DeleteChallengeCommandInput, cb: (err: any, data?: DeleteChallengeCommandOutput) => void): void;
|
|
33
|
+
deleteChallenge(args: DeleteChallengeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChallengeCommandOutput) => void): void;
|
|
34
|
+
/**
|
|
35
|
+
* @see {@link DeleteConnectorCommand}
|
|
36
|
+
*/
|
|
37
|
+
deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
|
|
38
|
+
deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
39
|
+
deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link GetChallengeMetadataCommand}
|
|
42
|
+
*/
|
|
43
|
+
getChallengeMetadata(args: GetChallengeMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetChallengeMetadataCommandOutput>;
|
|
44
|
+
getChallengeMetadata(args: GetChallengeMetadataCommandInput, cb: (err: any, data?: GetChallengeMetadataCommandOutput) => void): void;
|
|
45
|
+
getChallengeMetadata(args: GetChallengeMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChallengeMetadataCommandOutput) => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* @see {@link GetChallengePasswordCommand}
|
|
48
|
+
*/
|
|
49
|
+
getChallengePassword(args: GetChallengePasswordCommandInput, options?: __HttpHandlerOptions): Promise<GetChallengePasswordCommandOutput>;
|
|
50
|
+
getChallengePassword(args: GetChallengePasswordCommandInput, cb: (err: any, data?: GetChallengePasswordCommandOutput) => void): void;
|
|
51
|
+
getChallengePassword(args: GetChallengePasswordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChallengePasswordCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link GetConnectorCommand}
|
|
54
|
+
*/
|
|
55
|
+
getConnector(args: GetConnectorCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorCommandOutput>;
|
|
56
|
+
getConnector(args: GetConnectorCommandInput, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
57
|
+
getConnector(args: GetConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link ListChallengeMetadataCommand}
|
|
60
|
+
*/
|
|
61
|
+
listChallengeMetadata(args: ListChallengeMetadataCommandInput, options?: __HttpHandlerOptions): Promise<ListChallengeMetadataCommandOutput>;
|
|
62
|
+
listChallengeMetadata(args: ListChallengeMetadataCommandInput, cb: (err: any, data?: ListChallengeMetadataCommandOutput) => void): void;
|
|
63
|
+
listChallengeMetadata(args: ListChallengeMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChallengeMetadataCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link ListConnectorsCommand}
|
|
66
|
+
*/
|
|
67
|
+
listConnectors(): Promise<ListConnectorsCommandOutput>;
|
|
68
|
+
listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
|
|
69
|
+
listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
70
|
+
listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link ListTagsForResourceCommand}
|
|
73
|
+
*/
|
|
74
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
75
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
76
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link TagResourceCommand}
|
|
79
|
+
*/
|
|
80
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
81
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
82
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link UntagResourceCommand}
|
|
85
|
+
*/
|
|
86
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
87
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
88
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <note>
|
|
92
|
+
* <p>Connector for SCEP (Preview) is in preview release for Amazon Web Services Private Certificate Authority and is subject to change.</p>
|
|
93
|
+
* </note>
|
|
94
|
+
* <p>Connector for SCEP (Preview) creates a connector between Amazon Web Services Private CA and your SCEP-enabled clients and devices. For more
|
|
95
|
+
* information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/scep-connector.html">Connector for SCEP</a> in the <i>Amazon Web Services Private CA User Guide</i>.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class PcaConnectorScep extends PcaConnectorScepClient implements PcaConnectorScep {
|
|
99
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateChallengeCommandInput, CreateChallengeCommandOutput } from "./commands/CreateChallengeCommand";
|
|
11
|
+
import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
12
|
+
import { DeleteChallengeCommandInput, DeleteChallengeCommandOutput } from "./commands/DeleteChallengeCommand";
|
|
13
|
+
import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
14
|
+
import { GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput } from "./commands/GetChallengeMetadataCommand";
|
|
15
|
+
import { GetChallengePasswordCommandInput, GetChallengePasswordCommandOutput } from "./commands/GetChallengePasswordCommand";
|
|
16
|
+
import { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
17
|
+
import { ListChallengeMetadataCommandInput, ListChallengeMetadataCommandOutput } from "./commands/ListChallengeMetadataCommand";
|
|
18
|
+
import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
19
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
23
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
24
|
+
export { __Client };
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type ServiceInputTypes = CreateChallengeCommandInput | CreateConnectorCommandInput | DeleteChallengeCommandInput | DeleteConnectorCommandInput | GetChallengeMetadataCommandInput | GetChallengePasswordCommandInput | GetConnectorCommandInput | ListChallengeMetadataCommandInput | ListConnectorsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type ServiceOutputTypes = CreateChallengeCommandOutput | CreateConnectorCommandOutput | DeleteChallengeCommandOutput | DeleteConnectorCommandOutput | GetChallengeMetadataCommandOutput | GetChallengePasswordCommandOutput | GetConnectorCommandOutput | ListChallengeMetadataCommandOutput | ListConnectorsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
37
|
+
/**
|
|
38
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
39
|
+
*/
|
|
40
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
41
|
+
/**
|
|
42
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
43
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
47
|
+
/**
|
|
48
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
urlParser?: __UrlParser;
|
|
52
|
+
/**
|
|
53
|
+
* A function that can calculate the length of a request body.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
57
|
+
/**
|
|
58
|
+
* A function that converts a stream into an array of bytes.
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
streamCollector?: __StreamCollector;
|
|
62
|
+
/**
|
|
63
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
base64Decoder?: __Decoder;
|
|
67
|
+
/**
|
|
68
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
base64Encoder?: __Encoder;
|
|
72
|
+
/**
|
|
73
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
utf8Decoder?: __Decoder;
|
|
77
|
+
/**
|
|
78
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
utf8Encoder?: __Encoder;
|
|
82
|
+
/**
|
|
83
|
+
* The runtime environment.
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
runtime?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
89
|
+
* trait of an operation.
|
|
90
|
+
*/
|
|
91
|
+
disableHostPrefix?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Unique service identifier.
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
serviceId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
99
|
+
*/
|
|
100
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* Enables FIPS compatible endpoints.
|
|
103
|
+
*/
|
|
104
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* The AWS region to which this client will send requests
|
|
107
|
+
*/
|
|
108
|
+
region?: string | __Provider<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
114
|
+
/**
|
|
115
|
+
* Default credentials provider; Not available in browser runtime.
|
|
116
|
+
* @deprecated
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
120
|
+
/**
|
|
121
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
122
|
+
*/
|
|
123
|
+
maxAttempts?: number | __Provider<number>;
|
|
124
|
+
/**
|
|
125
|
+
* Specifies which retry algorithm to use.
|
|
126
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
retryMode?: string | __Provider<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Optional logger for logging debug/info/warn/error.
|
|
132
|
+
*/
|
|
133
|
+
logger?: __Logger;
|
|
134
|
+
/**
|
|
135
|
+
* Optional extensions
|
|
136
|
+
*/
|
|
137
|
+
extensions?: RuntimeExtension[];
|
|
138
|
+
/**
|
|
139
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
140
|
+
*/
|
|
141
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export type PcaConnectorScepClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*
|
|
150
|
+
* The configuration interface of PcaConnectorScepClient class constructor that set the region, credentials and other options.
|
|
151
|
+
*/
|
|
152
|
+
export interface PcaConnectorScepClientConfig extends PcaConnectorScepClientConfigType {
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export type PcaConnectorScepClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*
|
|
161
|
+
* The resolved configuration interface of PcaConnectorScepClient class. This is resolved and normalized from the {@link PcaConnectorScepClientConfig | constructor configuration interface}.
|
|
162
|
+
*/
|
|
163
|
+
export interface PcaConnectorScepClientResolvedConfig extends PcaConnectorScepClientResolvedConfigType {
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* <note>
|
|
167
|
+
* <p>Connector for SCEP (Preview) is in preview release for Amazon Web Services Private Certificate Authority and is subject to change.</p>
|
|
168
|
+
* </note>
|
|
169
|
+
* <p>Connector for SCEP (Preview) creates a connector between Amazon Web Services Private CA and your SCEP-enabled clients and devices. For more
|
|
170
|
+
* information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/scep-connector.html">Connector for SCEP</a> in the <i>Amazon Web Services Private CA User Guide</i>.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export declare class PcaConnectorScepClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PcaConnectorScepClientResolvedConfig> {
|
|
174
|
+
/**
|
|
175
|
+
* The resolved configuration of PcaConnectorScepClient class. This is resolved and normalized from the {@link PcaConnectorScepClientConfig | constructor configuration interface}.
|
|
176
|
+
*/
|
|
177
|
+
readonly config: PcaConnectorScepClientResolvedConfig;
|
|
178
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<PcaConnectorScepClientConfig>);
|
|
179
|
+
/**
|
|
180
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
181
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
182
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
183
|
+
*/
|
|
184
|
+
destroy(): void;
|
|
185
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
186
|
+
private getIdentityProviderConfigProvider;
|
|
187
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { PcaConnectorScepHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: PcaConnectorScepHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): PcaConnectorScepHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: PcaConnectorScepHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { PcaConnectorScepClientResolvedConfig } from "../PcaConnectorScepClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface PcaConnectorScepHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface PcaConnectorScepHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<PcaConnectorScepClientResolvedConfig, HandlerExecutionContext, PcaConnectorScepHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultPcaConnectorScepHttpAuthSchemeParametersProvider: (config: PcaConnectorScepClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<PcaConnectorScepHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface PcaConnectorScepHttpAuthSchemeProvider extends HttpAuthSchemeProvider<PcaConnectorScepHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultPcaConnectorScepHttpAuthSchemeProvider: PcaConnectorScepHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: PcaConnectorScepHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: PcaConnectorScepHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateChallengeRequest, CreateChallengeResponse } 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 CreateChallengeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateChallengeCommandInput extends CreateChallengeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateChallengeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateChallengeCommandOutput extends CreateChallengeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateChallengeCommand_base: {
|
|
25
|
+
new (input: CreateChallengeCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChallengeCommandInput, CreateChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateChallengeCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChallengeCommandInput, CreateChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>For general-purpose connectors. Creates a <i>challenge password</i> for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call <a href="https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_ListConnectors.html">ListConnectors</a>.</p>
|
|
31
|
+
* <p>To create additional challenge passwords for the connector, call <code>CreateChallenge</code> again. We recommend frequently rotating your challenge passwords.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { PcaConnectorScepClient, CreateChallengeCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
36
|
+
* // const { PcaConnectorScepClient, CreateChallengeCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
37
|
+
* const client = new PcaConnectorScepClient(config);
|
|
38
|
+
* const input = { // CreateChallengeRequest
|
|
39
|
+
* ConnectorArn: "STRING_VALUE", // required
|
|
40
|
+
* ClientToken: "STRING_VALUE",
|
|
41
|
+
* Tags: { // Tags
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateChallengeCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateChallengeResponse
|
|
48
|
+
* // Challenge: { // Challenge
|
|
49
|
+
* // Arn: "STRING_VALUE",
|
|
50
|
+
* // ConnectorArn: "STRING_VALUE",
|
|
51
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
52
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
53
|
+
* // Password: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param CreateChallengeCommandInput - {@link CreateChallengeCommandInput}
|
|
60
|
+
* @returns {@link CreateChallengeCommandOutput}
|
|
61
|
+
* @see {@link CreateChallengeCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link CreateChallengeCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link PcaConnectorScepClientResolvedConfig | config} for PcaConnectorScepClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You can receive this error if you attempt to perform an operation and you don't have
|
|
67
|
+
* the required permissions. This can be caused by insufficient permissions in policies
|
|
68
|
+
* attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen
|
|
69
|
+
* because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP)
|
|
70
|
+
* that affects your Amazon Web Services account.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link BadRequestException} (client fault)
|
|
73
|
+
* <p>The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <p>This request can't be completed for one of the following reasons because the requested
|
|
77
|
+
* resource was being concurrently modified by another request.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
81
|
+
* an internal server.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <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>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>The request would cause a service quota to be exceeded.</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 CreateChallengeCommand extends CreateChallengeCommand_base {
|
|
101
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateConnectorRequest, CreateConnectorResponse } 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 CreateConnectorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateConnectorCommandInput extends CreateConnectorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateConnectorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateConnectorCommand_base: {
|
|
25
|
+
new (input: CreateConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateConnectorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a SCEP connector. A SCEP connector links Amazon Web Services Private Certificate Authority to your SCEP-compatible devices and mobile device management (MDM) systems. Before you create a connector, you must complete a set of prerequisites, including creation of a private certificate authority (CA) to use with this connector. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/scep-connector.htmlconnector-for-scep-prerequisites.html">Connector for SCEP prerequisites</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, CreateConnectorCommand } from "@aws-sdk/client-pca-connector-scep"; // ES Modules import
|
|
35
|
+
* // const { PcaConnectorScepClient, CreateConnectorCommand } = require("@aws-sdk/client-pca-connector-scep"); // CommonJS import
|
|
36
|
+
* const client = new PcaConnectorScepClient(config);
|
|
37
|
+
* const input = { // CreateConnectorRequest
|
|
38
|
+
* CertificateAuthorityArn: "STRING_VALUE", // required
|
|
39
|
+
* MobileDeviceManagement: { // MobileDeviceManagement Union: only one key present
|
|
40
|
+
* Intune: { // IntuneConfiguration
|
|
41
|
+
* AzureApplicationId: "STRING_VALUE", // required
|
|
42
|
+
* Domain: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* ClientToken: "STRING_VALUE",
|
|
46
|
+
* Tags: { // Tags
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new CreateConnectorCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // CreateConnectorResponse
|
|
53
|
+
* // ConnectorArn: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param CreateConnectorCommandInput - {@link CreateConnectorCommandInput}
|
|
59
|
+
* @returns {@link CreateConnectorCommandOutput}
|
|
60
|
+
* @see {@link CreateConnectorCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link CreateConnectorCommandOutput} 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 ConflictException} (client fault)
|
|
72
|
+
* <p>This request can't be completed for one of the following reasons because the requested
|
|
73
|
+
* resource was being concurrently modified by another request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request processing has failed because of an unknown error, exception or failure with
|
|
77
|
+
* an internal server.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <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>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
83
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ValidationException} (client fault)
|
|
89
|
+
* <p>An input validation error occurred. For example, invalid characters in a name tag, or an invalid pagination token.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link PcaConnectorScepServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from PcaConnectorScep service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class CreateConnectorCommand extends CreateConnectorCommand_base {
|
|
97
|
+
}
|