@aws-sdk/client-appconfigdata 3.378.0 → 3.382.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.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
*/
|
|
64
64
|
export * from "./AppConfigDataClient";
|
|
65
65
|
export * from "./AppConfigData";
|
|
66
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
66
67
|
export * from "./commands";
|
|
67
68
|
export * from "./models";
|
|
68
69
|
export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
|
|
@@ -28,6 +28,7 @@ export type InvalidParameterProblem = (typeof InvalidParameterProblem)[keyof typ
|
|
|
28
28
|
*/
|
|
29
29
|
export interface InvalidParameterDetail {
|
|
30
30
|
/**
|
|
31
|
+
* @public
|
|
31
32
|
* <p>The reason the parameter is invalid.</p>
|
|
32
33
|
*/
|
|
33
34
|
Problem?: InvalidParameterProblem | string;
|
|
@@ -43,12 +44,16 @@ export type BadRequestDetails = BadRequestDetails.InvalidParametersMember | BadR
|
|
|
43
44
|
*/
|
|
44
45
|
export declare namespace BadRequestDetails {
|
|
45
46
|
/**
|
|
47
|
+
* @public
|
|
46
48
|
* <p>One or more specified parameters are not valid for the call.</p>
|
|
47
49
|
*/
|
|
48
50
|
interface InvalidParametersMember {
|
|
49
51
|
InvalidParameters: Record<string, InvalidParameterDetail>;
|
|
50
52
|
$unknown?: never;
|
|
51
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
52
57
|
interface $UnknownMember {
|
|
53
58
|
InvalidParameters?: never;
|
|
54
59
|
$unknown: [string, any];
|
|
@@ -83,10 +88,12 @@ export declare class BadRequestException extends __BaseException {
|
|
|
83
88
|
readonly $fault: "client";
|
|
84
89
|
Message?: string;
|
|
85
90
|
/**
|
|
91
|
+
* @public
|
|
86
92
|
* <p>Code indicating the reason the request was invalid.</p>
|
|
87
93
|
*/
|
|
88
94
|
Reason?: BadRequestReason | string;
|
|
89
95
|
/**
|
|
96
|
+
* @public
|
|
90
97
|
* <p>Details describing why the request was invalid.</p>
|
|
91
98
|
*/
|
|
92
99
|
Details?: BadRequestDetails;
|
|
@@ -147,10 +154,12 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
147
154
|
readonly $fault: "client";
|
|
148
155
|
Message?: string;
|
|
149
156
|
/**
|
|
157
|
+
* @public
|
|
150
158
|
* <p>The type of resource that was not found.</p>
|
|
151
159
|
*/
|
|
152
160
|
ResourceType?: ResourceType | string;
|
|
153
161
|
/**
|
|
162
|
+
* @public
|
|
154
163
|
* <p>A map indicating which parameters in the request reference the resource that was not
|
|
155
164
|
* found.</p>
|
|
156
165
|
*/
|
|
@@ -165,18 +174,22 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
165
174
|
*/
|
|
166
175
|
export interface StartConfigurationSessionRequest {
|
|
167
176
|
/**
|
|
177
|
+
* @public
|
|
168
178
|
* <p>The application ID or the application name.</p>
|
|
169
179
|
*/
|
|
170
180
|
ApplicationIdentifier: string | undefined;
|
|
171
181
|
/**
|
|
182
|
+
* @public
|
|
172
183
|
* <p>The environment ID or the environment name.</p>
|
|
173
184
|
*/
|
|
174
185
|
EnvironmentIdentifier: string | undefined;
|
|
175
186
|
/**
|
|
187
|
+
* @public
|
|
176
188
|
* <p>The configuration profile ID or the configuration profile name.</p>
|
|
177
189
|
*/
|
|
178
190
|
ConfigurationProfileIdentifier: string | undefined;
|
|
179
191
|
/**
|
|
192
|
+
* @public
|
|
180
193
|
* <p>Sets a constraint on a session. If you specify a value of, for example, 60 seconds, then
|
|
181
194
|
* the client that established the session can't call <a>GetLatestConfiguration</a>
|
|
182
195
|
* more frequently than every 60 seconds.</p>
|
|
@@ -188,6 +201,7 @@ export interface StartConfigurationSessionRequest {
|
|
|
188
201
|
*/
|
|
189
202
|
export interface StartConfigurationSessionResponse {
|
|
190
203
|
/**
|
|
204
|
+
* @public
|
|
191
205
|
* <p>Token encapsulating state about the configuration session. Provide this token to the
|
|
192
206
|
* <code>GetLatestConfiguration</code> API to retrieve configuration data.</p>
|
|
193
207
|
* <important>
|
|
@@ -223,6 +237,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
223
237
|
*/
|
|
224
238
|
export interface GetLatestConfigurationRequest {
|
|
225
239
|
/**
|
|
240
|
+
* @public
|
|
226
241
|
* <p>Token describing the current state of the configuration session. To obtain a token,
|
|
227
242
|
* first call the <a>StartConfigurationSession</a> API. Note that every call to
|
|
228
243
|
* <code>GetLatestConfiguration</code> will return a new <code>ConfigurationToken</code>
|
|
@@ -242,6 +257,7 @@ export interface GetLatestConfigurationRequest {
|
|
|
242
257
|
*/
|
|
243
258
|
export interface GetLatestConfigurationResponse {
|
|
244
259
|
/**
|
|
260
|
+
* @public
|
|
245
261
|
* <p>The latest token describing the current state of the configuration session. This
|
|
246
262
|
* <i>must</i> be provided to the next call to
|
|
247
263
|
* <code>GetLatestConfiguration.</code>
|
|
@@ -255,21 +271,25 @@ export interface GetLatestConfigurationResponse {
|
|
|
255
271
|
*/
|
|
256
272
|
NextPollConfigurationToken?: string;
|
|
257
273
|
/**
|
|
274
|
+
* @public
|
|
258
275
|
* <p>The amount of time the client should wait before polling for configuration updates
|
|
259
276
|
* again. Use <code>RequiredMinimumPollIntervalInSeconds</code> to set the desired poll
|
|
260
277
|
* interval.</p>
|
|
261
278
|
*/
|
|
262
279
|
NextPollIntervalInSeconds?: number;
|
|
263
280
|
/**
|
|
281
|
+
* @public
|
|
264
282
|
* <p>A standard MIME type describing the format of the configuration content.</p>
|
|
265
283
|
*/
|
|
266
284
|
ContentType?: string;
|
|
267
285
|
/**
|
|
286
|
+
* @public
|
|
268
287
|
* <p>The data of the configuration. This may be empty if the client already has the latest
|
|
269
288
|
* version of configuration.</p>
|
|
270
289
|
*/
|
|
271
290
|
Configuration?: Uint8Array;
|
|
272
291
|
/**
|
|
292
|
+
* @public
|
|
273
293
|
* <p>The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.</p>
|
|
274
294
|
*/
|
|
275
295
|
VersionLabel?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AppConfigDataClient";
|
|
2
2
|
export * from "./AppConfigData";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
3
4
|
export * from "./commands";
|
|
4
5
|
export * from "./models";
|
|
5
6
|
export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appconfigdata",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appconfigdata Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.382.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|