@aws-sdk/client-ssm-guiconnect 3.799.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 +253 -0
- package/dist-cjs/SSMGuiConnect.js +17 -0
- package/dist-cjs/SSMGuiConnectClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/DeleteConnectionRecordingPreferencesCommand.js +26 -0
- package/dist-cjs/commands/GetConnectionRecordingPreferencesCommand.js +26 -0
- package/dist-cjs/commands/UpdateConnectionRecordingPreferencesCommand.js +26 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/EndpointParameters.js +17 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/SSMGuiConnectServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +95 -0
- package/dist-cjs/protocols/Aws_restJson1.js +230 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/SSMGuiConnect.js +13 -0
- package/dist-es/SSMGuiConnectClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/DeleteConnectionRecordingPreferencesCommand.js +22 -0
- package/dist-es/commands/GetConnectionRecordingPreferencesCommand.js +22 -0
- package/dist-es/commands/UpdateConnectionRecordingPreferencesCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/SSMGuiConnectServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +85 -0
- package/dist-es/protocols/Aws_restJson1.js +221 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/SSMGuiConnect.d.ts +56 -0
- package/dist-types/SSMGuiConnectClient.d.ts +213 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/DeleteConnectionRecordingPreferencesCommand.d.ts +106 -0
- package/dist-types/commands/GetConnectionRecordingPreferencesCommand.d.ts +126 -0
- package/dist-types/commands/UpdateConnectionRecordingPreferencesCommand.d.ts +151 -0
- package/dist-types/commands/index.d.ts +3 -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 +36 -0
- package/dist-types/models/SSMGuiConnectServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +194 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/SSMGuiConnect.d.ts +78 -0
- package/dist-types/ts3.4/SSMGuiConnectClient.d.ts +138 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteConnectionRecordingPreferencesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionRecordingPreferencesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateConnectionRecordingPreferencesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -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 +8 -0
- package/dist-types/ts3.4/models/SSMGuiConnectServiceException.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 +78 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +41 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SSMGuiConnectClientConfig } from "./SSMGuiConnectClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: SSMGuiConnectClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
12
|
+
}) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSMGuiConnectHttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
|
+
logger: import("@smithy/types").Logger;
|
|
17
|
+
serviceId: string;
|
|
18
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SSMGuiConnectExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: SSMGuiConnectExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DeleteConnectionRecordingPreferencesCommandInput,
|
|
4
|
+
DeleteConnectionRecordingPreferencesCommandOutput,
|
|
5
|
+
} from "./commands/DeleteConnectionRecordingPreferencesCommand";
|
|
6
|
+
import {
|
|
7
|
+
GetConnectionRecordingPreferencesCommandInput,
|
|
8
|
+
GetConnectionRecordingPreferencesCommandOutput,
|
|
9
|
+
} from "./commands/GetConnectionRecordingPreferencesCommand";
|
|
10
|
+
import {
|
|
11
|
+
UpdateConnectionRecordingPreferencesCommandInput,
|
|
12
|
+
UpdateConnectionRecordingPreferencesCommandOutput,
|
|
13
|
+
} from "./commands/UpdateConnectionRecordingPreferencesCommand";
|
|
14
|
+
import { SSMGuiConnectClient } from "./SSMGuiConnectClient";
|
|
15
|
+
export interface SSMGuiConnect {
|
|
16
|
+
deleteConnectionRecordingPreferences(): Promise<DeleteConnectionRecordingPreferencesCommandOutput>;
|
|
17
|
+
deleteConnectionRecordingPreferences(
|
|
18
|
+
args: DeleteConnectionRecordingPreferencesCommandInput,
|
|
19
|
+
options?: __HttpHandlerOptions
|
|
20
|
+
): Promise<DeleteConnectionRecordingPreferencesCommandOutput>;
|
|
21
|
+
deleteConnectionRecordingPreferences(
|
|
22
|
+
args: DeleteConnectionRecordingPreferencesCommandInput,
|
|
23
|
+
cb: (
|
|
24
|
+
err: any,
|
|
25
|
+
data?: DeleteConnectionRecordingPreferencesCommandOutput
|
|
26
|
+
) => void
|
|
27
|
+
): void;
|
|
28
|
+
deleteConnectionRecordingPreferences(
|
|
29
|
+
args: DeleteConnectionRecordingPreferencesCommandInput,
|
|
30
|
+
options: __HttpHandlerOptions,
|
|
31
|
+
cb: (
|
|
32
|
+
err: any,
|
|
33
|
+
data?: DeleteConnectionRecordingPreferencesCommandOutput
|
|
34
|
+
) => void
|
|
35
|
+
): void;
|
|
36
|
+
getConnectionRecordingPreferences(): Promise<GetConnectionRecordingPreferencesCommandOutput>;
|
|
37
|
+
getConnectionRecordingPreferences(
|
|
38
|
+
args: GetConnectionRecordingPreferencesCommandInput,
|
|
39
|
+
options?: __HttpHandlerOptions
|
|
40
|
+
): Promise<GetConnectionRecordingPreferencesCommandOutput>;
|
|
41
|
+
getConnectionRecordingPreferences(
|
|
42
|
+
args: GetConnectionRecordingPreferencesCommandInput,
|
|
43
|
+
cb: (
|
|
44
|
+
err: any,
|
|
45
|
+
data?: GetConnectionRecordingPreferencesCommandOutput
|
|
46
|
+
) => void
|
|
47
|
+
): void;
|
|
48
|
+
getConnectionRecordingPreferences(
|
|
49
|
+
args: GetConnectionRecordingPreferencesCommandInput,
|
|
50
|
+
options: __HttpHandlerOptions,
|
|
51
|
+
cb: (
|
|
52
|
+
err: any,
|
|
53
|
+
data?: GetConnectionRecordingPreferencesCommandOutput
|
|
54
|
+
) => void
|
|
55
|
+
): void;
|
|
56
|
+
updateConnectionRecordingPreferences(
|
|
57
|
+
args: UpdateConnectionRecordingPreferencesCommandInput,
|
|
58
|
+
options?: __HttpHandlerOptions
|
|
59
|
+
): Promise<UpdateConnectionRecordingPreferencesCommandOutput>;
|
|
60
|
+
updateConnectionRecordingPreferences(
|
|
61
|
+
args: UpdateConnectionRecordingPreferencesCommandInput,
|
|
62
|
+
cb: (
|
|
63
|
+
err: any,
|
|
64
|
+
data?: UpdateConnectionRecordingPreferencesCommandOutput
|
|
65
|
+
) => void
|
|
66
|
+
): void;
|
|
67
|
+
updateConnectionRecordingPreferences(
|
|
68
|
+
args: UpdateConnectionRecordingPreferencesCommandInput,
|
|
69
|
+
options: __HttpHandlerOptions,
|
|
70
|
+
cb: (
|
|
71
|
+
err: any,
|
|
72
|
+
data?: UpdateConnectionRecordingPreferencesCommandOutput
|
|
73
|
+
) => void
|
|
74
|
+
): void;
|
|
75
|
+
}
|
|
76
|
+
export declare class SSMGuiConnect
|
|
77
|
+
extends SSMGuiConnectClient
|
|
78
|
+
implements SSMGuiConnect {}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
Client as __Client,
|
|
24
|
+
DefaultsMode as __DefaultsMode,
|
|
25
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
26
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
30
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
StreamCollector as __StreamCollector,
|
|
41
|
+
UrlParser as __UrlParser,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
DeleteConnectionRecordingPreferencesCommandInput,
|
|
50
|
+
DeleteConnectionRecordingPreferencesCommandOutput,
|
|
51
|
+
} from "./commands/DeleteConnectionRecordingPreferencesCommand";
|
|
52
|
+
import {
|
|
53
|
+
GetConnectionRecordingPreferencesCommandInput,
|
|
54
|
+
GetConnectionRecordingPreferencesCommandOutput,
|
|
55
|
+
} from "./commands/GetConnectionRecordingPreferencesCommand";
|
|
56
|
+
import {
|
|
57
|
+
UpdateConnectionRecordingPreferencesCommandInput,
|
|
58
|
+
UpdateConnectionRecordingPreferencesCommandOutput,
|
|
59
|
+
} from "./commands/UpdateConnectionRecordingPreferencesCommand";
|
|
60
|
+
import {
|
|
61
|
+
ClientInputEndpointParameters,
|
|
62
|
+
ClientResolvedEndpointParameters,
|
|
63
|
+
EndpointParameters,
|
|
64
|
+
} from "./endpoint/EndpointParameters";
|
|
65
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
66
|
+
export { __Client };
|
|
67
|
+
export type ServiceInputTypes =
|
|
68
|
+
| DeleteConnectionRecordingPreferencesCommandInput
|
|
69
|
+
| GetConnectionRecordingPreferencesCommandInput
|
|
70
|
+
| UpdateConnectionRecordingPreferencesCommandInput;
|
|
71
|
+
export type ServiceOutputTypes =
|
|
72
|
+
| DeleteConnectionRecordingPreferencesCommandOutput
|
|
73
|
+
| GetConnectionRecordingPreferencesCommandOutput
|
|
74
|
+
| UpdateConnectionRecordingPreferencesCommandOutput;
|
|
75
|
+
export interface ClientDefaults
|
|
76
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
77
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
78
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
79
|
+
urlParser?: __UrlParser;
|
|
80
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
81
|
+
streamCollector?: __StreamCollector;
|
|
82
|
+
base64Decoder?: __Decoder;
|
|
83
|
+
base64Encoder?: __Encoder;
|
|
84
|
+
utf8Decoder?: __Decoder;
|
|
85
|
+
utf8Encoder?: __Encoder;
|
|
86
|
+
runtime?: string;
|
|
87
|
+
disableHostPrefix?: boolean;
|
|
88
|
+
serviceId?: string;
|
|
89
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
90
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
91
|
+
region?: string | __Provider<string>;
|
|
92
|
+
profile?: string;
|
|
93
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
94
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
95
|
+
maxAttempts?: number | __Provider<number>;
|
|
96
|
+
retryMode?: string | __Provider<string>;
|
|
97
|
+
logger?: __Logger;
|
|
98
|
+
extensions?: RuntimeExtension[];
|
|
99
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
100
|
+
}
|
|
101
|
+
export type SSMGuiConnectClientConfigType = Partial<
|
|
102
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
103
|
+
> &
|
|
104
|
+
ClientDefaults &
|
|
105
|
+
UserAgentInputConfig &
|
|
106
|
+
RetryInputConfig &
|
|
107
|
+
RegionInputConfig &
|
|
108
|
+
HostHeaderInputConfig &
|
|
109
|
+
EndpointInputConfig<EndpointParameters> &
|
|
110
|
+
HttpAuthSchemeInputConfig &
|
|
111
|
+
ClientInputEndpointParameters;
|
|
112
|
+
export interface SSMGuiConnectClientConfig
|
|
113
|
+
extends SSMGuiConnectClientConfigType {}
|
|
114
|
+
export type SSMGuiConnectClientResolvedConfigType =
|
|
115
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
116
|
+
Required<ClientDefaults> &
|
|
117
|
+
RuntimeExtensionsConfig &
|
|
118
|
+
UserAgentResolvedConfig &
|
|
119
|
+
RetryResolvedConfig &
|
|
120
|
+
RegionResolvedConfig &
|
|
121
|
+
HostHeaderResolvedConfig &
|
|
122
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
123
|
+
HttpAuthSchemeResolvedConfig &
|
|
124
|
+
ClientResolvedEndpointParameters;
|
|
125
|
+
export interface SSMGuiConnectClientResolvedConfig
|
|
126
|
+
extends SSMGuiConnectClientResolvedConfigType {}
|
|
127
|
+
export declare class SSMGuiConnectClient extends __Client<
|
|
128
|
+
__HttpHandlerOptions,
|
|
129
|
+
ServiceInputTypes,
|
|
130
|
+
ServiceOutputTypes,
|
|
131
|
+
SSMGuiConnectClientResolvedConfig
|
|
132
|
+
> {
|
|
133
|
+
readonly config: SSMGuiConnectClientResolvedConfig;
|
|
134
|
+
constructor(
|
|
135
|
+
...[configuration]: __CheckOptionalClientConfig<SSMGuiConnectClientConfig>
|
|
136
|
+
);
|
|
137
|
+
destroy(): void;
|
|
138
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { SSMGuiConnectHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: SSMGuiConnectHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): SSMGuiConnectHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: SSMGuiConnectHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { SSMGuiConnectClientResolvedConfig } from "../SSMGuiConnectClient";
|
|
15
|
+
export interface SSMGuiConnectHttpAuthSchemeParameters
|
|
16
|
+
extends HttpAuthSchemeParameters {
|
|
17
|
+
region?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface SSMGuiConnectHttpAuthSchemeParametersProvider
|
|
20
|
+
extends HttpAuthSchemeParametersProvider<
|
|
21
|
+
SSMGuiConnectClientResolvedConfig,
|
|
22
|
+
HandlerExecutionContext,
|
|
23
|
+
SSMGuiConnectHttpAuthSchemeParameters,
|
|
24
|
+
object
|
|
25
|
+
> {}
|
|
26
|
+
export declare const defaultSSMGuiConnectHttpAuthSchemeParametersProvider: (
|
|
27
|
+
config: SSMGuiConnectClientResolvedConfig,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
input: object
|
|
30
|
+
) => Promise<SSMGuiConnectHttpAuthSchemeParameters>;
|
|
31
|
+
export interface SSMGuiConnectHttpAuthSchemeProvider
|
|
32
|
+
extends HttpAuthSchemeProvider<SSMGuiConnectHttpAuthSchemeParameters> {}
|
|
33
|
+
export declare const defaultSSMGuiConnectHttpAuthSchemeProvider: SSMGuiConnectHttpAuthSchemeProvider;
|
|
34
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
httpAuthSchemeProvider?: SSMGuiConnectHttpAuthSchemeProvider;
|
|
38
|
+
}
|
|
39
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
42
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
|
+
readonly httpAuthSchemeProvider: SSMGuiConnectHttpAuthSchemeProvider;
|
|
44
|
+
}
|
|
45
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
47
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DeleteConnectionRecordingPreferencesRequest,
|
|
5
|
+
DeleteConnectionRecordingPreferencesResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SSMGuiConnectClientResolvedConfig,
|
|
11
|
+
} from "../SSMGuiConnectClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteConnectionRecordingPreferencesCommandInput
|
|
15
|
+
extends DeleteConnectionRecordingPreferencesRequest {}
|
|
16
|
+
export interface DeleteConnectionRecordingPreferencesCommandOutput
|
|
17
|
+
extends DeleteConnectionRecordingPreferencesResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteConnectionRecordingPreferencesCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteConnectionRecordingPreferencesCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteConnectionRecordingPreferencesCommandInput,
|
|
24
|
+
DeleteConnectionRecordingPreferencesCommandOutput,
|
|
25
|
+
SSMGuiConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [DeleteConnectionRecordingPreferencesCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteConnectionRecordingPreferencesCommandInput,
|
|
33
|
+
DeleteConnectionRecordingPreferencesCommandOutput,
|
|
34
|
+
SSMGuiConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteConnectionRecordingPreferencesCommand extends DeleteConnectionRecordingPreferencesCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteConnectionRecordingPreferencesRequest;
|
|
44
|
+
output: DeleteConnectionRecordingPreferencesResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteConnectionRecordingPreferencesCommandInput;
|
|
48
|
+
output: DeleteConnectionRecordingPreferencesCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetConnectionRecordingPreferencesResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
SSMGuiConnectClientResolvedConfig,
|
|
8
|
+
} from "../SSMGuiConnectClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetConnectionRecordingPreferencesCommandInput {}
|
|
12
|
+
export interface GetConnectionRecordingPreferencesCommandOutput
|
|
13
|
+
extends GetConnectionRecordingPreferencesResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetConnectionRecordingPreferencesCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetConnectionRecordingPreferencesCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetConnectionRecordingPreferencesCommandInput,
|
|
20
|
+
GetConnectionRecordingPreferencesCommandOutput,
|
|
21
|
+
SSMGuiConnectClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [GetConnectionRecordingPreferencesCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetConnectionRecordingPreferencesCommandInput,
|
|
29
|
+
GetConnectionRecordingPreferencesCommandOutput,
|
|
30
|
+
SSMGuiConnectClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetConnectionRecordingPreferencesCommand extends GetConnectionRecordingPreferencesCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: {};
|
|
40
|
+
output: GetConnectionRecordingPreferencesResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetConnectionRecordingPreferencesCommandInput;
|
|
44
|
+
output: GetConnectionRecordingPreferencesCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateConnectionRecordingPreferencesRequest,
|
|
5
|
+
UpdateConnectionRecordingPreferencesResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SSMGuiConnectClientResolvedConfig,
|
|
11
|
+
} from "../SSMGuiConnectClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateConnectionRecordingPreferencesCommandInput
|
|
15
|
+
extends UpdateConnectionRecordingPreferencesRequest {}
|
|
16
|
+
export interface UpdateConnectionRecordingPreferencesCommandOutput
|
|
17
|
+
extends UpdateConnectionRecordingPreferencesResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateConnectionRecordingPreferencesCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateConnectionRecordingPreferencesCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateConnectionRecordingPreferencesCommandInput,
|
|
24
|
+
UpdateConnectionRecordingPreferencesCommandOutput,
|
|
25
|
+
SSMGuiConnectClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateConnectionRecordingPreferencesCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateConnectionRecordingPreferencesCommandInput,
|
|
33
|
+
UpdateConnectionRecordingPreferencesCommandOutput,
|
|
34
|
+
SSMGuiConnectClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateConnectionRecordingPreferencesCommand extends UpdateConnectionRecordingPreferencesCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateConnectionRecordingPreferencesRequest;
|
|
44
|
+
output: UpdateConnectionRecordingPreferencesResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateConnectionRecordingPreferencesCommandInput;
|
|
48
|
+
output: UpdateConnectionRecordingPreferencesCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | Provider<string>;
|
|
9
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
23
|
+
options: T & ClientInputEndpointParameters
|
|
24
|
+
) => T &
|
|
25
|
+
ClientInputEndpointParameters & {
|
|
26
|
+
defaultSigningName: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
Region?: string;
|
|
48
|
+
UseDualStack?: boolean;
|
|
49
|
+
UseFIPS?: boolean;
|
|
50
|
+
Endpoint?: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface SSMGuiConnectExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./SSMGuiConnectClient";
|
|
2
|
+
export * from "./SSMGuiConnect";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { SSMGuiConnectExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./models";
|
|
8
|
+
export { SSMGuiConnectServiceException } from "./models/SSMGuiConnectServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class SSMGuiConnectServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SSMGuiConnectServiceException as __BaseException } from "./SSMGuiConnectServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
export interface S3Bucket {
|
|
16
|
+
BucketOwner: string | undefined;
|
|
17
|
+
BucketName: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
export interface RecordingDestinations {
|
|
20
|
+
S3Buckets: S3Bucket[] | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface ConnectionRecordingPreferences {
|
|
23
|
+
RecordingDestinations: RecordingDestinations | undefined;
|
|
24
|
+
KMSKeyArn: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface DeleteConnectionRecordingPreferencesRequest {
|
|
27
|
+
ClientToken?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
export interface DeleteConnectionRecordingPreferencesResponse {
|
|
30
|
+
ClientToken?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare class InternalServerException extends __BaseException {
|
|
33
|
+
readonly name: "InternalServerException";
|
|
34
|
+
readonly $fault: "server";
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
40
|
+
readonly name: "ResourceNotFoundException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
47
|
+
readonly name: "ServiceQuotaExceededException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export declare class ThrottlingException extends __BaseException {
|
|
54
|
+
readonly name: "ThrottlingException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
constructor(
|
|
57
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export declare class ValidationException extends __BaseException {
|
|
61
|
+
readonly name: "ValidationException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
constructor(
|
|
64
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
export interface GetConnectionRecordingPreferencesResponse {
|
|
68
|
+
ClientToken?: string | undefined;
|
|
69
|
+
ConnectionRecordingPreferences?: ConnectionRecordingPreferences | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface UpdateConnectionRecordingPreferencesRequest {
|
|
72
|
+
ConnectionRecordingPreferences: ConnectionRecordingPreferences | undefined;
|
|
73
|
+
ClientToken?: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
export interface UpdateConnectionRecordingPreferencesResponse {
|
|
76
|
+
ClientToken?: string | undefined;
|
|
77
|
+
ConnectionRecordingPreferences?: ConnectionRecordingPreferences | undefined;
|
|
78
|
+
}
|