@aws-sdk/client-uxc 3.1017.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 +202 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +206 -0
- package/dist-cjs/models/UxcServiceException.js +12 -0
- package/dist-cjs/models/errors.js +58 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +119 -0
- package/dist-es/Uxc.js +17 -0
- package/dist-es/UxcClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/GetAccountCustomizationsCommand.js +16 -0
- package/dist-es/commands/ListServicesCommand.js +16 -0
- package/dist-es/commands/UpdateAccountCustomizationsCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -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 +9 -0
- package/dist-es/models/UxcServiceException.js +8 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/models/errors.js +51 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListServicesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +116 -0
- package/dist-types/Uxc.d.ts +41 -0
- package/dist-types/UxcClient.d.ts +190 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/GetAccountCustomizationsCommand.d.ts +111 -0
- package/dist-types/commands/ListServicesCommand.d.ts +108 -0
- package/dist-types/commands/UpdateAccountCustomizationsCommand.d.ts +127 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +17 -0
- package/dist-types/models/UxcServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +20 -0
- package/dist-types/models/errors.d.ts +56 -0
- package/dist-types/models/models_0.d.ts +112 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +23 -0
- package/dist-types/ts3.4/Uxc.d.ts +70 -0
- package/dist-types/ts3.4/UxcClient.d.ts +134 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetAccountCustomizationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateAccountCustomizationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -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 +12 -0
- package/dist-types/ts3.4/models/UxcServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/errors.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/package.json +100 -0
|
@@ -0,0 +1,134 @@
|
|
|
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
|
+
DefaultsMode as __DefaultsMode,
|
|
24
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
25
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
+
Decoder as __Decoder,
|
|
33
|
+
Encoder as __Encoder,
|
|
34
|
+
HashConstructor as __HashConstructor,
|
|
35
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
36
|
+
Logger as __Logger,
|
|
37
|
+
Provider as __Provider,
|
|
38
|
+
StreamCollector as __StreamCollector,
|
|
39
|
+
UrlParser as __UrlParser,
|
|
40
|
+
AwsCredentialIdentityProvider,
|
|
41
|
+
Provider,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
GetAccountCustomizationsCommandInput,
|
|
50
|
+
GetAccountCustomizationsCommandOutput,
|
|
51
|
+
} from "./commands/GetAccountCustomizationsCommand";
|
|
52
|
+
import {
|
|
53
|
+
ListServicesCommandInput,
|
|
54
|
+
ListServicesCommandOutput,
|
|
55
|
+
} from "./commands/ListServicesCommand";
|
|
56
|
+
import {
|
|
57
|
+
UpdateAccountCustomizationsCommandInput,
|
|
58
|
+
UpdateAccountCustomizationsCommandOutput,
|
|
59
|
+
} from "./commands/UpdateAccountCustomizationsCommand";
|
|
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
|
+
| GetAccountCustomizationsCommandInput
|
|
69
|
+
| ListServicesCommandInput
|
|
70
|
+
| UpdateAccountCustomizationsCommandInput;
|
|
71
|
+
export type ServiceOutputTypes =
|
|
72
|
+
| GetAccountCustomizationsCommandOutput
|
|
73
|
+
| ListServicesCommandOutput
|
|
74
|
+
| UpdateAccountCustomizationsCommandOutput;
|
|
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 UxcClientConfigType = 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 UxcClientConfig extends UxcClientConfigType {}
|
|
113
|
+
export type UxcClientResolvedConfigType =
|
|
114
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
115
|
+
Required<ClientDefaults> &
|
|
116
|
+
RuntimeExtensionsConfig &
|
|
117
|
+
UserAgentResolvedConfig &
|
|
118
|
+
RetryResolvedConfig &
|
|
119
|
+
RegionResolvedConfig &
|
|
120
|
+
HostHeaderResolvedConfig &
|
|
121
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
122
|
+
HttpAuthSchemeResolvedConfig &
|
|
123
|
+
ClientResolvedEndpointParameters;
|
|
124
|
+
export interface UxcClientResolvedConfig extends UxcClientResolvedConfigType {}
|
|
125
|
+
export declare class UxcClient extends __Client<
|
|
126
|
+
__HttpHandlerOptions,
|
|
127
|
+
ServiceInputTypes,
|
|
128
|
+
ServiceOutputTypes,
|
|
129
|
+
UxcClientResolvedConfig
|
|
130
|
+
> {
|
|
131
|
+
readonly config: UxcClientResolvedConfig;
|
|
132
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<UxcClientConfig>);
|
|
133
|
+
destroy(): void;
|
|
134
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpAuthScheme,
|
|
3
|
+
AwsCredentialIdentity,
|
|
4
|
+
AwsCredentialIdentityProvider,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { UxcHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: UxcHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): UxcHttpAuthSchemeProvider;
|
|
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: UxcHttpAuthSchemeProvider;
|
|
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,46 @@
|
|
|
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 { UxcClientResolvedConfig } from "../UxcClient";
|
|
15
|
+
export interface UxcHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface UxcHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
UxcClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
UxcHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultUxcHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: UxcClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<UxcHttpAuthSchemeParameters>;
|
|
30
|
+
export interface UxcHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<UxcHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultUxcHttpAuthSchemeProvider: UxcHttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
35
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
36
|
+
httpAuthSchemeProvider?: UxcHttpAuthSchemeProvider;
|
|
37
|
+
}
|
|
38
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
39
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
40
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
41
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
42
|
+
readonly httpAuthSchemeProvider: UxcHttpAuthSchemeProvider;
|
|
43
|
+
}
|
|
44
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
45
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
46
|
+
) => 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
|
+
GetAccountCustomizationsInput,
|
|
5
|
+
GetAccountCustomizationsOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
UxcClientResolvedConfig,
|
|
11
|
+
} from "../UxcClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetAccountCustomizationsCommandInput
|
|
15
|
+
extends GetAccountCustomizationsInput {}
|
|
16
|
+
export interface GetAccountCustomizationsCommandOutput
|
|
17
|
+
extends GetAccountCustomizationsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetAccountCustomizationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetAccountCustomizationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetAccountCustomizationsCommandInput,
|
|
24
|
+
GetAccountCustomizationsCommandOutput,
|
|
25
|
+
UxcClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [GetAccountCustomizationsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetAccountCustomizationsCommandInput,
|
|
33
|
+
GetAccountCustomizationsCommandOutput,
|
|
34
|
+
UxcClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetAccountCustomizationsCommand extends GetAccountCustomizationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: {};
|
|
44
|
+
output: GetAccountCustomizationsOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetAccountCustomizationsCommandInput;
|
|
48
|
+
output: GetAccountCustomizationsCommandOutput;
|
|
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 { ListServicesInput, ListServicesOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
UxcClientResolvedConfig,
|
|
8
|
+
} from "../UxcClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListServicesCommandInput extends ListServicesInput {}
|
|
12
|
+
export interface ListServicesCommandOutput
|
|
13
|
+
extends ListServicesOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListServicesCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListServicesCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListServicesCommandInput,
|
|
20
|
+
ListServicesCommandOutput,
|
|
21
|
+
UxcClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [ListServicesCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListServicesCommandInput,
|
|
29
|
+
ListServicesCommandOutput,
|
|
30
|
+
UxcClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListServicesCommand extends ListServicesCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListServicesInput;
|
|
40
|
+
output: ListServicesOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListServicesCommandInput;
|
|
44
|
+
output: ListServicesCommandOutput;
|
|
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
|
+
UpdateAccountCustomizationsInput,
|
|
5
|
+
UpdateAccountCustomizationsOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
UxcClientResolvedConfig,
|
|
11
|
+
} from "../UxcClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateAccountCustomizationsCommandInput
|
|
15
|
+
extends UpdateAccountCustomizationsInput {}
|
|
16
|
+
export interface UpdateAccountCustomizationsCommandOutput
|
|
17
|
+
extends UpdateAccountCustomizationsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateAccountCustomizationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateAccountCustomizationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateAccountCustomizationsCommandInput,
|
|
24
|
+
UpdateAccountCustomizationsCommandOutput,
|
|
25
|
+
UxcClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [UpdateAccountCustomizationsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateAccountCustomizationsCommandInput,
|
|
33
|
+
UpdateAccountCustomizationsCommandOutput,
|
|
34
|
+
UxcClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateAccountCustomizationsCommand extends UpdateAccountCustomizationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateAccountCustomizationsInput;
|
|
44
|
+
output: UpdateAccountCustomizationsOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateAccountCustomizationsCommandInput;
|
|
48
|
+
output: UpdateAccountCustomizationsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| string
|
|
11
|
+
| Provider<string>
|
|
12
|
+
| Endpoint
|
|
13
|
+
| Provider<Endpoint>
|
|
14
|
+
| EndpointV2
|
|
15
|
+
| Provider<EndpointV2>;
|
|
16
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
17
|
+
}
|
|
18
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
19
|
+
ClientInputEndpointParameters,
|
|
20
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
21
|
+
> & {
|
|
22
|
+
defaultSigningName: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
+
options: T & ClientInputEndpointParameters
|
|
26
|
+
) => T & ClientResolvedEndpointParameters;
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
42
|
+
UseFIPS?: boolean | undefined;
|
|
43
|
+
Endpoint?: string | undefined;
|
|
44
|
+
Region?: string | undefined;
|
|
45
|
+
}
|
|
@@ -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 UxcExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./UxcClient";
|
|
2
|
+
export * from "./Uxc";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { UxcExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./pagination";
|
|
9
|
+
export * from "./models/enums";
|
|
10
|
+
export * from "./models/errors";
|
|
11
|
+
export * from "./models/models_0";
|
|
12
|
+
export { UxcServiceException } from "./models/UxcServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
|
+
ServiceException as __ServiceException,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class UxcServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const AccountColor: {
|
|
2
|
+
readonly DARKBLUE: "darkBlue";
|
|
3
|
+
readonly GREEN: "green";
|
|
4
|
+
readonly LIGHTBLUE: "lightBlue";
|
|
5
|
+
readonly NONE: "none";
|
|
6
|
+
readonly ORANGE: "orange";
|
|
7
|
+
readonly PINK: "pink";
|
|
8
|
+
readonly PURPLE: "purple";
|
|
9
|
+
readonly RED: "red";
|
|
10
|
+
readonly TEAL: "teal";
|
|
11
|
+
readonly YELLOW: "yellow";
|
|
12
|
+
};
|
|
13
|
+
export type AccountColor = (typeof AccountColor)[keyof typeof AccountColor];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionField } from "./models_0";
|
|
3
|
+
import { UxcServiceException as __BaseException } from "./UxcServiceException";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class InternalServerException extends __BaseException {
|
|
12
|
+
readonly name: "InternalServerException";
|
|
13
|
+
readonly $fault: "server";
|
|
14
|
+
constructor(
|
|
15
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export declare class ThrottlingException extends __BaseException {
|
|
19
|
+
readonly name: "ThrottlingException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class ValidationException extends __BaseException {
|
|
26
|
+
readonly name: "ValidationException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
29
|
+
constructor(
|
|
30
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AccountColor } from "./enums";
|
|
2
|
+
export interface GetAccountCustomizationsInput {}
|
|
3
|
+
export interface GetAccountCustomizationsOutput {
|
|
4
|
+
accountColor?: AccountColor | undefined;
|
|
5
|
+
visibleServices?: string[] | undefined;
|
|
6
|
+
visibleRegions?: string[] | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface ValidationExceptionField {
|
|
9
|
+
path: string | undefined;
|
|
10
|
+
message: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface ListServicesInput {
|
|
13
|
+
nextToken?: string | undefined;
|
|
14
|
+
maxResults?: number | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface ListServicesOutput {
|
|
17
|
+
nextToken?: string | undefined;
|
|
18
|
+
services?: string[] | undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface UpdateAccountCustomizationsInput {
|
|
21
|
+
accountColor?: AccountColor | undefined;
|
|
22
|
+
visibleServices?: string[] | undefined;
|
|
23
|
+
visibleRegions?: string[] | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface UpdateAccountCustomizationsOutput {
|
|
26
|
+
accountColor?: AccountColor | undefined;
|
|
27
|
+
visibleServices?: string[] | undefined;
|
|
28
|
+
visibleRegions?: string[] | undefined;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListServicesCommandInput,
|
|
4
|
+
ListServicesCommandOutput,
|
|
5
|
+
} from "../commands/ListServicesCommand";
|
|
6
|
+
import { UxcPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListServices: (
|
|
8
|
+
config: UxcPaginationConfiguration,
|
|
9
|
+
input: ListServicesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListServicesCommandOutput>;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { UxcClientConfig } from "./UxcClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: UxcClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
|
+
defaultUserAgentProvider: (
|
|
15
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
disableHostPrefix: boolean;
|
|
45
|
+
serviceId: string;
|
|
46
|
+
profile?: string;
|
|
47
|
+
logger: import("@smithy/types").Logger;
|
|
48
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
|
+
userAgentAppId?:
|
|
51
|
+
| string
|
|
52
|
+
| undefined
|
|
53
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?:
|
|
55
|
+
| import("@smithy/types").RetryStrategy
|
|
56
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
57
|
+
endpoint?:
|
|
58
|
+
| ((
|
|
59
|
+
| string
|
|
60
|
+
| import("@smithy/types").Endpoint
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
|
+
| import("@smithy/types").EndpointV2
|
|
63
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
|
+
) &
|
|
65
|
+
(
|
|
66
|
+
| string
|
|
67
|
+
| import("@smithy/types").Provider<string>
|
|
68
|
+
| import("@smithy/types").Endpoint
|
|
69
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
70
|
+
| import("@smithy/types").EndpointV2
|
|
71
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
72
|
+
))
|
|
73
|
+
| undefined;
|
|
74
|
+
endpointProvider: (
|
|
75
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
76
|
+
context?: {
|
|
77
|
+
logger?: import("@smithy/types").Logger;
|
|
78
|
+
}
|
|
79
|
+
) => import("@smithy/types").EndpointV2;
|
|
80
|
+
tls?: boolean;
|
|
81
|
+
serviceConfiguredEndpoint?: never;
|
|
82
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
83
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
84
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").UxcHttpAuthSchemeProvider;
|
|
85
|
+
credentials?:
|
|
86
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
87
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
88
|
+
signer?:
|
|
89
|
+
| import("@smithy/types").RequestSigner
|
|
90
|
+
| ((
|
|
91
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
92
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
93
|
+
signingEscapePath?: boolean;
|
|
94
|
+
systemClockOffset?: number;
|
|
95
|
+
signingRegion?: string;
|
|
96
|
+
signerConstructor?: new (
|
|
97
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
98
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
99
|
+
) => import("@smithy/types").RequestSigner;
|
|
100
|
+
};
|