@aws-sdk/client-appconfig 3.1074.0 → 3.1076.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 (93) hide show
  1. package/README.md +108 -107
  2. package/dist-cjs/index.js +1825 -15
  3. package/dist-es/AppConfig.js +28 -0
  4. package/dist-es/commands/CreateExperimentDefinitionCommand.js +16 -0
  5. package/dist-es/commands/DeleteExperimentDefinitionCommand.js +16 -0
  6. package/dist-es/commands/GetExperimentDefinitionCommand.js +16 -0
  7. package/dist-es/commands/GetExperimentRunCommand.js +16 -0
  8. package/dist-es/commands/ListExperimentDefinitionsCommand.js +16 -0
  9. package/dist-es/commands/ListExperimentRunEventsCommand.js +16 -0
  10. package/dist-es/commands/ListExperimentRunsCommand.js +16 -0
  11. package/dist-es/commands/StartExperimentRunCommand.js +16 -0
  12. package/dist-es/commands/StopExperimentRunCommand.js +16 -0
  13. package/dist-es/commands/UpdateExperimentDefinitionCommand.js +16 -0
  14. package/dist-es/commands/UpdateExperimentRunCommand.js +16 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/enums.js +23 -0
  17. package/dist-es/pagination/ListExperimentDefinitionsPaginator.js +4 -0
  18. package/dist-es/pagination/ListExperimentRunEventsPaginator.js +4 -0
  19. package/dist-es/pagination/ListExperimentRunsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +3 -0
  21. package/dist-es/schemas/schemas_0.js +328 -49
  22. package/dist-types/AppConfig.d.ts +130 -107
  23. package/dist-types/AppConfigClient.d.ts +44 -109
  24. package/dist-types/commands/CreateApplicationCommand.d.ts +0 -3
  25. package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +0 -3
  26. package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +0 -3
  27. package/dist-types/commands/CreateEnvironmentCommand.d.ts +0 -3
  28. package/dist-types/commands/CreateExperimentDefinitionCommand.d.ts +266 -0
  29. package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +0 -3
  30. package/dist-types/commands/CreateExtensionCommand.d.ts +0 -3
  31. package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +1 -4
  32. package/dist-types/commands/DeleteExperimentDefinitionCommand.d.ts +103 -0
  33. package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -0
  34. package/dist-types/commands/GetExperimentDefinitionCommand.d.ts +184 -0
  35. package/dist-types/commands/GetExperimentRunCommand.d.ts +209 -0
  36. package/dist-types/commands/ListDeploymentsCommand.d.ts +2 -0
  37. package/dist-types/commands/ListExperimentDefinitionsCommand.d.ts +131 -0
  38. package/dist-types/commands/ListExperimentRunEventsCommand.d.ts +136 -0
  39. package/dist-types/commands/ListExperimentRunsCommand.d.ts +125 -0
  40. package/dist-types/commands/StartDeploymentCommand.d.ts +5 -0
  41. package/dist-types/commands/StartExperimentRunCommand.d.ts +230 -0
  42. package/dist-types/commands/StopExperimentRunCommand.d.ts +231 -0
  43. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -0
  44. package/dist-types/commands/UpdateExperimentDefinitionCommand.d.ts +237 -0
  45. package/dist-types/commands/UpdateExperimentRunCommand.d.ts +229 -0
  46. package/dist-types/commands/index.d.ts +11 -0
  47. package/dist-types/index.d.ts +31 -107
  48. package/dist-types/models/enums.d.ts +63 -0
  49. package/dist-types/models/errors.d.ts +0 -3
  50. package/dist-types/models/models_0.d.ts +1080 -37
  51. package/dist-types/pagination/ListExperimentDefinitionsPaginator.d.ts +7 -0
  52. package/dist-types/pagination/ListExperimentRunEventsPaginator.d.ts +7 -0
  53. package/dist-types/pagination/ListExperimentRunsPaginator.d.ts +7 -0
  54. package/dist-types/pagination/index.d.ts +3 -0
  55. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  56. package/dist-types/runtimeConfig.d.ts +1 -1
  57. package/dist-types/runtimeConfig.native.d.ts +1 -1
  58. package/dist-types/schemas/schemas_0.d.ts +39 -0
  59. package/dist-types/ts3.4/AppConfig.d.ts +209 -0
  60. package/dist-types/ts3.4/AppConfigClient.d.ts +66 -0
  61. package/dist-types/ts3.4/commands/CreateExperimentDefinitionCommand.d.ts +53 -0
  62. package/dist-types/ts3.4/commands/DeleteExperimentDefinitionCommand.d.ts +49 -0
  63. package/dist-types/ts3.4/commands/GetExperimentDefinitionCommand.d.ts +53 -0
  64. package/dist-types/ts3.4/commands/GetExperimentRunCommand.d.ts +49 -0
  65. package/dist-types/ts3.4/commands/ListExperimentDefinitionsCommand.d.ts +53 -0
  66. package/dist-types/ts3.4/commands/ListExperimentRunEventsCommand.d.ts +53 -0
  67. package/dist-types/ts3.4/commands/ListExperimentRunsCommand.d.ts +50 -0
  68. package/dist-types/ts3.4/commands/StartExperimentRunCommand.d.ts +50 -0
  69. package/dist-types/ts3.4/commands/StopExperimentRunCommand.d.ts +50 -0
  70. package/dist-types/ts3.4/commands/UpdateExperimentDefinitionCommand.d.ts +53 -0
  71. package/dist-types/ts3.4/commands/UpdateExperimentRunCommand.d.ts +50 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  73. package/dist-types/ts3.4/models/enums.d.ts +32 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +292 -0
  75. package/dist-types/ts3.4/pagination/ListExperimentDefinitionsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/ListExperimentRunEventsPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/ListExperimentRunsPaginator.d.ts +11 -0
  78. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +39 -0
  83. package/package.json +8 -8
  84. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  85. package/dist-cjs/endpoint/bdd.js +0 -52
  86. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  87. package/dist-cjs/models/AppConfigServiceException.js +0 -8
  88. package/dist-cjs/models/errors.js +0 -97
  89. package/dist-cjs/runtimeConfig.browser.js +0 -32
  90. package/dist-cjs/runtimeConfig.js +0 -45
  91. package/dist-cjs/runtimeConfig.native.js +0 -12
  92. package/dist-cjs/runtimeConfig.shared.js +0 -38
  93. package/dist-cjs/schemas/schemas_0.js +0 -980
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AppConfigClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AppConfigClient";
8
+ import {
9
+ ExperimentDefinition,
10
+ UpdateExperimentDefinitionRequest,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateExperimentDefinitionCommandInput
15
+ extends UpdateExperimentDefinitionRequest {}
16
+ export interface UpdateExperimentDefinitionCommandOutput
17
+ extends ExperimentDefinition,
18
+ __MetadataBearer {}
19
+ declare const UpdateExperimentDefinitionCommand_base: {
20
+ new (
21
+ input: UpdateExperimentDefinitionCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ UpdateExperimentDefinitionCommandInput,
24
+ UpdateExperimentDefinitionCommandOutput,
25
+ AppConfigClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateExperimentDefinitionCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ UpdateExperimentDefinitionCommandInput,
33
+ UpdateExperimentDefinitionCommandOutput,
34
+ AppConfigClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class UpdateExperimentDefinitionCommand extends UpdateExperimentDefinitionCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: UpdateExperimentDefinitionRequest;
46
+ output: ExperimentDefinition;
47
+ };
48
+ sdk: {
49
+ input: UpdateExperimentDefinitionCommandInput;
50
+ output: UpdateExperimentDefinitionCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AppConfigClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../AppConfigClient";
8
+ import { ExperimentRun, UpdateExperimentRunRequest } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface UpdateExperimentRunCommandInput
12
+ extends UpdateExperimentRunRequest {}
13
+ export interface UpdateExperimentRunCommandOutput
14
+ extends ExperimentRun,
15
+ __MetadataBearer {}
16
+ declare const UpdateExperimentRunCommand_base: {
17
+ new (
18
+ input: UpdateExperimentRunCommandInput
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ UpdateExperimentRunCommandInput,
21
+ UpdateExperimentRunCommandOutput,
22
+ AppConfigClientResolvedConfig,
23
+ ServiceInputTypes,
24
+ ServiceOutputTypes
25
+ >;
26
+ new (
27
+ input: UpdateExperimentRunCommandInput
28
+ ): import("@smithy/core/client").CommandImpl<
29
+ UpdateExperimentRunCommandInput,
30
+ UpdateExperimentRunCommandOutput,
31
+ AppConfigClientResolvedConfig,
32
+ ServiceInputTypes,
33
+ ServiceOutputTypes
34
+ >;
35
+ getEndpointParameterInstructions(): {
36
+ [x: string]: unknown;
37
+ };
38
+ };
39
+ export declare class UpdateExperimentRunCommand extends UpdateExperimentRunCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: UpdateExperimentRunRequest;
43
+ output: ExperimentRun;
44
+ };
45
+ sdk: {
46
+ input: UpdateExperimentRunCommandInput;
47
+ output: UpdateExperimentRunCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -2,6 +2,7 @@ export * from "./CreateApplicationCommand";
2
2
  export * from "./CreateConfigurationProfileCommand";
3
3
  export * from "./CreateDeploymentStrategyCommand";
4
4
  export * from "./CreateEnvironmentCommand";
5
+ export * from "./CreateExperimentDefinitionCommand";
5
6
  export * from "./CreateExtensionAssociationCommand";
6
7
  export * from "./CreateExtensionCommand";
7
8
  export * from "./CreateHostedConfigurationVersionCommand";
@@ -9,6 +10,7 @@ export * from "./DeleteApplicationCommand";
9
10
  export * from "./DeleteConfigurationProfileCommand";
10
11
  export * from "./DeleteDeploymentStrategyCommand";
11
12
  export * from "./DeleteEnvironmentCommand";
13
+ export * from "./DeleteExperimentDefinitionCommand";
12
14
  export * from "./DeleteExtensionAssociationCommand";
13
15
  export * from "./DeleteExtensionCommand";
14
16
  export * from "./DeleteHostedConfigurationVersionCommand";
@@ -19,6 +21,8 @@ export * from "./GetConfigurationProfileCommand";
19
21
  export * from "./GetDeploymentCommand";
20
22
  export * from "./GetDeploymentStrategyCommand";
21
23
  export * from "./GetEnvironmentCommand";
24
+ export * from "./GetExperimentDefinitionCommand";
25
+ export * from "./GetExperimentRunCommand";
22
26
  export * from "./GetExtensionAssociationCommand";
23
27
  export * from "./GetExtensionCommand";
24
28
  export * from "./GetHostedConfigurationVersionCommand";
@@ -27,12 +31,17 @@ export * from "./ListConfigurationProfilesCommand";
27
31
  export * from "./ListDeploymentStrategiesCommand";
28
32
  export * from "./ListDeploymentsCommand";
29
33
  export * from "./ListEnvironmentsCommand";
34
+ export * from "./ListExperimentDefinitionsCommand";
35
+ export * from "./ListExperimentRunEventsCommand";
36
+ export * from "./ListExperimentRunsCommand";
30
37
  export * from "./ListExtensionAssociationsCommand";
31
38
  export * from "./ListExtensionsCommand";
32
39
  export * from "./ListHostedConfigurationVersionsCommand";
33
40
  export * from "./ListTagsForResourceCommand";
34
41
  export * from "./StartDeploymentCommand";
42
+ export * from "./StartExperimentRunCommand";
35
43
  export * from "./StopDeploymentCommand";
44
+ export * from "./StopExperimentRunCommand";
36
45
  export * from "./TagResourceCommand";
37
46
  export * from "./UntagResourceCommand";
38
47
  export * from "./UpdateAccountSettingsCommand";
@@ -40,6 +49,8 @@ export * from "./UpdateApplicationCommand";
40
49
  export * from "./UpdateConfigurationProfileCommand";
41
50
  export * from "./UpdateDeploymentStrategyCommand";
42
51
  export * from "./UpdateEnvironmentCommand";
52
+ export * from "./UpdateExperimentDefinitionCommand";
53
+ export * from "./UpdateExperimentRunCommand";
43
54
  export * from "./UpdateExtensionAssociationCommand";
44
55
  export * from "./UpdateExtensionCommand";
45
56
  export * from "./ValidateConfigurationCommand";
@@ -38,6 +38,13 @@ export declare const EnvironmentState: {
38
38
  };
39
39
  export type EnvironmentState =
40
40
  (typeof EnvironmentState)[keyof typeof EnvironmentState];
41
+ export declare const ExperimentDefinitionStatus: {
42
+ readonly ACTIVE: "ACTIVE";
43
+ readonly ARCHIVED: "ARCHIVED";
44
+ readonly IDLE: "IDLE";
45
+ };
46
+ export type ExperimentDefinitionStatus =
47
+ (typeof ExperimentDefinitionStatus)[keyof typeof ExperimentDefinitionStatus];
41
48
  export declare const BytesMeasure: {
42
49
  readonly KILOBYTES: "KILOBYTES";
43
50
  };
@@ -49,6 +56,11 @@ export declare const DeletionProtectionCheck: {
49
56
  };
50
57
  export type DeletionProtectionCheck =
51
58
  (typeof DeletionProtectionCheck)[keyof typeof DeletionProtectionCheck];
59
+ export declare const DeleteType: {
60
+ readonly ARCHIVE: "ARCHIVE";
61
+ readonly DESTROY: "DESTROY";
62
+ };
63
+ export type DeleteType = (typeof DeleteType)[keyof typeof DeleteType];
52
64
  export declare const DeploymentEventType: {
53
65
  readonly BAKE_TIME_STARTED: "BAKE_TIME_STARTED";
54
66
  readonly DEPLOYMENT_COMPLETED: "DEPLOYMENT_COMPLETED";
@@ -78,3 +90,23 @@ export declare const DeploymentState: {
78
90
  };
79
91
  export type DeploymentState =
80
92
  (typeof DeploymentState)[keyof typeof DeploymentState];
93
+ export declare const ExperimentRunStatus: {
94
+ readonly DONE: "DONE";
95
+ readonly RUNNING: "RUNNING";
96
+ };
97
+ export type ExperimentRunStatus =
98
+ (typeof ExperimentRunStatus)[keyof typeof ExperimentRunStatus];
99
+ export declare const DeploymentType: {
100
+ readonly MANAGED: "MANAGED";
101
+ readonly USER: "USER";
102
+ };
103
+ export type DeploymentType =
104
+ (typeof DeploymentType)[keyof typeof DeploymentType];
105
+ export declare const ExperimentRunEventType: {
106
+ readonly EXPOSURE_UPDATED: "EXPOSURE_UPDATED";
107
+ readonly OVERRIDES_UPDATED: "OVERRIDES_UPDATED";
108
+ readonly RUN_STARTED: "RUN_STARTED";
109
+ readonly RUN_STOPPED: "RUN_STOPPED";
110
+ };
111
+ export type ExperimentRunEventType =
112
+ (typeof ExperimentRunEventType)[keyof typeof ExperimentRunEventType];
@@ -1,9 +1,14 @@
1
1
  import {
2
2
  ActionPoint,
3
+ DeleteType,
3
4
  DeletionProtectionCheck,
4
5
  DeploymentEventType,
5
6
  DeploymentState,
7
+ DeploymentType,
6
8
  EnvironmentState,
9
+ ExperimentDefinitionStatus,
10
+ ExperimentRunEventType,
11
+ ExperimentRunStatus,
7
12
  GrowthType,
8
13
  ReplicateTo,
9
14
  TriggeredBy,
@@ -13,8 +18,12 @@ export interface DeletionProtectionSettings {
13
18
  Enabled?: boolean | undefined;
14
19
  ProtectionPeriodInMinutes?: number | undefined;
15
20
  }
21
+ export interface VendedMetricsSettings {
22
+ Enabled?: boolean | undefined;
23
+ }
16
24
  export interface AccountSettings {
17
25
  DeletionProtection?: DeletionProtectionSettings | undefined;
26
+ VendedMetrics?: VendedMetricsSettings | undefined;
18
27
  }
19
28
  export interface Action {
20
29
  Name?: string | undefined;
@@ -131,6 +140,118 @@ export interface Environment {
131
140
  State?: EnvironmentState | undefined;
132
141
  Monitors?: Monitor[] | undefined;
133
142
  }
143
+ export type AttributeValue =
144
+ | AttributeValue.BooleanValueMember
145
+ | AttributeValue.NumberArrayMember
146
+ | AttributeValue.NumberValueMember
147
+ | AttributeValue.StringArrayMember
148
+ | AttributeValue.StringValueMember
149
+ | AttributeValue.$UnknownMember;
150
+ export declare namespace AttributeValue {
151
+ interface StringValueMember {
152
+ StringValue: string;
153
+ NumberValue?: never;
154
+ BooleanValue?: never;
155
+ StringArray?: never;
156
+ NumberArray?: never;
157
+ $unknown?: never;
158
+ }
159
+ interface NumberValueMember {
160
+ StringValue?: never;
161
+ NumberValue: number;
162
+ BooleanValue?: never;
163
+ StringArray?: never;
164
+ NumberArray?: never;
165
+ $unknown?: never;
166
+ }
167
+ interface BooleanValueMember {
168
+ StringValue?: never;
169
+ NumberValue?: never;
170
+ BooleanValue: boolean;
171
+ StringArray?: never;
172
+ NumberArray?: never;
173
+ $unknown?: never;
174
+ }
175
+ interface StringArrayMember {
176
+ StringValue?: never;
177
+ NumberValue?: never;
178
+ BooleanValue?: never;
179
+ StringArray: string[];
180
+ NumberArray?: never;
181
+ $unknown?: never;
182
+ }
183
+ interface NumberArrayMember {
184
+ StringValue?: never;
185
+ NumberValue?: never;
186
+ BooleanValue?: never;
187
+ StringArray?: never;
188
+ NumberArray: number[];
189
+ $unknown?: never;
190
+ }
191
+ interface $UnknownMember {
192
+ StringValue?: never;
193
+ NumberValue?: never;
194
+ BooleanValue?: never;
195
+ StringArray?: never;
196
+ NumberArray?: never;
197
+ $unknown: [string, any];
198
+ }
199
+ interface Visitor<T> {
200
+ StringValue: (value: string) => T;
201
+ NumberValue: (value: number) => T;
202
+ BooleanValue: (value: boolean) => T;
203
+ StringArray: (value: string[]) => T;
204
+ NumberArray: (value: number[]) => T;
205
+ _: (name: string, value: any) => T;
206
+ }
207
+ }
208
+ export interface FlagValue {
209
+ Enabled: boolean | undefined;
210
+ AttributeValues?: Record<string, AttributeValue> | undefined;
211
+ }
212
+ export interface TreatmentInput {
213
+ Weight: number | undefined;
214
+ Description?: string | undefined;
215
+ FlagValue: FlagValue | undefined;
216
+ }
217
+ export interface CreateExperimentDefinitionRequest {
218
+ ApplicationIdentifier: string | undefined;
219
+ Name: string | undefined;
220
+ ConfigurationProfileIdentifier: string | undefined;
221
+ EnvironmentIdentifier: string | undefined;
222
+ FlagKey: string | undefined;
223
+ Treatments: TreatmentInput[] | undefined;
224
+ Control: TreatmentInput | undefined;
225
+ AudienceRule: string | undefined;
226
+ Hypothesis?: string | undefined;
227
+ AudienceDescription?: string | undefined;
228
+ LaunchCriteria?: string | undefined;
229
+ Tags?: Record<string, string> | undefined;
230
+ }
231
+ export interface Treatment {
232
+ Key?: string | undefined;
233
+ Weight: number | undefined;
234
+ Description?: string | undefined;
235
+ FlagValue: FlagValue | undefined;
236
+ }
237
+ export interface ExperimentDefinition {
238
+ ApplicationId?: string | undefined;
239
+ Id?: string | undefined;
240
+ Name?: string | undefined;
241
+ Hypothesis?: string | undefined;
242
+ Status?: ExperimentDefinitionStatus | undefined;
243
+ ConfigurationProfileId?: string | undefined;
244
+ EnvironmentId?: string | undefined;
245
+ FlagKey?: string | undefined;
246
+ AudienceRule?: string | undefined;
247
+ AudienceDescription?: string | undefined;
248
+ LaunchCriteria?: string | undefined;
249
+ Treatments?: Treatment[] | undefined;
250
+ Control?: Treatment | undefined;
251
+ CreatedAt?: Date | undefined;
252
+ UpdatedAt?: Date | undefined;
253
+ KmsKeyIdentifier?: string | undefined;
254
+ }
134
255
  export interface Parameter {
135
256
  Description?: string | undefined;
136
257
  Required?: boolean | undefined;
@@ -203,6 +324,11 @@ export interface DeleteEnvironmentRequest {
203
324
  ApplicationId: string | undefined;
204
325
  DeletionProtectionCheck?: DeletionProtectionCheck | undefined;
205
326
  }
327
+ export interface DeleteExperimentDefinitionRequest {
328
+ ApplicationIdentifier: string | undefined;
329
+ ExperimentDefinitionIdentifier: string | undefined;
330
+ DeleteType?: DeleteType | undefined;
331
+ }
206
332
  export interface DeleteExtensionRequest {
207
333
  ExtensionIdentifier: string | undefined;
208
334
  VersionNumber?: number | undefined;
@@ -283,6 +409,65 @@ export interface GetEnvironmentRequest {
283
409
  ApplicationId: string | undefined;
284
410
  EnvironmentId: string | undefined;
285
411
  }
412
+ export interface GetExperimentDefinitionRequest {
413
+ ApplicationIdentifier: string | undefined;
414
+ ExperimentDefinitionIdentifier: string | undefined;
415
+ }
416
+ export interface ExperimentDefinitionSnapshot {
417
+ ApplicationId?: string | undefined;
418
+ Id?: string | undefined;
419
+ Name?: string | undefined;
420
+ Hypothesis?: string | undefined;
421
+ ConfigurationProfileId?: string | undefined;
422
+ EnvironmentId?: string | undefined;
423
+ FlagKey?: string | undefined;
424
+ AudienceRule?: string | undefined;
425
+ AudienceDescription?: string | undefined;
426
+ LaunchCriteria?: string | undefined;
427
+ Treatments?: Treatment[] | undefined;
428
+ Control?: Treatment | undefined;
429
+ }
430
+ export interface ExperimentRunResult {
431
+ ExecutiveSummary?: string | undefined;
432
+ ReasonsToLaunch?: string | undefined;
433
+ ReasonsNotToLaunch?: string | undefined;
434
+ }
435
+ export type TreatmentOverrides =
436
+ | TreatmentOverrides.InlineMember
437
+ | TreatmentOverrides.$UnknownMember;
438
+ export declare namespace TreatmentOverrides {
439
+ interface InlineMember {
440
+ Inline: Record<string, string>;
441
+ $unknown?: never;
442
+ }
443
+ interface $UnknownMember {
444
+ Inline?: never;
445
+ $unknown: [string, any];
446
+ }
447
+ interface Visitor<T> {
448
+ Inline: (value: Record<string, string>) => T;
449
+ _: (name: string, value: any) => T;
450
+ }
451
+ }
452
+ export interface ExperimentRun {
453
+ ApplicationId?: string | undefined;
454
+ ExperimentDefinitionId?: string | undefined;
455
+ Run?: number | undefined;
456
+ Description?: string | undefined;
457
+ Status?: ExperimentRunStatus | undefined;
458
+ ExposurePercentage?: number | undefined;
459
+ TreatmentOverrides?: TreatmentOverrides | undefined;
460
+ Result?: ExperimentRunResult | undefined;
461
+ StartedAt?: Date | undefined;
462
+ UpdatedAt?: Date | undefined;
463
+ EndedAt?: Date | undefined;
464
+ ExperimentDefinitionSnapshot?: ExperimentDefinitionSnapshot | undefined;
465
+ }
466
+ export interface GetExperimentRunRequest {
467
+ ApplicationIdentifier: string | undefined;
468
+ ExperimentDefinitionIdentifier: string | undefined;
469
+ Run: number | undefined;
470
+ }
286
471
  export interface GetExtensionRequest {
287
472
  ExtensionIdentifier: string | undefined;
288
473
  VersionNumber?: number | undefined;
@@ -323,6 +508,7 @@ export interface ListConfigurationProfilesRequest {
323
508
  }
324
509
  export interface DeploymentSummary {
325
510
  DeploymentNumber?: number | undefined;
511
+ ConfigurationProfileId?: string | undefined;
326
512
  ConfigurationName?: string | undefined;
327
513
  ConfigurationVersion?: string | undefined;
328
514
  DeploymentDurationInMinutes?: number | undefined;
@@ -334,6 +520,7 @@ export interface DeploymentSummary {
334
520
  StartedAt?: Date | undefined;
335
521
  CompletedAt?: Date | undefined;
336
522
  VersionLabel?: string | undefined;
523
+ Type?: DeploymentType | undefined;
337
524
  }
338
525
  export interface Deployments {
339
526
  Items?: DeploymentSummary[] | undefined;
@@ -362,6 +549,70 @@ export interface ListEnvironmentsRequest {
362
549
  MaxResults?: number | undefined;
363
550
  NextToken?: string | undefined;
364
551
  }
552
+ export interface ExperimentDefinitionSummary {
553
+ ApplicationId?: string | undefined;
554
+ Id?: string | undefined;
555
+ Name?: string | undefined;
556
+ Hypothesis?: string | undefined;
557
+ Status?: ExperimentDefinitionStatus | undefined;
558
+ ConfigurationProfileId?: string | undefined;
559
+ EnvironmentId?: string | undefined;
560
+ FlagKey?: string | undefined;
561
+ CreatedAt?: Date | undefined;
562
+ UpdatedAt?: Date | undefined;
563
+ }
564
+ export interface ExperimentDefinitions {
565
+ Items?: ExperimentDefinitionSummary[] | undefined;
566
+ NextToken?: string | undefined;
567
+ }
568
+ export interface ListExperimentDefinitionsRequest {
569
+ ApplicationIdentifier?: string | undefined;
570
+ ConfigurationProfileIdentifier?: string | undefined;
571
+ EnvironmentIdentifier?: string | undefined;
572
+ Status?: ExperimentDefinitionStatus | undefined;
573
+ MaxResults?: number | undefined;
574
+ NextToken?: string | undefined;
575
+ }
576
+ export interface ExperimentRunEvent {
577
+ Description?: string | undefined;
578
+ AssociatedDeployment?: string | undefined;
579
+ EventType?: ExperimentRunEventType | undefined;
580
+ OccurredAt?: Date | undefined;
581
+ TriggeredBy?: TriggeredBy | undefined;
582
+ ExposurePercentage?: number | undefined;
583
+ TreatmentOverrides?: TreatmentOverrides | undefined;
584
+ }
585
+ export interface ExperimentRunEvents {
586
+ Items?: ExperimentRunEvent[] | undefined;
587
+ NextToken?: string | undefined;
588
+ }
589
+ export interface ListExperimentRunEventsRequest {
590
+ ApplicationIdentifier: string | undefined;
591
+ ExperimentDefinitionIdentifier: string | undefined;
592
+ Run: number | undefined;
593
+ MaxResults?: number | undefined;
594
+ NextToken?: string | undefined;
595
+ }
596
+ export interface ExperimentRunSummary {
597
+ ExperimentDefinitionId?: string | undefined;
598
+ Run?: number | undefined;
599
+ Description?: string | undefined;
600
+ Status?: ExperimentRunStatus | undefined;
601
+ StartedAt?: Date | undefined;
602
+ UpdatedAt?: Date | undefined;
603
+ EndedAt?: Date | undefined;
604
+ }
605
+ export interface ExperimentRuns {
606
+ Items?: ExperimentRunSummary[] | undefined;
607
+ NextToken?: string | undefined;
608
+ }
609
+ export interface ListExperimentRunsRequest {
610
+ ApplicationIdentifier: string | undefined;
611
+ ExperimentDefinitionIdentifier: string | undefined;
612
+ MaxResults?: number | undefined;
613
+ NextToken?: string | undefined;
614
+ Status?: ExperimentRunStatus | undefined;
615
+ }
365
616
  export interface ExtensionAssociationSummary {
366
617
  Id?: string | undefined;
367
618
  ExtensionArn?: string | undefined;
@@ -430,6 +681,20 @@ export interface StartDeploymentRequest {
430
681
  Tags?: Record<string, string> | undefined;
431
682
  KmsKeyIdentifier?: string | undefined;
432
683
  DynamicExtensionParameters?: Record<string, string> | undefined;
684
+ LatestDeploymentNumber?: number | undefined;
685
+ }
686
+ export interface DeploymentParameters {
687
+ DynamicExtensionParameters?: Record<string, string> | undefined;
688
+ Tags?: Record<string, string> | undefined;
689
+ }
690
+ export interface StartExperimentRunRequest {
691
+ ApplicationIdentifier: string | undefined;
692
+ ExperimentDefinitionIdentifier: string | undefined;
693
+ Description?: string | undefined;
694
+ ExposurePercentage?: number | undefined;
695
+ TreatmentOverrides?: TreatmentOverrides | undefined;
696
+ Tags?: Record<string, string> | undefined;
697
+ DeploymentParameters?: DeploymentParameters | undefined;
433
698
  }
434
699
  export interface StopDeploymentRequest {
435
700
  ApplicationId: string | undefined;
@@ -437,6 +702,13 @@ export interface StopDeploymentRequest {
437
702
  DeploymentNumber: number | undefined;
438
703
  AllowRevert?: boolean | undefined;
439
704
  }
705
+ export interface StopExperimentRunRequest {
706
+ ApplicationIdentifier: string | undefined;
707
+ ExperimentDefinitionIdentifier: string | undefined;
708
+ Run: number | undefined;
709
+ Result?: ExperimentRunResult | undefined;
710
+ DeploymentParameters?: DeploymentParameters | undefined;
711
+ }
440
712
  export interface TagResourceRequest {
441
713
  ResourceArn: string | undefined;
442
714
  Tags: Record<string, string> | undefined;
@@ -447,6 +719,7 @@ export interface UntagResourceRequest {
447
719
  }
448
720
  export interface UpdateAccountSettingsRequest {
449
721
  DeletionProtection?: DeletionProtectionSettings | undefined;
722
+ VendedMetrics?: VendedMetricsSettings | undefined;
450
723
  }
451
724
  export interface UpdateApplicationRequest {
452
725
  ApplicationId: string | undefined;
@@ -477,6 +750,25 @@ export interface UpdateEnvironmentRequest {
477
750
  Description?: string | undefined;
478
751
  Monitors?: Monitor[] | undefined;
479
752
  }
753
+ export interface UpdateExperimentDefinitionRequest {
754
+ ApplicationIdentifier: string | undefined;
755
+ ExperimentDefinitionIdentifier: string | undefined;
756
+ Treatments?: TreatmentInput[] | undefined;
757
+ Control?: TreatmentInput | undefined;
758
+ Hypothesis?: string | undefined;
759
+ AudienceRule?: string | undefined;
760
+ AudienceDescription?: string | undefined;
761
+ LaunchCriteria?: string | undefined;
762
+ }
763
+ export interface UpdateExperimentRunRequest {
764
+ ApplicationIdentifier: string | undefined;
765
+ ExperimentDefinitionIdentifier: string | undefined;
766
+ Run: number | undefined;
767
+ Description?: string | undefined;
768
+ ExposurePercentage?: number | undefined;
769
+ TreatmentOverrides?: TreatmentOverrides | undefined;
770
+ DeploymentParameters?: DeploymentParameters | undefined;
771
+ }
480
772
  export interface UpdateExtensionRequest {
481
773
  ExtensionIdentifier: string | undefined;
482
774
  Description?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListExperimentDefinitionsCommandInput,
4
+ ListExperimentDefinitionsCommandOutput,
5
+ } from "../commands/ListExperimentDefinitionsCommand";
6
+ import { AppConfigPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListExperimentDefinitions: (
8
+ config: AppConfigPaginationConfiguration,
9
+ input: ListExperimentDefinitionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListExperimentDefinitionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListExperimentRunEventsCommandInput,
4
+ ListExperimentRunEventsCommandOutput,
5
+ } from "../commands/ListExperimentRunEventsCommand";
6
+ import { AppConfigPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListExperimentRunEvents: (
8
+ config: AppConfigPaginationConfiguration,
9
+ input: ListExperimentRunEventsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListExperimentRunEventsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListExperimentRunsCommandInput,
4
+ ListExperimentRunsCommandOutput,
5
+ } from "../commands/ListExperimentRunsCommand";
6
+ import { AppConfigPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListExperimentRuns: (
8
+ config: AppConfigPaginationConfiguration,
9
+ input: ListExperimentRunsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListExperimentRunsCommandOutput>;
@@ -4,6 +4,9 @@ export * from "./ListConfigurationProfilesPaginator";
4
4
  export * from "./ListDeploymentsPaginator";
5
5
  export * from "./ListDeploymentStrategiesPaginator";
6
6
  export * from "./ListEnvironmentsPaginator";
7
+ export * from "./ListExperimentDefinitionsPaginator";
8
+ export * from "./ListExperimentRunEventsPaginator";
9
+ export * from "./ListExperimentRunsPaginator";
7
10
  export * from "./ListExtensionAssociationsPaginator";
8
11
  export * from "./ListExtensionsPaginator";
9
12
  export * from "./ListHostedConfigurationVersionsPaginator";
@@ -21,7 +21,13 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
24
- streamCollector: import("@smithy/types").StreamCollector;
24
+ streamCollector: (
25
+ stream:
26
+ | import("stream").Readable
27
+ | import("stream/web").ReadableStream
28
+ | ReadableStream
29
+ | Blob
30
+ ) => Promise<Uint8Array>;
25
31
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
32
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
33
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -22,7 +22,13 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
- streamCollector: import("@smithy/types").StreamCollector;
25
+ streamCollector: (
26
+ stream:
27
+ | import("stream").Readable
28
+ | import("stream/web").ReadableStream
29
+ | ReadableStream
30
+ | Blob
31
+ ) => Promise<Uint8Array>;
26
32
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
33
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
34
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -20,7 +20,13 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
24
30
  base64Decoder: import("@smithy/types").Decoder;
25
31
  base64Encoder: (_input: Uint8Array | string) => string;
26
32
  utf8Decoder: import("@smithy/types").Decoder;