@aws-sdk/client-appconfig 3.1075.0 → 3.1077.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/README.md +108 -107
- package/dist-cjs/index.js +1826 -15
- package/dist-es/AppConfig.js +28 -0
- package/dist-es/commands/CreateExperimentDefinitionCommand.js +16 -0
- package/dist-es/commands/DeleteExperimentDefinitionCommand.js +16 -0
- package/dist-es/commands/GetExperimentDefinitionCommand.js +16 -0
- package/dist-es/commands/GetExperimentRunCommand.js +16 -0
- package/dist-es/commands/ListExperimentDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListExperimentRunEventsCommand.js +16 -0
- package/dist-es/commands/ListExperimentRunsCommand.js +16 -0
- package/dist-es/commands/StartExperimentRunCommand.js +16 -0
- package/dist-es/commands/StopExperimentRunCommand.js +16 -0
- package/dist-es/commands/UpdateExperimentDefinitionCommand.js +16 -0
- package/dist-es/commands/UpdateExperimentRunCommand.js +16 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/enums.js +23 -0
- package/dist-es/pagination/ListExperimentDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/ListExperimentRunEventsPaginator.js +4 -0
- package/dist-es/pagination/ListExperimentRunsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +328 -49
- package/dist-types/AppConfig.d.ts +130 -107
- package/dist-types/AppConfigClient.d.ts +44 -109
- package/dist-types/commands/CreateApplicationCommand.d.ts +0 -3
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +0 -3
- package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +0 -3
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +0 -3
- package/dist-types/commands/CreateExperimentDefinitionCommand.d.ts +266 -0
- package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +0 -3
- package/dist-types/commands/CreateExtensionCommand.d.ts +0 -3
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +1 -4
- package/dist-types/commands/DeleteExperimentDefinitionCommand.d.ts +103 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -0
- package/dist-types/commands/GetExperimentDefinitionCommand.d.ts +184 -0
- package/dist-types/commands/GetExperimentRunCommand.d.ts +209 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +2 -0
- package/dist-types/commands/ListExperimentDefinitionsCommand.d.ts +131 -0
- package/dist-types/commands/ListExperimentRunEventsCommand.d.ts +136 -0
- package/dist-types/commands/ListExperimentRunsCommand.d.ts +125 -0
- package/dist-types/commands/StartDeploymentCommand.d.ts +5 -0
- package/dist-types/commands/StartExperimentRunCommand.d.ts +230 -0
- package/dist-types/commands/StopExperimentRunCommand.d.ts +231 -0
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -0
- package/dist-types/commands/UpdateExperimentDefinitionCommand.d.ts +237 -0
- package/dist-types/commands/UpdateExperimentRunCommand.d.ts +229 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/index.d.ts +31 -107
- package/dist-types/models/enums.d.ts +63 -0
- package/dist-types/models/errors.d.ts +0 -3
- package/dist-types/models/models_0.d.ts +1080 -37
- package/dist-types/pagination/ListExperimentDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExperimentRunEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExperimentRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +39 -0
- package/dist-types/ts3.4/AppConfig.d.ts +209 -0
- package/dist-types/ts3.4/AppConfigClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateExperimentDefinitionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteExperimentDefinitionCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetExperimentDefinitionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetExperimentRunCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListExperimentDefinitionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListExperimentRunEventsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListExperimentRunsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartExperimentRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StopExperimentRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateExperimentDefinitionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateExperimentRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/enums.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +292 -0
- package/dist-types/ts3.4/pagination/ListExperimentDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExperimentRunEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExperimentRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +39 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -52
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/AppConfigServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -97
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -980
|
@@ -10,6 +10,7 @@ import type { CreateApplicationCommandInput, CreateApplicationCommandOutput } fr
|
|
|
10
10
|
import type { CreateConfigurationProfileCommandInput, CreateConfigurationProfileCommandOutput } from "./commands/CreateConfigurationProfileCommand";
|
|
11
11
|
import type { CreateDeploymentStrategyCommandInput, CreateDeploymentStrategyCommandOutput } from "./commands/CreateDeploymentStrategyCommand";
|
|
12
12
|
import type { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
13
|
+
import type { CreateExperimentDefinitionCommandInput, CreateExperimentDefinitionCommandOutput } from "./commands/CreateExperimentDefinitionCommand";
|
|
13
14
|
import type { CreateExtensionAssociationCommandInput, CreateExtensionAssociationCommandOutput } from "./commands/CreateExtensionAssociationCommand";
|
|
14
15
|
import type { CreateExtensionCommandInput, CreateExtensionCommandOutput } from "./commands/CreateExtensionCommand";
|
|
15
16
|
import type { CreateHostedConfigurationVersionCommandInput, CreateHostedConfigurationVersionCommandOutput } from "./commands/CreateHostedConfigurationVersionCommand";
|
|
@@ -17,6 +18,7 @@ import type { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } fr
|
|
|
17
18
|
import type { DeleteConfigurationProfileCommandInput, DeleteConfigurationProfileCommandOutput } from "./commands/DeleteConfigurationProfileCommand";
|
|
18
19
|
import type { DeleteDeploymentStrategyCommandInput, DeleteDeploymentStrategyCommandOutput } from "./commands/DeleteDeploymentStrategyCommand";
|
|
19
20
|
import type { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
21
|
+
import type { DeleteExperimentDefinitionCommandInput, DeleteExperimentDefinitionCommandOutput } from "./commands/DeleteExperimentDefinitionCommand";
|
|
20
22
|
import type { DeleteExtensionAssociationCommandInput, DeleteExtensionAssociationCommandOutput } from "./commands/DeleteExtensionAssociationCommand";
|
|
21
23
|
import type { DeleteExtensionCommandInput, DeleteExtensionCommandOutput } from "./commands/DeleteExtensionCommand";
|
|
22
24
|
import type { DeleteHostedConfigurationVersionCommandInput, DeleteHostedConfigurationVersionCommandOutput } from "./commands/DeleteHostedConfigurationVersionCommand";
|
|
@@ -27,6 +29,8 @@ import type { GetConfigurationProfileCommandInput, GetConfigurationProfileComman
|
|
|
27
29
|
import type { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
28
30
|
import type { GetDeploymentStrategyCommandInput, GetDeploymentStrategyCommandOutput } from "./commands/GetDeploymentStrategyCommand";
|
|
29
31
|
import type { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
32
|
+
import type { GetExperimentDefinitionCommandInput, GetExperimentDefinitionCommandOutput } from "./commands/GetExperimentDefinitionCommand";
|
|
33
|
+
import type { GetExperimentRunCommandInput, GetExperimentRunCommandOutput } from "./commands/GetExperimentRunCommand";
|
|
30
34
|
import type { GetExtensionAssociationCommandInput, GetExtensionAssociationCommandOutput } from "./commands/GetExtensionAssociationCommand";
|
|
31
35
|
import type { GetExtensionCommandInput, GetExtensionCommandOutput } from "./commands/GetExtensionCommand";
|
|
32
36
|
import type { GetHostedConfigurationVersionCommandInput, GetHostedConfigurationVersionCommandOutput } from "./commands/GetHostedConfigurationVersionCommand";
|
|
@@ -35,12 +39,17 @@ import type { ListConfigurationProfilesCommandInput, ListConfigurationProfilesCo
|
|
|
35
39
|
import type { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
36
40
|
import type { ListDeploymentStrategiesCommandInput, ListDeploymentStrategiesCommandOutput } from "./commands/ListDeploymentStrategiesCommand";
|
|
37
41
|
import type { ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput } from "./commands/ListEnvironmentsCommand";
|
|
42
|
+
import type { ListExperimentDefinitionsCommandInput, ListExperimentDefinitionsCommandOutput } from "./commands/ListExperimentDefinitionsCommand";
|
|
43
|
+
import type { ListExperimentRunEventsCommandInput, ListExperimentRunEventsCommandOutput } from "./commands/ListExperimentRunEventsCommand";
|
|
44
|
+
import type { ListExperimentRunsCommandInput, ListExperimentRunsCommandOutput } from "./commands/ListExperimentRunsCommand";
|
|
38
45
|
import type { ListExtensionAssociationsCommandInput, ListExtensionAssociationsCommandOutput } from "./commands/ListExtensionAssociationsCommand";
|
|
39
46
|
import type { ListExtensionsCommandInput, ListExtensionsCommandOutput } from "./commands/ListExtensionsCommand";
|
|
40
47
|
import type { ListHostedConfigurationVersionsCommandInput, ListHostedConfigurationVersionsCommandOutput } from "./commands/ListHostedConfigurationVersionsCommand";
|
|
41
48
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
42
49
|
import type { StartDeploymentCommandInput, StartDeploymentCommandOutput } from "./commands/StartDeploymentCommand";
|
|
50
|
+
import type { StartExperimentRunCommandInput, StartExperimentRunCommandOutput } from "./commands/StartExperimentRunCommand";
|
|
43
51
|
import type { StopDeploymentCommandInput, StopDeploymentCommandOutput } from "./commands/StopDeploymentCommand";
|
|
52
|
+
import type { StopExperimentRunCommandInput, StopExperimentRunCommandOutput } from "./commands/StopExperimentRunCommand";
|
|
44
53
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
45
54
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
46
55
|
import type { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
@@ -48,6 +57,8 @@ import type { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } fr
|
|
|
48
57
|
import type { UpdateConfigurationProfileCommandInput, UpdateConfigurationProfileCommandOutput } from "./commands/UpdateConfigurationProfileCommand";
|
|
49
58
|
import type { UpdateDeploymentStrategyCommandInput, UpdateDeploymentStrategyCommandOutput } from "./commands/UpdateDeploymentStrategyCommand";
|
|
50
59
|
import type { UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput } from "./commands/UpdateEnvironmentCommand";
|
|
60
|
+
import type { UpdateExperimentDefinitionCommandInput, UpdateExperimentDefinitionCommandOutput } from "./commands/UpdateExperimentDefinitionCommand";
|
|
61
|
+
import type { UpdateExperimentRunCommandInput, UpdateExperimentRunCommandOutput } from "./commands/UpdateExperimentRunCommand";
|
|
51
62
|
import type { UpdateExtensionAssociationCommandInput, UpdateExtensionAssociationCommandOutput } from "./commands/UpdateExtensionAssociationCommand";
|
|
52
63
|
import type { UpdateExtensionCommandInput, UpdateExtensionCommandOutput } from "./commands/UpdateExtensionCommand";
|
|
53
64
|
import type { ValidateConfigurationCommandInput, ValidateConfigurationCommandOutput } from "./commands/ValidateConfigurationCommand";
|
|
@@ -57,11 +68,11 @@ export { __Client };
|
|
|
57
68
|
/**
|
|
58
69
|
* @public
|
|
59
70
|
*/
|
|
60
|
-
export type ServiceInputTypes = CreateApplicationCommandInput | CreateConfigurationProfileCommandInput | CreateDeploymentStrategyCommandInput | CreateEnvironmentCommandInput | CreateExtensionAssociationCommandInput | CreateExtensionCommandInput | CreateHostedConfigurationVersionCommandInput | DeleteApplicationCommandInput | DeleteConfigurationProfileCommandInput | DeleteDeploymentStrategyCommandInput | DeleteEnvironmentCommandInput | DeleteExtensionAssociationCommandInput | DeleteExtensionCommandInput | DeleteHostedConfigurationVersionCommandInput | GetAccountSettingsCommandInput | GetApplicationCommandInput | GetConfigurationCommandInput | GetConfigurationProfileCommandInput | GetDeploymentCommandInput | GetDeploymentStrategyCommandInput | GetEnvironmentCommandInput | GetExtensionAssociationCommandInput | GetExtensionCommandInput | GetHostedConfigurationVersionCommandInput | ListApplicationsCommandInput | ListConfigurationProfilesCommandInput | ListDeploymentStrategiesCommandInput | ListDeploymentsCommandInput | ListEnvironmentsCommandInput | ListExtensionAssociationsCommandInput | ListExtensionsCommandInput | ListHostedConfigurationVersionsCommandInput | ListTagsForResourceCommandInput | StartDeploymentCommandInput | StopDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateApplicationCommandInput | UpdateConfigurationProfileCommandInput | UpdateDeploymentStrategyCommandInput | UpdateEnvironmentCommandInput | UpdateExtensionAssociationCommandInput | UpdateExtensionCommandInput | ValidateConfigurationCommandInput;
|
|
71
|
+
export type ServiceInputTypes = CreateApplicationCommandInput | CreateConfigurationProfileCommandInput | CreateDeploymentStrategyCommandInput | CreateEnvironmentCommandInput | CreateExperimentDefinitionCommandInput | CreateExtensionAssociationCommandInput | CreateExtensionCommandInput | CreateHostedConfigurationVersionCommandInput | DeleteApplicationCommandInput | DeleteConfigurationProfileCommandInput | DeleteDeploymentStrategyCommandInput | DeleteEnvironmentCommandInput | DeleteExperimentDefinitionCommandInput | DeleteExtensionAssociationCommandInput | DeleteExtensionCommandInput | DeleteHostedConfigurationVersionCommandInput | GetAccountSettingsCommandInput | GetApplicationCommandInput | GetConfigurationCommandInput | GetConfigurationProfileCommandInput | GetDeploymentCommandInput | GetDeploymentStrategyCommandInput | GetEnvironmentCommandInput | GetExperimentDefinitionCommandInput | GetExperimentRunCommandInput | GetExtensionAssociationCommandInput | GetExtensionCommandInput | GetHostedConfigurationVersionCommandInput | ListApplicationsCommandInput | ListConfigurationProfilesCommandInput | ListDeploymentStrategiesCommandInput | ListDeploymentsCommandInput | ListEnvironmentsCommandInput | ListExperimentDefinitionsCommandInput | ListExperimentRunEventsCommandInput | ListExperimentRunsCommandInput | ListExtensionAssociationsCommandInput | ListExtensionsCommandInput | ListHostedConfigurationVersionsCommandInput | ListTagsForResourceCommandInput | StartDeploymentCommandInput | StartExperimentRunCommandInput | StopDeploymentCommandInput | StopExperimentRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccountSettingsCommandInput | UpdateApplicationCommandInput | UpdateConfigurationProfileCommandInput | UpdateDeploymentStrategyCommandInput | UpdateEnvironmentCommandInput | UpdateExperimentDefinitionCommandInput | UpdateExperimentRunCommandInput | UpdateExtensionAssociationCommandInput | UpdateExtensionCommandInput | ValidateConfigurationCommandInput;
|
|
61
72
|
/**
|
|
62
73
|
* @public
|
|
63
74
|
*/
|
|
64
|
-
export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateConfigurationProfileCommandOutput | CreateDeploymentStrategyCommandOutput | CreateEnvironmentCommandOutput | CreateExtensionAssociationCommandOutput | CreateExtensionCommandOutput | CreateHostedConfigurationVersionCommandOutput | DeleteApplicationCommandOutput | DeleteConfigurationProfileCommandOutput | DeleteDeploymentStrategyCommandOutput | DeleteEnvironmentCommandOutput | DeleteExtensionAssociationCommandOutput | DeleteExtensionCommandOutput | DeleteHostedConfigurationVersionCommandOutput | GetAccountSettingsCommandOutput | GetApplicationCommandOutput | GetConfigurationCommandOutput | GetConfigurationProfileCommandOutput | GetDeploymentCommandOutput | GetDeploymentStrategyCommandOutput | GetEnvironmentCommandOutput | GetExtensionAssociationCommandOutput | GetExtensionCommandOutput | GetHostedConfigurationVersionCommandOutput | ListApplicationsCommandOutput | ListConfigurationProfilesCommandOutput | ListDeploymentStrategiesCommandOutput | ListDeploymentsCommandOutput | ListEnvironmentsCommandOutput | ListExtensionAssociationsCommandOutput | ListExtensionsCommandOutput | ListHostedConfigurationVersionsCommandOutput | ListTagsForResourceCommandOutput | StartDeploymentCommandOutput | StopDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateApplicationCommandOutput | UpdateConfigurationProfileCommandOutput | UpdateDeploymentStrategyCommandOutput | UpdateEnvironmentCommandOutput | UpdateExtensionAssociationCommandOutput | UpdateExtensionCommandOutput | ValidateConfigurationCommandOutput;
|
|
75
|
+
export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateConfigurationProfileCommandOutput | CreateDeploymentStrategyCommandOutput | CreateEnvironmentCommandOutput | CreateExperimentDefinitionCommandOutput | CreateExtensionAssociationCommandOutput | CreateExtensionCommandOutput | CreateHostedConfigurationVersionCommandOutput | DeleteApplicationCommandOutput | DeleteConfigurationProfileCommandOutput | DeleteDeploymentStrategyCommandOutput | DeleteEnvironmentCommandOutput | DeleteExperimentDefinitionCommandOutput | DeleteExtensionAssociationCommandOutput | DeleteExtensionCommandOutput | DeleteHostedConfigurationVersionCommandOutput | GetAccountSettingsCommandOutput | GetApplicationCommandOutput | GetConfigurationCommandOutput | GetConfigurationProfileCommandOutput | GetDeploymentCommandOutput | GetDeploymentStrategyCommandOutput | GetEnvironmentCommandOutput | GetExperimentDefinitionCommandOutput | GetExperimentRunCommandOutput | GetExtensionAssociationCommandOutput | GetExtensionCommandOutput | GetHostedConfigurationVersionCommandOutput | ListApplicationsCommandOutput | ListConfigurationProfilesCommandOutput | ListDeploymentStrategiesCommandOutput | ListDeploymentsCommandOutput | ListEnvironmentsCommandOutput | ListExperimentDefinitionsCommandOutput | ListExperimentRunEventsCommandOutput | ListExperimentRunsCommandOutput | ListExtensionAssociationsCommandOutput | ListExtensionsCommandOutput | ListHostedConfigurationVersionsCommandOutput | ListTagsForResourceCommandOutput | StartDeploymentCommandOutput | StartExperimentRunCommandOutput | StopDeploymentCommandOutput | StopExperimentRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccountSettingsCommandOutput | UpdateApplicationCommandOutput | UpdateConfigurationProfileCommandOutput | UpdateDeploymentStrategyCommandOutput | UpdateEnvironmentCommandOutput | UpdateExperimentDefinitionCommandOutput | UpdateExperimentRunCommandOutput | UpdateExtensionAssociationCommandOutput | UpdateExtensionCommandOutput | ValidateConfigurationCommandOutput;
|
|
65
76
|
/**
|
|
66
77
|
* @public
|
|
67
78
|
*/
|
|
@@ -213,47 +224,24 @@ export type AppConfigClientResolvedConfigType = __SmithyResolvedConfiguration<__
|
|
|
213
224
|
export interface AppConfigClientResolvedConfig extends AppConfigClientResolvedConfigType {
|
|
214
225
|
}
|
|
215
226
|
/**
|
|
216
|
-
* <p>AppConfig feature flags and dynamic configurations
|
|
217
|
-
*
|
|
218
|
-
* code deployments. AppConfig speeds up software release frequency, improves
|
|
219
|
-
* application resiliency, and helps you address emergent issues more quickly. With feature
|
|
220
|
-
* flags, you can gradually release new capabilities to users and measure the impact of those
|
|
221
|
-
* changes before fully deploying the new capabilities to all users. With operational flags
|
|
222
|
-
* and dynamic configurations, you can update block lists, allow lists, throttling limits,
|
|
223
|
-
* logging verbosity, and perform other operational tuning to quickly respond to issues in
|
|
224
|
-
* production environments.</p>
|
|
225
|
-
* <note>
|
|
226
|
-
* <p>AppConfig is a tool in Amazon Web Services Systems Manager.</p>
|
|
227
|
-
* </note>
|
|
228
|
-
* <p>Despite the fact that application configuration content can vary greatly from
|
|
229
|
-
* application to application, AppConfig supports the following use cases, which
|
|
230
|
-
* cover a broad spectrum of customer needs:</p>
|
|
227
|
+
* <p>AppConfig helps you safely change application behavior in production without redeploying code. Using feature flags and dynamic free-form configurations, you can control how your application runs in real time. This approach reduces risk, accelerates releases, and enables faster responses to issues. You can gradually roll out new features to specific users, monitor their impact, and expand availability with confidence. You can also update block lists, allow lists, throttling limits, and logging levels instantly, allowing you to mitigate issues and fine-tune performance without a deployment.</p>
|
|
228
|
+
* <p>AppConfig supports a broad spectrum of use cases:</p>
|
|
231
229
|
* <ul>
|
|
232
230
|
* <li>
|
|
233
231
|
* <p>
|
|
234
|
-
* <b>Feature flags and toggles</b>
|
|
235
|
-
* capabilities to your customers in a controlled environment. Instantly roll back
|
|
236
|
-
* changes if you experience a problem.</p>
|
|
232
|
+
* <b>Feature flags and toggles</b> – Gradually release new capabilities to targeted users, monitor impact, and instantly roll back changes if issues occur.</p>
|
|
237
233
|
* </li>
|
|
238
234
|
* <li>
|
|
239
235
|
* <p>
|
|
240
|
-
* <b>Application tuning</b>
|
|
241
|
-
* application changes while testing the impact of those changes with users in
|
|
242
|
-
* production environments.</p>
|
|
236
|
+
* <b>Application tuning</b> – Introduce changes safely in production, measure their effects, and refine behavior without redeploying code.</p>
|
|
243
237
|
* </li>
|
|
244
238
|
* <li>
|
|
245
239
|
* <p>
|
|
246
|
-
* <b>Allow list or block list</b>
|
|
247
|
-
* premium features or instantly block specific users without deploying new code.
|
|
248
|
-
* </p>
|
|
240
|
+
* <b>Allow list or block list</b> – Control access to features or restrict specific users in real time, without modifying application code. </p>
|
|
249
241
|
* </li>
|
|
250
242
|
* <li>
|
|
251
243
|
* <p>
|
|
252
|
-
* <b>Centralized configuration storage</b>
|
|
253
|
-
* configuration data organized and consistent across all of your workloads. You can use
|
|
254
|
-
* AppConfig to deploy configuration data stored in the AppConfig
|
|
255
|
-
* hosted configuration store, Secrets Manager, Systems Manager, Parameter
|
|
256
|
-
* Store, or Amazon S3.</p>
|
|
244
|
+
* <b>Centralized configuration storage</b> – Manage configuration data consistently across workloads. AppConfig can deploy configuration from the AppConfig hosted configuration store, Secrets Manager, Systems Manager, Systems Manager Parameter Store, or Amazon S3.</p>
|
|
257
245
|
* </li>
|
|
258
246
|
* </ul>
|
|
259
247
|
* <p>
|
|
@@ -262,103 +250,50 @@ export interface AppConfigClientResolvedConfig extends AppConfigClientResolvedCo
|
|
|
262
250
|
* <p>This section provides a high-level description of how AppConfig works and how
|
|
263
251
|
* you get started.</p>
|
|
264
252
|
* <dl>
|
|
265
|
-
* <dt>1. Identify configuration
|
|
253
|
+
* <dt>1. Identify configuration data to manage in AppConfig</dt>
|
|
266
254
|
* <dd>
|
|
267
|
-
* <p>Before you
|
|
268
|
-
*
|
|
269
|
-
* AppConfig. Good examples include feature flags or toggles, allow and
|
|
270
|
-
* block lists, logging verbosity, service limits, and throttling rules, to name a
|
|
271
|
-
* few.</p>
|
|
272
|
-
* <p>If your configuration data already exists in the cloud, you can take advantage
|
|
273
|
-
* of AppConfig validation, deployment, and extension features to further
|
|
274
|
-
* streamline configuration data management.</p>
|
|
255
|
+
* <p>Before creating a configuration profile, identify the configuration data in your code that you want to manage dynamically using AppConfig. Common examples include feature flags, allow and block lists, logging levels, service limits, and throttling rules. These values tend to change frequently and can cause issues if misconfigured.</p>
|
|
256
|
+
* <p>If your configuration data already exists in cloud services such as Systems Manager Parameter Store or Amazon S3, you can use AppConfig to validate, deploy, and manage that data more effectively.</p>
|
|
275
257
|
* </dd>
|
|
276
|
-
* <dt>2. Create
|
|
258
|
+
* <dt>2. Create a configuration profile in AppConfig</dt>
|
|
277
259
|
* <dd>
|
|
278
|
-
* <p>
|
|
279
|
-
*
|
|
280
|
-
* folder.</p>
|
|
281
|
-
* </dd>
|
|
282
|
-
* <dt>3. Create environments</dt>
|
|
283
|
-
* <dd>
|
|
284
|
-
* <p>For each AppConfig application, you define one or more environments.
|
|
285
|
-
* An environment is a logical grouping of targets, such as applications in a
|
|
286
|
-
* <code>Beta</code> or <code>Production</code> environment, Lambda functions,
|
|
287
|
-
* or containers. You can also define environments for application subcomponents,
|
|
288
|
-
* such as the <code>Web</code>, <code>Mobile</code>, and
|
|
289
|
-
* <code>Back-end</code>.</p>
|
|
290
|
-
* <p>You can configure Amazon CloudWatch alarms for each environment. The system monitors
|
|
291
|
-
* alarms during a configuration deployment. If an alarm is triggered, the system
|
|
292
|
-
* rolls back the configuration.</p>
|
|
293
|
-
* </dd>
|
|
294
|
-
* <dt>4. Create a configuration profile</dt>
|
|
295
|
-
* <dd>
|
|
296
|
-
* <p>A configuration profile includes, among other things, a URI that enables
|
|
297
|
-
* AppConfig to locate your configuration data in its stored location
|
|
298
|
-
* and a profile type. AppConfig supports two configuration profile types:
|
|
299
|
-
* feature flags and freeform configurations. Feature flag configuration profiles
|
|
300
|
-
* store their data in the AppConfig hosted configuration store and the URI
|
|
301
|
-
* is simply <code>hosted</code>. For freeform configuration profiles, you can store
|
|
302
|
-
* your data in the AppConfig hosted configuration store or any Amazon Web Services
|
|
303
|
-
* service that integrates with AppConfig, as described in <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-free-form-configurations-creating.html">Creating
|
|
304
|
-
* a free form configuration profile</a> in the the <i>AppConfig User Guide</i>.</p>
|
|
305
|
-
* <p>A configuration profile can also include optional validators to ensure your
|
|
306
|
-
* configuration data is syntactically and semantically correct. AppConfig
|
|
307
|
-
* performs a check using the validators when you start a deployment. If any errors
|
|
308
|
-
* are detected, the deployment rolls back to the previous configuration data.</p>
|
|
309
|
-
* </dd>
|
|
310
|
-
* <dt>5. Deploy configuration data</dt>
|
|
311
|
-
* <dd>
|
|
312
|
-
* <p>When you create a new deployment, you specify the following:</p>
|
|
260
|
+
* <p>A configuration profile defines how AppConfig locates and manages your configuration data. It includes a URI that points to the data source and a profile type.</p>
|
|
261
|
+
* <p>AppConfig supports two profile types</p>
|
|
313
262
|
* <ul>
|
|
314
263
|
* <li>
|
|
315
|
-
* <p>
|
|
316
|
-
*
|
|
317
|
-
* <li>
|
|
318
|
-
* <p>A configuration profile ID</p>
|
|
319
|
-
* </li>
|
|
320
|
-
* <li>
|
|
321
|
-
* <p>A configuration version</p>
|
|
264
|
+
* <p>
|
|
265
|
+
* <b>Feature flags</b> – Enable controlled feature releases, gradual rollouts, and testing in production.</p>
|
|
322
266
|
* </li>
|
|
323
267
|
* <li>
|
|
324
|
-
* <p>
|
|
325
|
-
*
|
|
326
|
-
* <li>
|
|
327
|
-
* <p>A deployment strategy ID that defines how fast you want the changes to
|
|
328
|
-
* take effect</p>
|
|
268
|
+
* <p>
|
|
269
|
+
* <b>Free-form configurations</b> – Store and retrieve configuration data from external sources and update it without redeploying code.</p>
|
|
329
270
|
* </li>
|
|
330
271
|
* </ul>
|
|
331
|
-
* <p>
|
|
332
|
-
*
|
|
272
|
+
* <p>Both profile types help decouple configuration from code, support continuous delivery, and reduce deployment risk.</p>
|
|
273
|
+
* <p>You can also add optional validators to ensure that configuration data is syntactically and semantically correct. During deployment, AppConfig evaluates these validators and automatically rolls back changes if validation fails.</p>
|
|
274
|
+
* <p>Each configuration profile is associated with an application, which acts as a logical container for your configuration resources. For more information about creating a configuration profile, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-profile.html">Creating a configuration profile in AppConfig</a> in the the <i>AppConfig User Guide</i>.</p>
|
|
275
|
+
* </dd>
|
|
276
|
+
* <dt>3. Deploy configuration data</dt>
|
|
277
|
+
* <dd>
|
|
278
|
+
* <p>When you start a deployment, AppConfig:</p>
|
|
333
279
|
* <ol>
|
|
334
280
|
* <li>
|
|
335
|
-
* <p>Retrieves
|
|
336
|
-
* the location URI in the configuration profile.</p>
|
|
281
|
+
* <p>Retrieves configuration data from the source defined in the configuration profile</p>
|
|
337
282
|
* </li>
|
|
338
283
|
* <li>
|
|
339
|
-
* <p>
|
|
340
|
-
* by using the validators you specified when you created your configuration
|
|
341
|
-
* profile.</p>
|
|
284
|
+
* <p>Validates the data using the configured validators</p>
|
|
342
285
|
* </li>
|
|
343
286
|
* <li>
|
|
344
|
-
* <p>
|
|
345
|
-
* application. This cached copy is called the <i>deployed
|
|
346
|
-
* data</i>.</p>
|
|
287
|
+
* <p>Delivers the validated configuration to AppConfig Agent</p>
|
|
347
288
|
* </li>
|
|
348
289
|
* </ol>
|
|
290
|
+
* <p>The delivered configuration becomes the deployed version used by your application. For more information about deploying a configuration, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/deploying-feature-flags.html">Deploying feature flags and configuration data in AppConfig</a>.</p>
|
|
349
291
|
* </dd>
|
|
350
|
-
* <dt>
|
|
292
|
+
* <dt>4. Retrieve configuration data</dt>
|
|
351
293
|
* <dd>
|
|
352
|
-
* <p>
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
* localhost server. AppConfig Agent supports several use cases, as
|
|
356
|
-
* described in <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-simplified-methods.html">Simplified
|
|
357
|
-
* retrieval methods</a> in the the <i>AppConfig User
|
|
358
|
-
* Guide</i>.</p>
|
|
359
|
-
* <p>If AppConfig Agent isn't supported for your use case, you can
|
|
360
|
-
* configure your application to poll AppConfig for configuration updates
|
|
361
|
-
* by directly calling the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> API actions. </p>
|
|
294
|
+
* <p>Your application retrieves configuration data by calling a local endpoint exposed by AppConfig Agent, which caches the deployed configuration. Retrieving data is a metered event. AppConfig Agent supports a variety of use cases, as described in <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-agent-how-to-use.html">How to use AppConfig Agent to retrieve configuration data</a>.</p>
|
|
295
|
+
* <p>If the agent is not suitable for your use case, your application can retrieve configuration data directly from AppConfig by calling the <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html">StartConfigurationSession</a> and <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> API actions. </p>
|
|
296
|
+
* <p>For more information about retrieving a configuration, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/retrieving-feature-flags.html">Retrieving feature flags and configuration data in AppConfig</a>.</p>
|
|
362
297
|
* </dd>
|
|
363
298
|
* </dl>
|
|
364
299
|
* <p>This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig User
|
|
@@ -75,9 +75,6 @@ declare const CreateApplicationCommand_base: {
|
|
|
75
75
|
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
76
76
|
* environment doesn't exceed the following service quotas:</p>
|
|
77
77
|
* <p>Applications: 100 max</p>
|
|
78
|
-
* <p>Deployment strategies: 20 max</p>
|
|
79
|
-
* <p>Configuration profiles: 100 max per application</p>
|
|
80
|
-
* <p>Environments: 20 max per application</p>
|
|
81
78
|
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
82
79
|
* request a quota increase. For more information about quotas and to request an increase, see
|
|
83
80
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|
|
@@ -136,9 +136,6 @@ declare const CreateConfigurationProfileCommand_base: {
|
|
|
136
136
|
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
137
137
|
* environment doesn't exceed the following service quotas:</p>
|
|
138
138
|
* <p>Applications: 100 max</p>
|
|
139
|
-
* <p>Deployment strategies: 20 max</p>
|
|
140
|
-
* <p>Configuration profiles: 100 max per application</p>
|
|
141
|
-
* <p>Environments: 20 max per application</p>
|
|
142
139
|
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
143
140
|
* request a quota increase. For more information about quotas and to request an increase, see
|
|
144
141
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|
|
@@ -84,9 +84,6 @@ declare const CreateDeploymentStrategyCommand_base: {
|
|
|
84
84
|
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
85
85
|
* environment doesn't exceed the following service quotas:</p>
|
|
86
86
|
* <p>Applications: 100 max</p>
|
|
87
|
-
* <p>Deployment strategies: 20 max</p>
|
|
88
|
-
* <p>Configuration profiles: 100 max per application</p>
|
|
89
|
-
* <p>Environments: 20 max per application</p>
|
|
90
87
|
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
91
88
|
* request a quota increase. For more information about quotas and to request an increase, see
|
|
92
89
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|
|
@@ -96,9 +96,6 @@ declare const CreateEnvironmentCommand_base: {
|
|
|
96
96
|
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
97
97
|
* environment doesn't exceed the following service quotas:</p>
|
|
98
98
|
* <p>Applications: 100 max</p>
|
|
99
|
-
* <p>Deployment strategies: 20 max</p>
|
|
100
|
-
* <p>Configuration profiles: 100 max per application</p>
|
|
101
|
-
* <p>Environments: 20 max per application</p>
|
|
102
99
|
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
103
100
|
* request a quota increase. For more information about quotas and to request an increase, see
|
|
104
101
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppConfigClient";
|
|
4
|
+
import type { CreateExperimentDefinitionRequest, ExperimentDefinition } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateExperimentDefinitionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateExperimentDefinitionCommandInput extends CreateExperimentDefinitionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateExperimentDefinitionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateExperimentDefinitionCommandOutput extends ExperimentDefinition, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateExperimentDefinitionCommand_base: {
|
|
25
|
+
new (input: CreateExperimentDefinitionCommandInput): import("@smithy/core/client").CommandImpl<CreateExperimentDefinitionCommandInput, CreateExperimentDefinitionCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateExperimentDefinitionCommandInput): import("@smithy/core/client").CommandImpl<CreateExperimentDefinitionCommandInput, CreateExperimentDefinitionCommandOutput, AppConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates an experiment definition in AppConfig. An experiment definition describes the purpose, scope, and operational configuration of an experiment, including the target audience, feature flag, and treatment configurations.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { AppConfigClient, CreateExperimentDefinitionCommand } from "@aws-sdk/client-appconfig"; // ES Modules import
|
|
37
|
+
* // const { AppConfigClient, CreateExperimentDefinitionCommand } = require("@aws-sdk/client-appconfig"); // CommonJS import
|
|
38
|
+
* // import type { AppConfigClientConfig } from "@aws-sdk/client-appconfig";
|
|
39
|
+
* const config = {}; // type is AppConfigClientConfig
|
|
40
|
+
* const client = new AppConfigClient(config);
|
|
41
|
+
* const input = { // CreateExperimentDefinitionRequest
|
|
42
|
+
* ApplicationIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* ConfigurationProfileIdentifier: "STRING_VALUE", // required
|
|
45
|
+
* EnvironmentIdentifier: "STRING_VALUE", // required
|
|
46
|
+
* FlagKey: "STRING_VALUE", // required
|
|
47
|
+
* Treatments: [ // TreatmentInputList // required
|
|
48
|
+
* { // TreatmentInput
|
|
49
|
+
* Weight: Number("float"), // required
|
|
50
|
+
* Description: "STRING_VALUE",
|
|
51
|
+
* FlagValue: { // FlagValue
|
|
52
|
+
* Enabled: true || false, // required
|
|
53
|
+
* AttributeValues: { // AttributeValueMap
|
|
54
|
+
* "<keys>": { // AttributeValue Union: only one key present
|
|
55
|
+
* StringValue: "STRING_VALUE",
|
|
56
|
+
* NumberValue: Number("double"),
|
|
57
|
+
* BooleanValue: true || false,
|
|
58
|
+
* StringArray: [ // StringList
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* NumberArray: [ // NumberList
|
|
62
|
+
* Number("double"),
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* Control: {
|
|
70
|
+
* Weight: Number("float"), // required
|
|
71
|
+
* Description: "STRING_VALUE",
|
|
72
|
+
* FlagValue: {
|
|
73
|
+
* Enabled: true || false, // required
|
|
74
|
+
* AttributeValues: {
|
|
75
|
+
* "<keys>": {// Union: only one key present
|
|
76
|
+
* StringValue: "STRING_VALUE",
|
|
77
|
+
* NumberValue: Number("double"),
|
|
78
|
+
* BooleanValue: true || false,
|
|
79
|
+
* StringArray: [
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* NumberArray: [
|
|
83
|
+
* Number("double"),
|
|
84
|
+
* ],
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* AudienceRule: "STRING_VALUE", // required
|
|
90
|
+
* Hypothesis: "STRING_VALUE",
|
|
91
|
+
* AudienceDescription: "STRING_VALUE",
|
|
92
|
+
* LaunchCriteria: "STRING_VALUE",
|
|
93
|
+
* Tags: { // TagMap
|
|
94
|
+
* "<keys>": "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* };
|
|
97
|
+
* const command = new CreateExperimentDefinitionCommand(input);
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* // { // ExperimentDefinition
|
|
100
|
+
* // ApplicationId: "STRING_VALUE",
|
|
101
|
+
* // Id: "STRING_VALUE",
|
|
102
|
+
* // Name: "STRING_VALUE",
|
|
103
|
+
* // Hypothesis: "STRING_VALUE",
|
|
104
|
+
* // Status: "ACTIVE" || "IDLE" || "ARCHIVED",
|
|
105
|
+
* // ConfigurationProfileId: "STRING_VALUE",
|
|
106
|
+
* // EnvironmentId: "STRING_VALUE",
|
|
107
|
+
* // FlagKey: "STRING_VALUE",
|
|
108
|
+
* // AudienceRule: "STRING_VALUE",
|
|
109
|
+
* // AudienceDescription: "STRING_VALUE",
|
|
110
|
+
* // LaunchCriteria: "STRING_VALUE",
|
|
111
|
+
* // Treatments: [ // TreatmentList
|
|
112
|
+
* // { // Treatment
|
|
113
|
+
* // Key: "STRING_VALUE",
|
|
114
|
+
* // Weight: Number("float"), // required
|
|
115
|
+
* // Description: "STRING_VALUE",
|
|
116
|
+
* // FlagValue: { // FlagValue
|
|
117
|
+
* // Enabled: true || false, // required
|
|
118
|
+
* // AttributeValues: { // AttributeValueMap
|
|
119
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
120
|
+
* // StringValue: "STRING_VALUE",
|
|
121
|
+
* // NumberValue: Number("double"),
|
|
122
|
+
* // BooleanValue: true || false,
|
|
123
|
+
* // StringArray: [ // StringList
|
|
124
|
+
* // "STRING_VALUE",
|
|
125
|
+
* // ],
|
|
126
|
+
* // NumberArray: [ // NumberList
|
|
127
|
+
* // Number("double"),
|
|
128
|
+
* // ],
|
|
129
|
+
* // },
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // Control: {
|
|
135
|
+
* // Key: "STRING_VALUE",
|
|
136
|
+
* // Weight: Number("float"), // required
|
|
137
|
+
* // Description: "STRING_VALUE",
|
|
138
|
+
* // FlagValue: {
|
|
139
|
+
* // Enabled: true || false, // required
|
|
140
|
+
* // AttributeValues: {
|
|
141
|
+
* // "<keys>": {// Union: only one key present
|
|
142
|
+
* // StringValue: "STRING_VALUE",
|
|
143
|
+
* // NumberValue: Number("double"),
|
|
144
|
+
* // BooleanValue: true || false,
|
|
145
|
+
* // StringArray: [
|
|
146
|
+
* // "STRING_VALUE",
|
|
147
|
+
* // ],
|
|
148
|
+
* // NumberArray: [
|
|
149
|
+
* // Number("double"),
|
|
150
|
+
* // ],
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
156
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
157
|
+
* // KmsKeyIdentifier: "STRING_VALUE",
|
|
158
|
+
* // };
|
|
159
|
+
*
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @param CreateExperimentDefinitionCommandInput - {@link CreateExperimentDefinitionCommandInput}
|
|
163
|
+
* @returns {@link CreateExperimentDefinitionCommandOutput}
|
|
164
|
+
* @see {@link CreateExperimentDefinitionCommandInput} for command's `input` shape.
|
|
165
|
+
* @see {@link CreateExperimentDefinitionCommandOutput} for command's `response` shape.
|
|
166
|
+
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link BadRequestException} (client fault)
|
|
169
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link ConflictException} (client fault)
|
|
172
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
173
|
+
* resource.</p>
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link InternalServerException} (server fault)
|
|
176
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
179
|
+
* <p>The requested resource could not be found.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
182
|
+
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
183
|
+
* environment doesn't exceed the following service quotas:</p>
|
|
184
|
+
* <p>Applications: 100 max</p>
|
|
185
|
+
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
186
|
+
* request a quota increase. For more information about quotas and to request an increase, see
|
|
187
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link AppConfigServiceException}
|
|
190
|
+
* <p>Base exception class for all service exceptions from AppConfig service.</p>
|
|
191
|
+
*
|
|
192
|
+
*
|
|
193
|
+
* @example To create an experiment definition
|
|
194
|
+
* ```javascript
|
|
195
|
+
* // The following CreateExperimentDefinition example creates an experiment definition that tests a feature flag with a 50/50 traffic split.
|
|
196
|
+
* const input = {
|
|
197
|
+
* ApplicationIdentifier: "339ohji",
|
|
198
|
+
* AudienceRule: `(eq $country "US")`,
|
|
199
|
+
* ConfigurationProfileIdentifier: "ur8hx2f",
|
|
200
|
+
* Control: {
|
|
201
|
+
* FlagValue: {
|
|
202
|
+
* Enabled: false
|
|
203
|
+
* },
|
|
204
|
+
* Weight: 50
|
|
205
|
+
* },
|
|
206
|
+
* EnvironmentIdentifier: "54j1r29",
|
|
207
|
+
* FlagKey: "my-feature-flag",
|
|
208
|
+
* Name: "Example-Experiment-Definition",
|
|
209
|
+
* Treatments: [
|
|
210
|
+
* {
|
|
211
|
+
* FlagValue: {
|
|
212
|
+
* Enabled: true
|
|
213
|
+
* },
|
|
214
|
+
* Weight: 50
|
|
215
|
+
* }
|
|
216
|
+
* ]
|
|
217
|
+
* };
|
|
218
|
+
* const command = new CreateExperimentDefinitionCommand(input);
|
|
219
|
+
* const response = await client.send(command);
|
|
220
|
+
* /* response is
|
|
221
|
+
* {
|
|
222
|
+
* ApplicationId: "339ohji",
|
|
223
|
+
* AudienceRule: `(eq $country "US")`,
|
|
224
|
+
* ConfigurationProfileId: "ur8hx2f",
|
|
225
|
+
* Control: {
|
|
226
|
+
* FlagValue: {
|
|
227
|
+
* Enabled: false
|
|
228
|
+
* },
|
|
229
|
+
* Key: "c",
|
|
230
|
+
* Weight: 50.0
|
|
231
|
+
* },
|
|
232
|
+
* CreatedAt: "2026-06-16T17:54:55.847Z",
|
|
233
|
+
* EnvironmentId: "54j1r29",
|
|
234
|
+
* FlagKey: "my-feature-flag",
|
|
235
|
+
* Id: "bsxyd7k",
|
|
236
|
+
* Name: "Example-Experiment-Definition",
|
|
237
|
+
* Status: "IDLE",
|
|
238
|
+
* Treatments: [
|
|
239
|
+
* {
|
|
240
|
+
* FlagValue: {
|
|
241
|
+
* Enabled: true
|
|
242
|
+
* },
|
|
243
|
+
* Key: "t1",
|
|
244
|
+
* Weight: 50.0
|
|
245
|
+
* }
|
|
246
|
+
* ],
|
|
247
|
+
* UpdatedAt: "2026-06-16T17:54:55.847Z"
|
|
248
|
+
* }
|
|
249
|
+
* *\/
|
|
250
|
+
* ```
|
|
251
|
+
*
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
export declare class CreateExperimentDefinitionCommand extends CreateExperimentDefinitionCommand_base {
|
|
255
|
+
/** @internal type navigation helper, not in runtime. */
|
|
256
|
+
protected static __types: {
|
|
257
|
+
api: {
|
|
258
|
+
input: CreateExperimentDefinitionRequest;
|
|
259
|
+
output: ExperimentDefinition;
|
|
260
|
+
};
|
|
261
|
+
sdk: {
|
|
262
|
+
input: CreateExperimentDefinitionCommandInput;
|
|
263
|
+
output: CreateExperimentDefinitionCommandOutput;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
}
|
|
@@ -94,9 +94,6 @@ declare const CreateExtensionAssociationCommand_base: {
|
|
|
94
94
|
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
95
95
|
* environment doesn't exceed the following service quotas:</p>
|
|
96
96
|
* <p>Applications: 100 max</p>
|
|
97
|
-
* <p>Deployment strategies: 20 max</p>
|
|
98
|
-
* <p>Configuration profiles: 100 max per application</p>
|
|
99
|
-
* <p>Environments: 20 max per application</p>
|
|
100
97
|
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
101
98
|
* request a quota increase. For more information about quotas and to request an increase, see
|
|
102
99
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|
|
@@ -135,9 +135,6 @@ declare const CreateExtensionCommand_base: {
|
|
|
135
135
|
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
136
136
|
* environment doesn't exceed the following service quotas:</p>
|
|
137
137
|
* <p>Applications: 100 max</p>
|
|
138
|
-
* <p>Deployment strategies: 20 max</p>
|
|
139
|
-
* <p>Configuration profiles: 100 max per application</p>
|
|
140
|
-
* <p>Environments: 20 max per application</p>
|
|
141
138
|
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
142
139
|
* request a quota increase. For more information about quotas and to request an increase, see
|
|
143
140
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|
|
@@ -44,7 +44,7 @@ declare const CreateHostedConfigurationVersionCommand_base: {
|
|
|
44
44
|
/**
|
|
45
45
|
* <p>Creates a new configuration in the AppConfig hosted configuration store. If
|
|
46
46
|
* you're creating a feature flag, we recommend you familiarize yourself with the JSON schema
|
|
47
|
-
* for feature flag data. For more information, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-
|
|
47
|
+
* for feature flag data. For more information, see <a href="https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-type-reference-feature-flags.html">Type reference for AWS.AppConfig.FeatureFlags</a> in the
|
|
48
48
|
* <i>AppConfig User Guide</i>.</p>
|
|
49
49
|
* @example
|
|
50
50
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -104,9 +104,6 @@ declare const CreateHostedConfigurationVersionCommand_base: {
|
|
|
104
104
|
* <p>The number of one more AppConfig resources exceeds the maximum allowed. Verify that your
|
|
105
105
|
* environment doesn't exceed the following service quotas:</p>
|
|
106
106
|
* <p>Applications: 100 max</p>
|
|
107
|
-
* <p>Deployment strategies: 20 max</p>
|
|
108
|
-
* <p>Configuration profiles: 100 max per application</p>
|
|
109
|
-
* <p>Environments: 20 max per application</p>
|
|
110
107
|
* <p>To resolve this issue, you can delete one or more resources and try again. Or, you can
|
|
111
108
|
* request a quota increase. For more information about quotas and to request an increase, see
|
|
112
109
|
* <a href="https://docs.aws.amazon.com/general/latest/gr/appconfig.html#limits_appconfig">Service quotas for AppConfig</a> in the Amazon Web Services General Reference.</p>
|