@aws-sdk/client-appconfigdata 3.48.0 → 3.49.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/CHANGELOG.md +11 -0
- package/README.md +45 -1
- package/dist-types/AppConfigData.d.ts +69 -13
- package/dist-types/AppConfigDataClient.d.ts +45 -1
- package/dist-types/commands/GetLatestConfigurationCommand.d.ts +20 -11
- package/dist-types/commands/StartConfigurationSessionCommand.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +31 -30
- package/dist-types/ts3.4/models/models_0.d.ts +0 -4
- package/package.json +39 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 01/28/2022 ([#3263](https://github.com/aws/aws-sdk-js-v3/issues/3263)) ([c207cf4](https://github.com/aws/aws-sdk-js-v3/commit/c207cf4a70ba9ef14dc5b94da7883b0889d64918))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-appconfigdata
|
package/README.md
CHANGED
|
@@ -7,7 +7,51 @@
|
|
|
7
7
|
|
|
8
8
|
AWS SDK for JavaScript AppConfigData Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
|
-
<p>
|
|
10
|
+
<p>AppConfig Data provides the data plane APIs your application uses to retrieve configuration data.
|
|
11
|
+
Here's how it works:</p>
|
|
12
|
+
<p>Your application retrieves configuration data by first establishing a configuration
|
|
13
|
+
session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your session's
|
|
14
|
+
client then makes periodic calls to <a>GetLatestConfiguration</a> to check for
|
|
15
|
+
and retrieve the latest data available.</p>
|
|
16
|
+
<p>When calling <code>StartConfigurationSession</code>, your code sends the following
|
|
17
|
+
information:</p>
|
|
18
|
+
<ul>
|
|
19
|
+
<li>
|
|
20
|
+
<p>Identifiers (ID or name) of an AppConfig application, environment, and
|
|
21
|
+
configuration profile that the session tracks.</p>
|
|
22
|
+
</li>
|
|
23
|
+
<li>
|
|
24
|
+
<p>(Optional) The minimum amount of time the session's client must wait between calls
|
|
25
|
+
to <code>GetLatestConfiguration</code>.</p>
|
|
26
|
+
</li>
|
|
27
|
+
</ul>
|
|
28
|
+
<p>In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given to
|
|
29
|
+
the session's client and used the first time it calls <code>GetLatestConfiguration</code>
|
|
30
|
+
for that session.</p>
|
|
31
|
+
<p>When calling <code>GetLatestConfiguration</code>, your client code sends the most recent
|
|
32
|
+
<code>ConfigurationToken</code> value it has and receives in response:</p>
|
|
33
|
+
<ul>
|
|
34
|
+
<li>
|
|
35
|
+
<p>
|
|
36
|
+
<code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value
|
|
37
|
+
to use on the next call to <code>GetLatestConfiguration</code>.</p>
|
|
38
|
+
</li>
|
|
39
|
+
<li>
|
|
40
|
+
<p>
|
|
41
|
+
<code>NextPollIntervalInSeconds</code>: the duration the client should wait before
|
|
42
|
+
making its next call to <code>GetLatestConfiguration</code>. This duration may vary
|
|
43
|
+
over the course of the session, so it should be used instead of the value sent on the
|
|
44
|
+
<code>StartConfigurationSession</code> call.</p>
|
|
45
|
+
</li>
|
|
46
|
+
<li>
|
|
47
|
+
<p>The configuration: the latest data intended for the session. This may be empty if
|
|
48
|
+
the client already has the latest version of the configuration.</p>
|
|
49
|
+
</li>
|
|
50
|
+
</ul>
|
|
51
|
+
<p>For more information and to view example CLI commands that show how to retrieve a
|
|
52
|
+
configuration using the AppConfig Data <code>StartConfigurationSession</code> and
|
|
53
|
+
<code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Receiving the
|
|
54
|
+
configuration</a> in the <i>AppConfig User Guide</i>.</p>
|
|
11
55
|
|
|
12
56
|
## Installing
|
|
13
57
|
|
|
@@ -3,27 +3,83 @@ import { AppConfigDataClient } from "./AppConfigDataClient";
|
|
|
3
3
|
import { GetLatestConfigurationCommandInput, GetLatestConfigurationCommandOutput } from "./commands/GetLatestConfigurationCommand";
|
|
4
4
|
import { StartConfigurationSessionCommandInput, StartConfigurationSessionCommandOutput } from "./commands/StartConfigurationSessionCommand";
|
|
5
5
|
/**
|
|
6
|
-
* <p>
|
|
6
|
+
* <p>AppConfig Data provides the data plane APIs your application uses to retrieve configuration data.
|
|
7
|
+
* Here's how it works:</p>
|
|
8
|
+
* <p>Your application retrieves configuration data by first establishing a configuration
|
|
9
|
+
* session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your session's
|
|
10
|
+
* client then makes periodic calls to <a>GetLatestConfiguration</a> to check for
|
|
11
|
+
* and retrieve the latest data available.</p>
|
|
12
|
+
* <p>When calling <code>StartConfigurationSession</code>, your code sends the following
|
|
13
|
+
* information:</p>
|
|
14
|
+
* <ul>
|
|
15
|
+
* <li>
|
|
16
|
+
* <p>Identifiers (ID or name) of an AppConfig application, environment, and
|
|
17
|
+
* configuration profile that the session tracks.</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>(Optional) The minimum amount of time the session's client must wait between calls
|
|
21
|
+
* to <code>GetLatestConfiguration</code>.</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* </ul>
|
|
24
|
+
* <p>In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given to
|
|
25
|
+
* the session's client and used the first time it calls <code>GetLatestConfiguration</code>
|
|
26
|
+
* for that session.</p>
|
|
27
|
+
* <p>When calling <code>GetLatestConfiguration</code>, your client code sends the most recent
|
|
28
|
+
* <code>ConfigurationToken</code> value it has and receives in response:</p>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>
|
|
32
|
+
* <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value
|
|
33
|
+
* to use on the next call to <code>GetLatestConfiguration</code>.</p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>
|
|
37
|
+
* <code>NextPollIntervalInSeconds</code>: the duration the client should wait before
|
|
38
|
+
* making its next call to <code>GetLatestConfiguration</code>. This duration may vary
|
|
39
|
+
* over the course of the session, so it should be used instead of the value sent on the
|
|
40
|
+
* <code>StartConfigurationSession</code> call.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>The configuration: the latest data intended for the session. This may be empty if
|
|
44
|
+
* the client already has the latest version of the configuration.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
47
|
+
* <p>For more information and to view example CLI commands that show how to retrieve a
|
|
48
|
+
* configuration using the AppConfig Data <code>StartConfigurationSession</code> and
|
|
49
|
+
* <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Receiving the
|
|
50
|
+
* configuration</a> in the <i>AppConfig User Guide</i>.</p>
|
|
7
51
|
*/
|
|
8
52
|
export declare class AppConfigData extends AppConfigDataClient {
|
|
9
53
|
/**
|
|
10
|
-
* <p>Retrieves the latest deployed configuration. This API may return empty
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* <p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
54
|
+
* <p>Retrieves the latest deployed configuration. This API may return empty configuration
|
|
55
|
+
* data if the client already has the latest version. For more information about this API
|
|
56
|
+
* action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Receiving the
|
|
57
|
+
* configuration</a> in the <i>AppConfig User Guide</i>. </p>
|
|
58
|
+
* <important>
|
|
59
|
+
* <p>Note the following important information.</p>
|
|
60
|
+
* <ul>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>.
|
|
63
|
+
* The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> that
|
|
64
|
+
* should always replace the token used for the just-completed call in preparation
|
|
65
|
+
* for the next one. </p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>
|
|
69
|
+
* <code>GetLatestConfiguration</code> is a priced call. For more information, see
|
|
70
|
+
* <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* </ul>
|
|
73
|
+
* </important>
|
|
21
74
|
*/
|
|
22
75
|
getLatestConfiguration(args: GetLatestConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLatestConfigurationCommandOutput>;
|
|
23
76
|
getLatestConfiguration(args: GetLatestConfigurationCommandInput, cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void): void;
|
|
24
77
|
getLatestConfiguration(args: GetLatestConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLatestConfigurationCommandOutput) => void): void;
|
|
25
78
|
/**
|
|
26
|
-
* <p>Starts a configuration session used to retrieve a deployed configuration.
|
|
79
|
+
* <p>Starts a configuration session used to retrieve a deployed configuration. For more
|
|
80
|
+
* information about this API action and to view example CLI commands that show how to use
|
|
81
|
+
* it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Receiving the
|
|
82
|
+
* configuration</a> in the <i>AppConfig User Guide</i>. </p>
|
|
27
83
|
*/
|
|
28
84
|
startConfigurationSession(args: StartConfigurationSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartConfigurationSessionCommandOutput>;
|
|
29
85
|
startConfigurationSession(args: StartConfigurationSessionCommandInput, cb: (err: any, data?: StartConfigurationSessionCommandOutput) => void): void;
|
|
@@ -128,7 +128,51 @@ declare type AppConfigDataClientResolvedConfigType = __SmithyResolvedConfigurati
|
|
|
128
128
|
export interface AppConfigDataClientResolvedConfig extends AppConfigDataClientResolvedConfigType {
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
|
-
* <p>
|
|
131
|
+
* <p>AppConfig Data provides the data plane APIs your application uses to retrieve configuration data.
|
|
132
|
+
* Here's how it works:</p>
|
|
133
|
+
* <p>Your application retrieves configuration data by first establishing a configuration
|
|
134
|
+
* session using the AppConfig Data <a>StartConfigurationSession</a> API action. Your session's
|
|
135
|
+
* client then makes periodic calls to <a>GetLatestConfiguration</a> to check for
|
|
136
|
+
* and retrieve the latest data available.</p>
|
|
137
|
+
* <p>When calling <code>StartConfigurationSession</code>, your code sends the following
|
|
138
|
+
* information:</p>
|
|
139
|
+
* <ul>
|
|
140
|
+
* <li>
|
|
141
|
+
* <p>Identifiers (ID or name) of an AppConfig application, environment, and
|
|
142
|
+
* configuration profile that the session tracks.</p>
|
|
143
|
+
* </li>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>(Optional) The minimum amount of time the session's client must wait between calls
|
|
146
|
+
* to <code>GetLatestConfiguration</code>.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* </ul>
|
|
149
|
+
* <p>In response, AppConfig provides an <code>InitialConfigurationToken</code> to be given to
|
|
150
|
+
* the session's client and used the first time it calls <code>GetLatestConfiguration</code>
|
|
151
|
+
* for that session.</p>
|
|
152
|
+
* <p>When calling <code>GetLatestConfiguration</code>, your client code sends the most recent
|
|
153
|
+
* <code>ConfigurationToken</code> value it has and receives in response:</p>
|
|
154
|
+
* <ul>
|
|
155
|
+
* <li>
|
|
156
|
+
* <p>
|
|
157
|
+
* <code>NextPollConfigurationToken</code>: the <code>ConfigurationToken</code> value
|
|
158
|
+
* to use on the next call to <code>GetLatestConfiguration</code>.</p>
|
|
159
|
+
* </li>
|
|
160
|
+
* <li>
|
|
161
|
+
* <p>
|
|
162
|
+
* <code>NextPollIntervalInSeconds</code>: the duration the client should wait before
|
|
163
|
+
* making its next call to <code>GetLatestConfiguration</code>. This duration may vary
|
|
164
|
+
* over the course of the session, so it should be used instead of the value sent on the
|
|
165
|
+
* <code>StartConfigurationSession</code> call.</p>
|
|
166
|
+
* </li>
|
|
167
|
+
* <li>
|
|
168
|
+
* <p>The configuration: the latest data intended for the session. This may be empty if
|
|
169
|
+
* the client already has the latest version of the configuration.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* </ul>
|
|
172
|
+
* <p>For more information and to view example CLI commands that show how to retrieve a
|
|
173
|
+
* configuration using the AppConfig Data <code>StartConfigurationSession</code> and
|
|
174
|
+
* <code>GetLatestConfiguration</code> API actions, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Receiving the
|
|
175
|
+
* configuration</a> in the <i>AppConfig User Guide</i>.</p>
|
|
132
176
|
*/
|
|
133
177
|
export declare class AppConfigDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AppConfigDataClientResolvedConfig> {
|
|
134
178
|
/**
|
|
@@ -7,17 +7,26 @@ export interface GetLatestConfigurationCommandInput extends GetLatestConfigurati
|
|
|
7
7
|
export interface GetLatestConfigurationCommandOutput extends GetLatestConfigurationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Retrieves the latest deployed configuration. This API may return empty
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* <p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
10
|
+
* <p>Retrieves the latest deployed configuration. This API may return empty configuration
|
|
11
|
+
* data if the client already has the latest version. For more information about this API
|
|
12
|
+
* action and to view example CLI commands that show how to use it with the <a>StartConfigurationSession</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Receiving the
|
|
13
|
+
* configuration</a> in the <i>AppConfig User Guide</i>. </p>
|
|
14
|
+
* <important>
|
|
15
|
+
* <p>Note the following important information.</p>
|
|
16
|
+
* <ul>
|
|
17
|
+
* <li>
|
|
18
|
+
* <p>Each configuration token is only valid for one call to <code>GetLatestConfiguration</code>.
|
|
19
|
+
* The <code>GetLatestConfiguration</code> response includes a <code>NextPollConfigurationToken</code> that
|
|
20
|
+
* should always replace the token used for the just-completed call in preparation
|
|
21
|
+
* for the next one. </p>
|
|
22
|
+
* </li>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>
|
|
25
|
+
* <code>GetLatestConfiguration</code> is a priced call. For more information, see
|
|
26
|
+
* <a href="https://aws.amazon.com/systems-manager/pricing/">Pricing</a>.</p>
|
|
27
|
+
* </li>
|
|
28
|
+
* </ul>
|
|
29
|
+
* </important>
|
|
21
30
|
* @example
|
|
22
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
32
|
* ```javascript
|
|
@@ -7,7 +7,10 @@ export interface StartConfigurationSessionCommandInput extends StartConfiguratio
|
|
|
7
7
|
export interface StartConfigurationSessionCommandOutput extends StartConfigurationSessionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Starts a configuration session used to retrieve a deployed configuration.
|
|
10
|
+
* <p>Starts a configuration session used to retrieve a deployed configuration. For more
|
|
11
|
+
* information about this API action and to view example CLI commands that show how to use
|
|
12
|
+
* it with the <a>GetLatestConfiguration</a> API action, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration">Receiving the
|
|
13
|
+
* configuration</a> in the <i>AppConfig User Guide</i>. </p>
|
|
11
14
|
* @example
|
|
12
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
16
|
* ```javascript
|
|
@@ -14,11 +14,11 @@ export declare enum InvalidParameterProblem {
|
|
|
14
14
|
POLL_INTERVAL_NOT_SATISFIED = "PollIntervalNotSatisfied"
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* <p>
|
|
17
|
+
* <p>Information about an invalid parameter.</p>
|
|
18
18
|
*/
|
|
19
19
|
export interface InvalidParameterDetail {
|
|
20
20
|
/**
|
|
21
|
-
* <p>
|
|
21
|
+
* <p>The reason the parameter is invalid.</p>
|
|
22
22
|
*/
|
|
23
23
|
Problem?: InvalidParameterProblem | string;
|
|
24
24
|
}
|
|
@@ -29,12 +29,13 @@ export declare namespace InvalidParameterDetail {
|
|
|
29
29
|
const filterSensitiveLog: (obj: InvalidParameterDetail) => any;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* <p>
|
|
32
|
+
* <p>Detailed information about the input that failed to satisfy the constraints specified by
|
|
33
|
+
* a call.</p>
|
|
33
34
|
*/
|
|
34
35
|
export declare type BadRequestDetails = BadRequestDetails.InvalidParametersMember | BadRequestDetails.$UnknownMember;
|
|
35
36
|
export declare namespace BadRequestDetails {
|
|
36
37
|
/**
|
|
37
|
-
* <p>
|
|
38
|
+
* <p>One or more specified parameters are not valid for the call.</p>
|
|
38
39
|
*/
|
|
39
40
|
interface InvalidParametersMember {
|
|
40
41
|
InvalidParameters: {
|
|
@@ -77,7 +78,7 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
77
78
|
*/
|
|
78
79
|
Reason?: BadRequestReason | string;
|
|
79
80
|
/**
|
|
80
|
-
* <p>Details describing why the request was invalid
|
|
81
|
+
* <p>Details describing why the request was invalid.</p>
|
|
81
82
|
*/
|
|
82
83
|
Details?: BadRequestDetails;
|
|
83
84
|
}
|
|
@@ -129,9 +130,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
129
130
|
[key: string]: string;
|
|
130
131
|
};
|
|
131
132
|
}
|
|
132
|
-
/**
|
|
133
|
-
* <p>Request parameters for the StartConfigurationSession API.</p>
|
|
134
|
-
*/
|
|
135
133
|
export interface StartConfigurationSessionRequest {
|
|
136
134
|
/**
|
|
137
135
|
* <p>The application ID or the application name.</p>
|
|
@@ -146,9 +144,9 @@ export interface StartConfigurationSessionRequest {
|
|
|
146
144
|
*/
|
|
147
145
|
ConfigurationProfileIdentifier: string | undefined;
|
|
148
146
|
/**
|
|
149
|
-
* <p>
|
|
150
|
-
*
|
|
151
|
-
*
|
|
147
|
+
* <p>Sets a constraint on a session. If you specify a value of, for example, 60 seconds, then
|
|
148
|
+
* the client that established the session can't call <a>GetLatestConfiguration</a>
|
|
149
|
+
* more frequently then every 60 seconds.</p>
|
|
152
150
|
*/
|
|
153
151
|
RequiredMinimumPollIntervalInSeconds?: number;
|
|
154
152
|
}
|
|
@@ -158,17 +156,17 @@ export declare namespace StartConfigurationSessionRequest {
|
|
|
158
156
|
*/
|
|
159
157
|
const filterSensitiveLog: (obj: StartConfigurationSessionRequest) => any;
|
|
160
158
|
}
|
|
161
|
-
/**
|
|
162
|
-
* <p>Response parameters for the StartConfigurationSession API.</p>
|
|
163
|
-
*/
|
|
164
159
|
export interface StartConfigurationSessionResponse {
|
|
165
160
|
/**
|
|
166
|
-
* <p>Token encapsulating state about the configuration session. Provide this token to the
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
161
|
+
* <p>Token encapsulating state about the configuration session. Provide this token to the
|
|
162
|
+
* <code>GetLatestConfiguration</code> API to retrieve configuration data.</p>
|
|
163
|
+
* <important>
|
|
164
|
+
* <p>This token should only be used once in your first call to
|
|
165
|
+
* <code>GetLatestConfiguration</code>. You MUST use the new token in the
|
|
166
|
+
* <code>GetLatestConfiguration</code> response
|
|
167
|
+
* (<code>NextPollConfigurationToken</code>) in each subsequent call to
|
|
168
|
+
* <code>GetLatestConfiguration</code>.</p>
|
|
169
|
+
* </important>
|
|
172
170
|
*/
|
|
173
171
|
InitialConfigurationToken?: string;
|
|
174
172
|
}
|
|
@@ -186,12 +184,13 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
186
184
|
$fault: "client";
|
|
187
185
|
Message?: string;
|
|
188
186
|
}
|
|
189
|
-
/**
|
|
190
|
-
* <p>Request parameters for the GetLatestConfiguration API</p>
|
|
191
|
-
*/
|
|
192
187
|
export interface GetLatestConfigurationRequest {
|
|
193
188
|
/**
|
|
194
|
-
* <p>Token describing the current state of the configuration session. To obtain a token,
|
|
189
|
+
* <p>Token describing the current state of the configuration session. To obtain a token,
|
|
190
|
+
* first call the <a>StartConfigurationSession</a> API. Note that every call to
|
|
191
|
+
* <code>GetLatestConfiguration</code> will return a new <code>ConfigurationToken</code>
|
|
192
|
+
* (<code>NextPollConfigurationToken</code> in the response) and MUST be provided to
|
|
193
|
+
* subsequent <code>GetLatestConfiguration</code> API calls.</p>
|
|
195
194
|
*/
|
|
196
195
|
ConfigurationToken: string | undefined;
|
|
197
196
|
}
|
|
@@ -201,16 +200,17 @@ export declare namespace GetLatestConfigurationRequest {
|
|
|
201
200
|
*/
|
|
202
201
|
const filterSensitiveLog: (obj: GetLatestConfigurationRequest) => any;
|
|
203
202
|
}
|
|
204
|
-
/**
|
|
205
|
-
* <p>Response parameters for the GetLatestConfiguration API</p>
|
|
206
|
-
*/
|
|
207
203
|
export interface GetLatestConfigurationResponse {
|
|
208
204
|
/**
|
|
209
|
-
* <p>The latest token describing the current state of the configuration session. This MUST be
|
|
205
|
+
* <p>The latest token describing the current state of the configuration session. This MUST be
|
|
206
|
+
* provided to the next call to <code>GetLatestConfiguration.</code>
|
|
207
|
+
* </p>
|
|
210
208
|
*/
|
|
211
209
|
NextPollConfigurationToken?: string;
|
|
212
210
|
/**
|
|
213
|
-
* <p>The amount of time the client should wait before polling for configuration updates
|
|
211
|
+
* <p>The amount of time the client should wait before polling for configuration updates
|
|
212
|
+
* again. Use <code>RequiredMinimumPollIntervalInSeconds</code> to set the desired poll
|
|
213
|
+
* interval.</p>
|
|
214
214
|
*/
|
|
215
215
|
NextPollIntervalInSeconds?: number;
|
|
216
216
|
/**
|
|
@@ -218,7 +218,8 @@ export interface GetLatestConfigurationResponse {
|
|
|
218
218
|
*/
|
|
219
219
|
ContentType?: string;
|
|
220
220
|
/**
|
|
221
|
-
* <p>The data of the configuration.
|
|
221
|
+
* <p>The data of the configuration. This may be empty if the client already has the latest
|
|
222
|
+
* version of configuration.</p>
|
|
222
223
|
*/
|
|
223
224
|
Configuration?: Uint8Array;
|
|
224
225
|
}
|
|
@@ -87,7 +87,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
87
87
|
[key: string]: string;
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
|
|
91
90
|
export interface StartConfigurationSessionRequest {
|
|
92
91
|
|
|
93
92
|
ApplicationIdentifier: string | undefined;
|
|
@@ -102,7 +101,6 @@ export declare namespace StartConfigurationSessionRequest {
|
|
|
102
101
|
|
|
103
102
|
const filterSensitiveLog: (obj: StartConfigurationSessionRequest) => any;
|
|
104
103
|
}
|
|
105
|
-
|
|
106
104
|
export interface StartConfigurationSessionResponse {
|
|
107
105
|
|
|
108
106
|
InitialConfigurationToken?: string;
|
|
@@ -117,7 +115,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
117
115
|
$fault: "client";
|
|
118
116
|
Message?: string;
|
|
119
117
|
}
|
|
120
|
-
|
|
121
118
|
export interface GetLatestConfigurationRequest {
|
|
122
119
|
|
|
123
120
|
ConfigurationToken: string | undefined;
|
|
@@ -126,7 +123,6 @@ export declare namespace GetLatestConfigurationRequest {
|
|
|
126
123
|
|
|
127
124
|
const filterSensitiveLog: (obj: GetLatestConfigurationRequest) => any;
|
|
128
125
|
}
|
|
129
|
-
|
|
130
126
|
export interface GetLatestConfigurationResponse {
|
|
131
127
|
|
|
132
128
|
NextPollConfigurationToken?: string;
|
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.49.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",
|
|
@@ -18,41 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.49.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.49.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.49.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.49.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.49.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.49.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.49.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.49.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.49.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.49.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.49.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.49.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.49.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.49.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.49.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.49.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.49.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.49.0",
|
|
39
|
+
"@aws-sdk/types": "3.49.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.49.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.49.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.49.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.49.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.49.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.49.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.49.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.49.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.49.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.49.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.49.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
-
"@
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.49.0",
|
|
55
|
+
"@tsconfig/recommended": "1.0.1",
|
|
56
|
+
"@types/node": "^12.7.5",
|
|
57
|
+
"concurrently": "7.0.0",
|
|
58
|
+
"downlevel-dts": "0.7.0",
|
|
59
|
+
"rimraf": "3.0.2",
|
|
60
|
+
"typedoc": "0.19.2",
|
|
61
|
+
"typescript": "~4.3.5"
|
|
56
62
|
},
|
|
57
63
|
"engines": {
|
|
58
64
|
"node": ">=12.0.0"
|