@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.
Files changed (92) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +202 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +206 -0
  7. package/dist-cjs/models/UxcServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +58 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +53 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +119 -0
  14. package/dist-es/Uxc.js +17 -0
  15. package/dist-es/UxcClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/GetAccountCustomizationsCommand.js +16 -0
  19. package/dist-es/commands/ListServicesCommand.js +16 -0
  20. package/dist-es/commands/UpdateAccountCustomizationsCommand.js +16 -0
  21. package/dist-es/commands/index.js +3 -0
  22. package/dist-es/endpoint/EndpointParameters.js +11 -0
  23. package/dist-es/endpoint/endpointResolver.js +14 -0
  24. package/dist-es/endpoint/ruleset.js +4 -0
  25. package/dist-es/extensionConfiguration.js +1 -0
  26. package/dist-es/index.js +9 -0
  27. package/dist-es/models/UxcServiceException.js +8 -0
  28. package/dist-es/models/enums.js +12 -0
  29. package/dist-es/models/errors.js +51 -0
  30. package/dist-es/models/models_0.js +1 -0
  31. package/dist-es/pagination/Interfaces.js +1 -0
  32. package/dist-es/pagination/ListServicesPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +2 -0
  34. package/dist-es/runtimeConfig.browser.js +33 -0
  35. package/dist-es/runtimeConfig.js +48 -0
  36. package/dist-es/runtimeConfig.native.js +11 -0
  37. package/dist-es/runtimeConfig.shared.js +39 -0
  38. package/dist-es/runtimeExtensions.js +9 -0
  39. package/dist-es/schemas/schemas_0.js +116 -0
  40. package/dist-types/Uxc.d.ts +41 -0
  41. package/dist-types/UxcClient.d.ts +190 -0
  42. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  43. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  44. package/dist-types/commands/GetAccountCustomizationsCommand.d.ts +111 -0
  45. package/dist-types/commands/ListServicesCommand.d.ts +108 -0
  46. package/dist-types/commands/UpdateAccountCustomizationsCommand.d.ts +127 -0
  47. package/dist-types/commands/index.d.ts +3 -0
  48. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  49. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  50. package/dist-types/endpoint/ruleset.d.ts +2 -0
  51. package/dist-types/extensionConfiguration.d.ts +9 -0
  52. package/dist-types/index.d.ts +17 -0
  53. package/dist-types/models/UxcServiceException.d.ts +14 -0
  54. package/dist-types/models/enums.d.ts +20 -0
  55. package/dist-types/models/errors.d.ts +56 -0
  56. package/dist-types/models/models_0.d.ts +112 -0
  57. package/dist-types/pagination/Interfaces.d.ts +8 -0
  58. package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
  59. package/dist-types/pagination/index.d.ts +2 -0
  60. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  61. package/dist-types/runtimeConfig.d.ts +55 -0
  62. package/dist-types/runtimeConfig.native.d.ts +54 -0
  63. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  64. package/dist-types/runtimeExtensions.d.ts +17 -0
  65. package/dist-types/schemas/schemas_0.d.ts +23 -0
  66. package/dist-types/ts3.4/Uxc.d.ts +70 -0
  67. package/dist-types/ts3.4/UxcClient.d.ts +134 -0
  68. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  69. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
  70. package/dist-types/ts3.4/commands/GetAccountCustomizationsCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +47 -0
  72. package/dist-types/ts3.4/commands/UpdateAccountCustomizationsCommand.d.ts +51 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  74. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  75. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  76. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  77. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  78. package/dist-types/ts3.4/index.d.ts +12 -0
  79. package/dist-types/ts3.4/models/UxcServiceException.d.ts +9 -0
  80. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  81. package/dist-types/ts3.4/models/errors.d.ts +32 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +29 -0
  83. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  84. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
  85. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  86. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  87. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  88. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  89. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  90. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  92. package/package.json +100 -0
@@ -0,0 +1,190 @@
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { GetAccountCustomizationsCommandInput, GetAccountCustomizationsCommandOutput } from "./commands/GetAccountCustomizationsCommand";
11
+ import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
12
+ import { UpdateAccountCustomizationsCommandInput, UpdateAccountCustomizationsCommandOutput } from "./commands/UpdateAccountCustomizationsCommand";
13
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
14
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
15
+ export { __Client };
16
+ /**
17
+ * @public
18
+ */
19
+ export type ServiceInputTypes = GetAccountCustomizationsCommandInput | ListServicesCommandInput | UpdateAccountCustomizationsCommandInput;
20
+ /**
21
+ * @public
22
+ */
23
+ export type ServiceOutputTypes = GetAccountCustomizationsCommandOutput | ListServicesCommandOutput | UpdateAccountCustomizationsCommandOutput;
24
+ /**
25
+ * @public
26
+ */
27
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
28
+ /**
29
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
30
+ */
31
+ requestHandler?: __HttpHandlerUserInput;
32
+ /**
33
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
34
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
35
+ * @internal
36
+ */
37
+ sha256?: __ChecksumConstructor | __HashConstructor;
38
+ /**
39
+ * The function that will be used to convert strings into HTTP endpoints.
40
+ * @internal
41
+ */
42
+ urlParser?: __UrlParser;
43
+ /**
44
+ * A function that can calculate the length of a request body.
45
+ * @internal
46
+ */
47
+ bodyLengthChecker?: __BodyLengthCalculator;
48
+ /**
49
+ * A function that converts a stream into an array of bytes.
50
+ * @internal
51
+ */
52
+ streamCollector?: __StreamCollector;
53
+ /**
54
+ * The function that will be used to convert a base64-encoded string to a byte array.
55
+ * @internal
56
+ */
57
+ base64Decoder?: __Decoder;
58
+ /**
59
+ * The function that will be used to convert binary data to a base64-encoded string.
60
+ * @internal
61
+ */
62
+ base64Encoder?: __Encoder;
63
+ /**
64
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
65
+ * @internal
66
+ */
67
+ utf8Decoder?: __Decoder;
68
+ /**
69
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
70
+ * @internal
71
+ */
72
+ utf8Encoder?: __Encoder;
73
+ /**
74
+ * The runtime environment.
75
+ * @internal
76
+ */
77
+ runtime?: string;
78
+ /**
79
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
80
+ * trait of an operation.
81
+ */
82
+ disableHostPrefix?: boolean;
83
+ /**
84
+ * Unique service identifier.
85
+ * @internal
86
+ */
87
+ serviceId?: string;
88
+ /**
89
+ * Enables IPv6/IPv4 dualstack endpoint.
90
+ */
91
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
92
+ /**
93
+ * Enables FIPS compatible endpoints.
94
+ */
95
+ useFipsEndpoint?: boolean | __Provider<boolean>;
96
+ /**
97
+ * The AWS region to which this client will send requests
98
+ */
99
+ region?: string | __Provider<string>;
100
+ /**
101
+ * Setting a client profile is similar to setting a value for the
102
+ * AWS_PROFILE environment variable. Setting a profile on a client
103
+ * in code only affects the single client instance, unlike AWS_PROFILE.
104
+ *
105
+ * When set, and only for environments where an AWS configuration
106
+ * file exists, fields configurable by this file will be retrieved
107
+ * from the specified profile within that file.
108
+ * Conflicting code configuration and environment variables will
109
+ * still have higher priority.
110
+ *
111
+ * For client credential resolution that involves checking the AWS
112
+ * configuration file, the client's profile (this value) will be
113
+ * used unless a different profile is set in the credential
114
+ * provider options.
115
+ *
116
+ */
117
+ profile?: string;
118
+ /**
119
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
120
+ * @internal
121
+ */
122
+ defaultUserAgentProvider?: Provider<__UserAgent>;
123
+ /**
124
+ * Default credentials provider; Not available in browser runtime.
125
+ * @deprecated
126
+ * @internal
127
+ */
128
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
129
+ /**
130
+ * Value for how many times a request will be made at most in case of retry.
131
+ */
132
+ maxAttempts?: number | __Provider<number>;
133
+ /**
134
+ * Specifies which retry algorithm to use.
135
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
136
+ *
137
+ */
138
+ retryMode?: string | __Provider<string>;
139
+ /**
140
+ * Optional logger for logging debug/info/warn/error.
141
+ */
142
+ logger?: __Logger;
143
+ /**
144
+ * Optional extensions
145
+ */
146
+ extensions?: RuntimeExtension[];
147
+ /**
148
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
149
+ */
150
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
151
+ }
152
+ /**
153
+ * @public
154
+ */
155
+ export type UxcClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
156
+ /**
157
+ * @public
158
+ *
159
+ * The configuration interface of UxcClient class constructor that set the region, credentials and other options.
160
+ */
161
+ export interface UxcClientConfig extends UxcClientConfigType {
162
+ }
163
+ /**
164
+ * @public
165
+ */
166
+ export type UxcClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
167
+ /**
168
+ * @public
169
+ *
170
+ * The resolved configuration interface of UxcClient class. This is resolved and normalized from the {@link UxcClientConfig | constructor configuration interface}.
171
+ */
172
+ export interface UxcClientResolvedConfig extends UxcClientResolvedConfigType {
173
+ }
174
+ /**
175
+ * <p>This is the Amazon Web Services User Experience Customization (UXC) API Reference. Amazon Web Services User Experience Customization (UXC) is a utility that provides programmatic access to enable account administrators to customize the visual appearance of the Amazon Web Services Management Console and manage these settings at the account level.</p> <note> <p>The <code>visibleServices</code> and <code>visibleRegions</code> settings control only the appearance of services and Regions in the Amazon Web Services Management Console. They do not restrict access through the CLI, SDKs, or other APIs.</p> </note> <p>For more information about UXC features and console procedures, see <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/getting-started-uxc.html">Getting started with Amazon Web Services User Experience Customization</a>. For information about required permissions, see <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/security_iam.html">Identity and access management for Amazon Web Services Management Console</a>.</p>
176
+ * @public
177
+ */
178
+ export declare class UxcClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, UxcClientResolvedConfig> {
179
+ /**
180
+ * The resolved configuration of UxcClient class. This is resolved and normalized from the {@link UxcClientConfig | constructor configuration interface}.
181
+ */
182
+ readonly config: UxcClientResolvedConfig;
183
+ constructor(...[configuration]: __CheckOptionalClientConfig<UxcClientConfig>);
184
+ /**
185
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
186
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
187
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
188
+ */
189
+ destroy(): void;
190
+ }
@@ -0,0 +1,29 @@
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { UxcHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: UxcHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): UxcHttpAuthSchemeProvider;
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: UxcHttpAuthSchemeProvider;
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,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type UxcClientResolvedConfig } from "../UxcClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface UxcHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface UxcHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<UxcClientResolvedConfig, HandlerExecutionContext, UxcHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultUxcHttpAuthSchemeParametersProvider: (config: UxcClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<UxcHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface UxcHttpAuthSchemeProvider extends HttpAuthSchemeProvider<UxcHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultUxcHttpAuthSchemeProvider: UxcHttpAuthSchemeProvider;
28
+ /**
29
+ * @public
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: UxcHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: UxcHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetAccountCustomizationsInput, GetAccountCustomizationsOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, UxcClientResolvedConfig } from "../UxcClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetAccountCustomizationsCommand}.
14
+ */
15
+ export interface GetAccountCustomizationsCommandInput extends GetAccountCustomizationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetAccountCustomizationsCommand}.
21
+ */
22
+ export interface GetAccountCustomizationsCommandOutput extends GetAccountCustomizationsOutput, __MetadataBearer {
23
+ }
24
+ declare const GetAccountCustomizationsCommand_base: {
25
+ new (input: GetAccountCustomizationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountCustomizationsCommandInput, GetAccountCustomizationsCommandOutput, UxcClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetAccountCustomizationsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetAccountCustomizationsCommandInput, GetAccountCustomizationsCommandOutput, UxcClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the current account customization settings, including account color, visible services, and visible Regions. Settings that you have not configured return their default values: visible Regions and visible services return `null`, and account color returns `none`.</p> <note> <p>The <code>visibleServices</code> and <code>visibleRegions</code> settings control only the appearance of services and Regions in the Amazon Web Services Management Console. They do not restrict access through the CLI, SDKs, or other APIs.</p> </note>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UxcClient, GetAccountCustomizationsCommand } from "@aws-sdk/client-uxc"; // ES Modules import
35
+ * // const { UxcClient, GetAccountCustomizationsCommand } = require("@aws-sdk/client-uxc"); // CommonJS import
36
+ * // import type { UxcClientConfig } from "@aws-sdk/client-uxc";
37
+ * const config = {}; // type is UxcClientConfig
38
+ * const client = new UxcClient(config);
39
+ * const input = {};
40
+ * const command = new GetAccountCustomizationsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetAccountCustomizationsOutput
43
+ * // accountColor: "none" || "pink" || "purple" || "darkBlue" || "lightBlue" || "teal" || "green" || "yellow" || "orange" || "red",
44
+ * // visibleServices: [ // ServiceList
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // visibleRegions: [ // RegionsList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param GetAccountCustomizationsCommandInput - {@link GetAccountCustomizationsCommandInput}
55
+ * @returns {@link GetAccountCustomizationsCommandOutput}
56
+ * @see {@link GetAccountCustomizationsCommandInput} for command's `input` shape.
57
+ * @see {@link GetAccountCustomizationsCommandOutput} for command's `response` shape.
58
+ * @see {@link UxcClientResolvedConfig | config} for UxcClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You don't have sufficient access to perform this operation. Verify that your IAM policy includes the required <code>uxc:</code> permissions for the operation that you are calling. For more information on IAM permissions, see <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/security-iam-awsmanpol.html">Amazon Web Services managed policies for Amazon Web Services Management Console</a>.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The service encountered an internal error. Try your request again later.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied because of request throttling. Reduce the frequency of your requests.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
71
+ *
72
+ * @throws {@link UxcServiceException}
73
+ * <p>Base exception class for all service exceptions from Uxc service.</p>
74
+ *
75
+ *
76
+ * @example Get account customizations
77
+ * ```javascript
78
+ * // Retrieves all account customization settings
79
+ * const input = { /* empty *\/ };
80
+ * const command = new GetAccountCustomizationsCommand(input);
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * {
84
+ * accountColor: "green",
85
+ * visibleRegions: [
86
+ * "us-east-1",
87
+ * "us-west-2"
88
+ * ],
89
+ * visibleServices: [
90
+ * "s3",
91
+ * "ec2"
92
+ * ]
93
+ * }
94
+ * *\/
95
+ * ```
96
+ *
97
+ * @public
98
+ */
99
+ export declare class GetAccountCustomizationsCommand extends GetAccountCustomizationsCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: {};
104
+ output: GetAccountCustomizationsOutput;
105
+ };
106
+ sdk: {
107
+ input: GetAccountCustomizationsCommandInput;
108
+ output: GetAccountCustomizationsCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListServicesInput, ListServicesOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, UxcClientResolvedConfig } from "../UxcClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListServicesCommand}.
14
+ */
15
+ export interface ListServicesCommandInput extends ListServicesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListServicesCommand}.
21
+ */
22
+ export interface ListServicesCommandOutput extends ListServicesOutput, __MetadataBearer {
23
+ }
24
+ declare const ListServicesCommand_base: {
25
+ new (input: ListServicesCommandInput): import("@smithy/smithy-client").CommandImpl<ListServicesCommandInput, ListServicesCommandOutput, UxcClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListServicesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListServicesCommandInput, ListServicesCommandOutput, UxcClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a paginated list of Amazon Web Services service identifiers that you can use as values for the <code>visibleServices</code> setting in <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/APIReference/API_UpdateAccountCustomizations.html">UpdateAccountCustomizations</a>. The available services vary by Amazon Web Services partition. Use pagination to retrieve all results.</p> <note> <p>The <code>visibleServices</code> setting controls only the appearance of services in the Amazon Web Services Management Console. It does not restrict access through the CLI, SDKs, or other APIs.</p> </note>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UxcClient, ListServicesCommand } from "@aws-sdk/client-uxc"; // ES Modules import
35
+ * // const { UxcClient, ListServicesCommand } = require("@aws-sdk/client-uxc"); // CommonJS import
36
+ * // import type { UxcClientConfig } from "@aws-sdk/client-uxc";
37
+ * const config = {}; // type is UxcClientConfig
38
+ * const client = new UxcClient(config);
39
+ * const input = { // ListServicesInput
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
43
+ * const command = new ListServicesCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListServicesOutput
46
+ * // nextToken: "STRING_VALUE",
47
+ * // services: [ // ServiceList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param ListServicesCommandInput - {@link ListServicesCommandInput}
55
+ * @returns {@link ListServicesCommandOutput}
56
+ * @see {@link ListServicesCommandInput} for command's `input` shape.
57
+ * @see {@link ListServicesCommandOutput} for command's `response` shape.
58
+ * @see {@link UxcClientResolvedConfig | config} for UxcClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You don't have sufficient access to perform this operation. Verify that your IAM policy includes the required <code>uxc:</code> permissions for the operation that you are calling. For more information on IAM permissions, see <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/security-iam-awsmanpol.html">Amazon Web Services managed policies for Amazon Web Services Management Console</a>.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>The service encountered an internal error. Try your request again later.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied because of request throttling. Reduce the frequency of your requests.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
71
+ *
72
+ * @throws {@link UxcServiceException}
73
+ * <p>Base exception class for all service exceptions from Uxc service.</p>
74
+ *
75
+ *
76
+ * @example List available services
77
+ * ```javascript
78
+ * // Retrieves a paginated list of available AWS services
79
+ * const input = { /* empty *\/ };
80
+ * const command = new ListServicesCommand(input);
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * {
84
+ * nextToken: "eyJhbGciOiJIUzI1NiJ91W342Gdcs259019",
85
+ * services: [
86
+ * "s3",
87
+ * "ec2",
88
+ * "lambda"
89
+ * ]
90
+ * }
91
+ * *\/
92
+ * ```
93
+ *
94
+ * @public
95
+ */
96
+ export declare class ListServicesCommand extends ListServicesCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: ListServicesInput;
101
+ output: ListServicesOutput;
102
+ };
103
+ sdk: {
104
+ input: ListServicesCommandInput;
105
+ output: ListServicesCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateAccountCustomizationsInput, UpdateAccountCustomizationsOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, UxcClientResolvedConfig } from "../UxcClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAccountCustomizationsCommand}.
14
+ */
15
+ export interface UpdateAccountCustomizationsCommandInput extends UpdateAccountCustomizationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAccountCustomizationsCommand}.
21
+ */
22
+ export interface UpdateAccountCustomizationsCommandOutput extends UpdateAccountCustomizationsOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateAccountCustomizationsCommand_base: {
25
+ new (input: UpdateAccountCustomizationsCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountCustomizationsCommandInput, UpdateAccountCustomizationsCommandOutput, UxcClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [UpdateAccountCustomizationsCommandInput]): import("@smithy/smithy-client").CommandImpl<UpdateAccountCustomizationsCommandInput, UpdateAccountCustomizationsCommandOutput, UxcClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates one or more account customization settings. You can update account color, visible services, and visible Regions in a single request. Only the settings that you include in the request body are modified. Omitted settings remain unchanged. To reset a setting to its default behavior, set the value to <code>null</code> for visible Regions and visible services, or <code>none</code> for account color. This operation is idempotent.</p> <note> <p>The <code>visibleServices</code> and <code>visibleRegions</code> settings control only the appearance of services and Regions in the Amazon Web Services Management Console. They do not restrict access through the CLI, SDKs, or other APIs.</p> </note>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { UxcClient, UpdateAccountCustomizationsCommand } from "@aws-sdk/client-uxc"; // ES Modules import
35
+ * // const { UxcClient, UpdateAccountCustomizationsCommand } = require("@aws-sdk/client-uxc"); // CommonJS import
36
+ * // import type { UxcClientConfig } from "@aws-sdk/client-uxc";
37
+ * const config = {}; // type is UxcClientConfig
38
+ * const client = new UxcClient(config);
39
+ * const input = { // UpdateAccountCustomizationsInput
40
+ * accountColor: "none" || "pink" || "purple" || "darkBlue" || "lightBlue" || "teal" || "green" || "yellow" || "orange" || "red",
41
+ * visibleServices: [ // ServiceList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * visibleRegions: [ // RegionsList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * };
48
+ * const command = new UpdateAccountCustomizationsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // UpdateAccountCustomizationsOutput
51
+ * // accountColor: "none" || "pink" || "purple" || "darkBlue" || "lightBlue" || "teal" || "green" || "yellow" || "orange" || "red",
52
+ * // visibleServices: [ // ServiceList
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // visibleRegions: [ // RegionsList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param UpdateAccountCustomizationsCommandInput - {@link UpdateAccountCustomizationsCommandInput}
63
+ * @returns {@link UpdateAccountCustomizationsCommandOutput}
64
+ * @see {@link UpdateAccountCustomizationsCommandInput} for command's `input` shape.
65
+ * @see {@link UpdateAccountCustomizationsCommandOutput} for command's `response` shape.
66
+ * @see {@link UxcClientResolvedConfig | config} for UxcClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You don't have sufficient access to perform this operation. Verify that your IAM policy includes the required <code>uxc:</code> permissions for the operation that you are calling. For more information on IAM permissions, see <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/security-iam-awsmanpol.html">Amazon Web Services managed policies for Amazon Web Services Management Console</a>.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>The service encountered an internal error. Try your request again later.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The request was denied because of request throttling. Reduce the frequency of your requests.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
79
+ *
80
+ * @throws {@link UxcServiceException}
81
+ * <p>Base exception class for all service exceptions from Uxc service.</p>
82
+ *
83
+ *
84
+ * @example Update account customizations
85
+ * ```javascript
86
+ * // Updates account customization settings with new values
87
+ * const input = {
88
+ * accountColor: "green",
89
+ * visibleServices: [
90
+ * "s3",
91
+ * "ec2",
92
+ * "lambda"
93
+ * ]
94
+ * };
95
+ * const command = new UpdateAccountCustomizationsCommand(input);
96
+ * const response = await client.send(command);
97
+ * /* response is
98
+ * {
99
+ * accountColor: "green",
100
+ * visibleRegions: [
101
+ * "us-east-1",
102
+ * "us-west-2"
103
+ * ],
104
+ * visibleServices: [
105
+ * "s3",
106
+ * "ec2",
107
+ * "lambda"
108
+ * ]
109
+ * }
110
+ * *\/
111
+ * ```
112
+ *
113
+ * @public
114
+ */
115
+ export declare class UpdateAccountCustomizationsCommand extends UpdateAccountCustomizationsCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: UpdateAccountCustomizationsInput;
120
+ output: UpdateAccountCustomizationsOutput;
121
+ };
122
+ sdk: {
123
+ input: UpdateAccountCustomizationsCommandInput;
124
+ output: UpdateAccountCustomizationsCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./GetAccountCustomizationsCommand";
2
+ export * from "./ListServicesCommand";
3
+ export * from "./UpdateAccountCustomizationsCommand";