@aws-sdk/client-appconfig 3.42.0 → 3.47.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 +50 -0
- package/README.md +19 -24
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +28 -38
- package/dist-cjs/protocols/Aws_restJson1.js +49 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +27 -24
- package/dist-es/protocols/Aws_restJson1.js +51 -4
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/AppConfig.d.ts +75 -70
- package/dist-types/AppConfigClient.d.ts +24 -24
- package/dist-types/commands/CreateApplicationCommand.d.ts +5 -4
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +13 -9
- package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +4 -4
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +8 -7
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -1
- package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetConfigurationProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +2 -2
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +1 -1
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +1 -1
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +5 -3
- package/dist-types/models/models_0.d.ts +150 -80
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/AppConfigClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +52 -24
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -20,18 +20,73 @@ export declare namespace Application {
|
|
|
20
20
|
const filterSensitiveLog: (obj: Application) => any;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* <p>
|
|
23
|
+
* <p>Detailed information about the bad request exception error when creating a hosted configuration version.</p>
|
|
24
|
+
*/
|
|
25
|
+
export interface InvalidConfigurationDetail {
|
|
26
|
+
/**
|
|
27
|
+
* <p>The invalid or out-of-range validation constraint in your JSON schema that failed validation.</p>
|
|
28
|
+
*/
|
|
29
|
+
Constraint?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>Location of the validation constraint in the configuration JSON schema that failed validation.</p>
|
|
32
|
+
*/
|
|
33
|
+
Location?: string;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The reason for an invalid configuration error.</p>
|
|
36
|
+
*/
|
|
37
|
+
Reason?: string;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The type of error for an invalid configuration.</p>
|
|
40
|
+
*/
|
|
41
|
+
Type?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace InvalidConfigurationDetail {
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
const filterSensitiveLog: (obj: InvalidConfigurationDetail) => any;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* <p>Detailed information about the input that failed to satisfy the constraints specified by an AWS service.</p>
|
|
51
|
+
*/
|
|
52
|
+
export declare type BadRequestDetails = BadRequestDetails.InvalidConfigurationMember | BadRequestDetails.$UnknownMember;
|
|
53
|
+
export declare namespace BadRequestDetails {
|
|
54
|
+
/**
|
|
55
|
+
* <p>Detailed information about the bad request exception error when creating a hosted configuration version.</p>
|
|
56
|
+
*/
|
|
57
|
+
interface InvalidConfigurationMember {
|
|
58
|
+
InvalidConfiguration: InvalidConfigurationDetail[];
|
|
59
|
+
$unknown?: never;
|
|
60
|
+
}
|
|
61
|
+
interface $UnknownMember {
|
|
62
|
+
InvalidConfiguration?: never;
|
|
63
|
+
$unknown: [string, any];
|
|
64
|
+
}
|
|
65
|
+
interface Visitor<T> {
|
|
66
|
+
InvalidConfiguration: (value: InvalidConfigurationDetail[]) => T;
|
|
67
|
+
_: (name: string, value: any) => T;
|
|
68
|
+
}
|
|
69
|
+
const visit: <T>(value: BadRequestDetails, visitor: Visitor<T>) => T;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
const filterSensitiveLog: (obj: BadRequestDetails) => any;
|
|
74
|
+
}
|
|
75
|
+
export declare enum BadRequestReason {
|
|
76
|
+
INVALID_CONFIGURATION = "InvalidConfiguration"
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
24
80
|
*/
|
|
25
81
|
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
26
82
|
name: "BadRequestException";
|
|
27
83
|
$fault: "client";
|
|
28
84
|
Message?: string;
|
|
29
|
-
|
|
30
|
-
export declare namespace BadRequestException {
|
|
85
|
+
Reason?: BadRequestReason | string;
|
|
31
86
|
/**
|
|
32
|
-
*
|
|
87
|
+
* <p>Detailed information about the input that failed to satisfy the constraints specified by an AWS service.</p>
|
|
33
88
|
*/
|
|
34
|
-
|
|
89
|
+
Details?: BadRequestDetails;
|
|
35
90
|
}
|
|
36
91
|
export interface CreateApplicationRequest {
|
|
37
92
|
/**
|
|
@@ -65,19 +120,13 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
65
120
|
$fault: "server";
|
|
66
121
|
Message?: string;
|
|
67
122
|
}
|
|
68
|
-
export declare namespace InternalServerException {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
73
|
-
}
|
|
74
123
|
export declare enum ValidatorType {
|
|
75
124
|
JSON_SCHEMA = "JSON_SCHEMA",
|
|
76
125
|
LAMBDA = "LAMBDA"
|
|
77
126
|
}
|
|
78
127
|
/**
|
|
79
|
-
* <p>A validator provides a syntactic or semantic check to ensure the configuration you
|
|
80
|
-
* to deploy functions as intended. To validate your application configuration data, you
|
|
128
|
+
* <p>A validator provides a syntactic or semantic check to ensure the configuration that you
|
|
129
|
+
* want to deploy functions as intended. To validate your application configuration data, you
|
|
81
130
|
* provide a schema or a Lambda function that runs against the configuration. The
|
|
82
131
|
* configuration deployment or update can only proceed when the configuration data is
|
|
83
132
|
* valid.</p>
|
|
@@ -90,7 +139,7 @@ export interface Validator {
|
|
|
90
139
|
*/
|
|
91
140
|
Type: ValidatorType | string | undefined;
|
|
92
141
|
/**
|
|
93
|
-
* <p>Either the JSON Schema content or the Amazon Resource Name (ARN) of an
|
|
142
|
+
* <p>Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda
|
|
94
143
|
* function.</p>
|
|
95
144
|
*/
|
|
96
145
|
Content: string | undefined;
|
|
@@ -124,13 +173,19 @@ export interface ConfigurationProfile {
|
|
|
124
173
|
LocationUri?: string;
|
|
125
174
|
/**
|
|
126
175
|
* <p>The ARN of an IAM role with permission to access the configuration at the specified
|
|
127
|
-
*
|
|
176
|
+
* <code>LocationUri</code>.</p>
|
|
128
177
|
*/
|
|
129
178
|
RetrievalRoleArn?: string;
|
|
130
179
|
/**
|
|
131
180
|
* <p>A list of methods for validating the configuration.</p>
|
|
132
181
|
*/
|
|
133
182
|
Validators?: Validator[];
|
|
183
|
+
/**
|
|
184
|
+
* <p>The type of configurations that the configuration profile contains. A configuration can
|
|
185
|
+
* be a feature flag used for enabling or disabling new features or a free-form configuration
|
|
186
|
+
* used for distributing configurations to your application. </p>
|
|
187
|
+
*/
|
|
188
|
+
Type?: string;
|
|
134
189
|
}
|
|
135
190
|
export declare namespace ConfigurationProfile {
|
|
136
191
|
/**
|
|
@@ -152,18 +207,27 @@ export interface CreateConfigurationProfileRequest {
|
|
|
152
207
|
*/
|
|
153
208
|
Description?: string;
|
|
154
209
|
/**
|
|
155
|
-
* <p>A URI to locate the configuration. You can specify
|
|
156
|
-
* Parameter Store parameter, or an Amazon S3 object. For
|
|
157
|
-
*
|
|
158
|
-
*
|
|
210
|
+
* <p>A URI to locate the configuration. You can specify the AppConfig hosted configuration
|
|
211
|
+
* store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the
|
|
212
|
+
* hosted configuration store and for feature flags, specify <code>hosted</code>. For an SSM
|
|
213
|
+
* document, specify either the document name in the format
|
|
214
|
+
* <code>ssm-document://<Document_name></code> or the Amazon Resource Name (ARN). For
|
|
215
|
+
* a parameter, specify either the parameter name in the format
|
|
159
216
|
* <code>ssm-parameter://<Parameter_name></code> or the ARN. For an Amazon S3 object,
|
|
160
217
|
* specify the URI in the following format: <code>s3://<bucket>/<objectKey>
|
|
161
|
-
* </code>. Here is an example:
|
|
218
|
+
* </code>. Here is an example:
|
|
219
|
+
* <code>s3://my-bucket/my-app/us-east-1/my-config.json</code>
|
|
220
|
+
* </p>
|
|
162
221
|
*/
|
|
163
222
|
LocationUri: string | undefined;
|
|
164
223
|
/**
|
|
165
224
|
* <p>The ARN of an IAM role with permission to access the configuration at the specified
|
|
166
|
-
*
|
|
225
|
+
* <code>LocationUri</code>.</p>
|
|
226
|
+
* <important>
|
|
227
|
+
* <p>A retrieval role ARN is not required for configurations stored in the AppConfig
|
|
228
|
+
* hosted configuration store. It is required for all other sources that store your
|
|
229
|
+
* configuration. </p>
|
|
230
|
+
* </important>
|
|
167
231
|
*/
|
|
168
232
|
RetrievalRoleArn?: string;
|
|
169
233
|
/**
|
|
@@ -178,6 +242,12 @@ export interface CreateConfigurationProfileRequest {
|
|
|
178
242
|
Tags?: {
|
|
179
243
|
[key: string]: string;
|
|
180
244
|
};
|
|
245
|
+
/**
|
|
246
|
+
* <p>The type of configurations that the configuration profile contains. A configuration can
|
|
247
|
+
* be a feature flag used for enabling or disabling new features or a free-form configuration
|
|
248
|
+
* used for distributing configurations to your application.</p>
|
|
249
|
+
*/
|
|
250
|
+
Type?: string;
|
|
181
251
|
}
|
|
182
252
|
export declare namespace CreateConfigurationProfileRequest {
|
|
183
253
|
/**
|
|
@@ -194,12 +264,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
194
264
|
Message?: string;
|
|
195
265
|
ResourceName?: string;
|
|
196
266
|
}
|
|
197
|
-
export declare namespace ResourceNotFoundException {
|
|
198
|
-
/**
|
|
199
|
-
* @internal
|
|
200
|
-
*/
|
|
201
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
202
|
-
}
|
|
203
267
|
export declare enum GrowthType {
|
|
204
268
|
EXPONENTIAL = "EXPONENTIAL",
|
|
205
269
|
LINEAR = "LINEAR"
|
|
@@ -232,7 +296,7 @@ export interface CreateDeploymentStrategyRequest {
|
|
|
232
296
|
*/
|
|
233
297
|
GrowthFactor: number | undefined;
|
|
234
298
|
/**
|
|
235
|
-
* <p>The algorithm used to define how percentage grows over time.
|
|
299
|
+
* <p>The algorithm used to define how percentage grows over time. AppConfig supports the
|
|
236
300
|
* following growth types:</p>
|
|
237
301
|
* <p>
|
|
238
302
|
* <b>Linear</b>: For this type, AppConfig processes the
|
|
@@ -310,8 +374,8 @@ export interface DeploymentStrategy {
|
|
|
310
374
|
*/
|
|
311
375
|
GrowthFactor?: number;
|
|
312
376
|
/**
|
|
313
|
-
* <p>The amount of time AppConfig monitored for alarms before considering the deployment
|
|
314
|
-
* complete and no longer eligible for automatic
|
|
377
|
+
* <p>The amount of time that AppConfig monitored for alarms before considering the deployment
|
|
378
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
315
379
|
*/
|
|
316
380
|
FinalBakeTimeInMinutes?: number;
|
|
317
381
|
/**
|
|
@@ -330,11 +394,11 @@ export declare namespace DeploymentStrategy {
|
|
|
330
394
|
*/
|
|
331
395
|
export interface Monitor {
|
|
332
396
|
/**
|
|
333
|
-
* <p>ARN of the Amazon CloudWatch alarm.</p>
|
|
397
|
+
* <p>Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.</p>
|
|
334
398
|
*/
|
|
335
|
-
AlarmArn
|
|
399
|
+
AlarmArn: string | undefined;
|
|
336
400
|
/**
|
|
337
|
-
* <p>ARN of an IAM role for AppConfig to monitor <code>AlarmArn</code>.</p>
|
|
401
|
+
* <p>ARN of an Identity and Access Management (IAM) role for AppConfig to monitor <code>AlarmArn</code>.</p>
|
|
338
402
|
*/
|
|
339
403
|
AlarmRoleArn?: string;
|
|
340
404
|
}
|
|
@@ -426,12 +490,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
426
490
|
$fault: "client";
|
|
427
491
|
Message?: string;
|
|
428
492
|
}
|
|
429
|
-
export declare namespace ConflictException {
|
|
430
|
-
/**
|
|
431
|
-
* @internal
|
|
432
|
-
*/
|
|
433
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
434
|
-
}
|
|
435
493
|
export interface CreateHostedConfigurationVersionRequest {
|
|
436
494
|
/**
|
|
437
495
|
* <p>The application ID.</p>
|
|
@@ -451,14 +509,14 @@ export interface CreateHostedConfigurationVersionRequest {
|
|
|
451
509
|
Content: Uint8Array | undefined;
|
|
452
510
|
/**
|
|
453
511
|
* <p>A standard MIME type describing the format of the configuration content. For more
|
|
454
|
-
* information, see <a href="https://
|
|
512
|
+
* information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
455
513
|
*/
|
|
456
514
|
ContentType: string | undefined;
|
|
457
515
|
/**
|
|
458
516
|
* <p>An optional locking token used to prevent race conditions from overwriting configuration
|
|
459
517
|
* updates when creating a new version. To ensure your data is not overwritten when creating
|
|
460
|
-
* multiple hosted configuration versions in rapid succession, specify the version of
|
|
461
|
-
* latest hosted configuration version.</p>
|
|
518
|
+
* multiple hosted configuration versions in rapid succession, specify the version number of
|
|
519
|
+
* the latest hosted configuration version.</p>
|
|
462
520
|
*/
|
|
463
521
|
LatestVersionNumber?: number;
|
|
464
522
|
}
|
|
@@ -491,7 +549,7 @@ export interface HostedConfigurationVersion {
|
|
|
491
549
|
Content?: Uint8Array;
|
|
492
550
|
/**
|
|
493
551
|
* <p>A standard MIME type describing the format of the configuration content. For more
|
|
494
|
-
* information, see <a href="https://
|
|
552
|
+
* information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
495
553
|
*/
|
|
496
554
|
ContentType?: string;
|
|
497
555
|
}
|
|
@@ -515,14 +573,8 @@ export interface PayloadTooLargeException extends __SmithyException, $MetadataBe
|
|
|
515
573
|
Limit?: number;
|
|
516
574
|
Size?: number;
|
|
517
575
|
}
|
|
518
|
-
export declare namespace PayloadTooLargeException {
|
|
519
|
-
/**
|
|
520
|
-
* @internal
|
|
521
|
-
*/
|
|
522
|
-
const filterSensitiveLog: (obj: PayloadTooLargeException) => any;
|
|
523
|
-
}
|
|
524
576
|
/**
|
|
525
|
-
* <p>The number of hosted configuration versions exceeds the limit for the AppConfig
|
|
577
|
+
* <p>The number of hosted configuration versions exceeds the limit for the AppConfig hosted
|
|
526
578
|
* configuration store. Delete one or more versions and try again.</p>
|
|
527
579
|
*/
|
|
528
580
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
@@ -530,12 +582,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
530
582
|
$fault: "client";
|
|
531
583
|
Message?: string;
|
|
532
584
|
}
|
|
533
|
-
export declare namespace ServiceQuotaExceededException {
|
|
534
|
-
/**
|
|
535
|
-
* @internal
|
|
536
|
-
*/
|
|
537
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
538
|
-
}
|
|
539
585
|
export interface DeleteApplicationRequest {
|
|
540
586
|
/**
|
|
541
587
|
* <p>The ID of the application to delete.</p>
|
|
@@ -578,11 +624,11 @@ export declare namespace DeleteDeploymentStrategyRequest {
|
|
|
578
624
|
}
|
|
579
625
|
export interface DeleteEnvironmentRequest {
|
|
580
626
|
/**
|
|
581
|
-
* <p>The application ID that includes the environment you want to delete.</p>
|
|
627
|
+
* <p>The application ID that includes the environment that you want to delete.</p>
|
|
582
628
|
*/
|
|
583
629
|
ApplicationId: string | undefined;
|
|
584
630
|
/**
|
|
585
|
-
* <p>The ID of the environment you want to delete.</p>
|
|
631
|
+
* <p>The ID of the environment that you want to delete.</p>
|
|
586
632
|
*/
|
|
587
633
|
EnvironmentId: string | undefined;
|
|
588
634
|
}
|
|
@@ -627,6 +673,14 @@ export declare namespace GetApplicationRequest {
|
|
|
627
673
|
export interface Configuration {
|
|
628
674
|
/**
|
|
629
675
|
* <p>The content of the configuration or the configuration data.</p>
|
|
676
|
+
* <important>
|
|
677
|
+
* <p>Compare the configuration version numbers of the configuration cached locally on your
|
|
678
|
+
* machine and the configuration number in the the header. If the configuration numbers are
|
|
679
|
+
* the same, the content can be ignored. The <code>Content</code> section only appears if
|
|
680
|
+
* the system finds new or updated configuration data. If the system doesn't find new or
|
|
681
|
+
* updated configuration data, then the <code>Content</code> section is not
|
|
682
|
+
* returned.</p>
|
|
683
|
+
* </important>
|
|
630
684
|
*/
|
|
631
685
|
Content?: Uint8Array;
|
|
632
686
|
/**
|
|
@@ -662,16 +716,17 @@ export interface GetConfigurationRequest {
|
|
|
662
716
|
*/
|
|
663
717
|
Configuration: string | undefined;
|
|
664
718
|
/**
|
|
665
|
-
* <p>
|
|
666
|
-
*
|
|
719
|
+
* <p>The clientId parameter in the following command is a unique, user-specified ID to
|
|
720
|
+
* identify the client for the configuration. This ID enables AppConfig to deploy the
|
|
721
|
+
* configuration in intervals, as defined in the deployment strategy. </p>
|
|
667
722
|
*/
|
|
668
723
|
ClientId: string | undefined;
|
|
669
724
|
/**
|
|
670
725
|
* <p>The configuration version returned in the most recent <code>GetConfiguration</code>
|
|
671
726
|
* response.</p>
|
|
672
727
|
* <important>
|
|
673
|
-
* <p>
|
|
674
|
-
*
|
|
728
|
+
* <p>AppConfig uses the value of the <code>ClientConfigurationVersion</code> parameter to
|
|
729
|
+
* identify the configuration version on your clients. If you don’t send
|
|
675
730
|
* <code>ClientConfigurationVersion</code> with each call to
|
|
676
731
|
* <code>GetConfiguration</code>, your clients receive the current configuration. You
|
|
677
732
|
* are charged each time your clients receive a configuration.</p>
|
|
@@ -681,8 +736,8 @@ export interface GetConfigurationRequest {
|
|
|
681
736
|
* calls to <code>GetConfiguration</code> must pass this value by using the
|
|
682
737
|
* <code>ClientConfigurationVersion</code> parameter. </p>
|
|
683
738
|
* </important>
|
|
684
|
-
* <p>For more information about working with configurations, see <a href="
|
|
685
|
-
*
|
|
739
|
+
* <p>For more information about working with configurations, see <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html">Retrieving the
|
|
740
|
+
* Configuration</a> in the <i>AppConfig User Guide</i>.</p>
|
|
686
741
|
*/
|
|
687
742
|
ClientConfigurationVersion?: string;
|
|
688
743
|
}
|
|
@@ -699,7 +754,7 @@ export interface GetConfigurationProfileRequest {
|
|
|
699
754
|
*/
|
|
700
755
|
ApplicationId: string | undefined;
|
|
701
756
|
/**
|
|
702
|
-
* <p>The ID of the configuration profile you want to get.</p>
|
|
757
|
+
* <p>The ID of the configuration profile that you want to get.</p>
|
|
703
758
|
*/
|
|
704
759
|
ConfigurationProfileId: string | undefined;
|
|
705
760
|
}
|
|
@@ -729,18 +784,18 @@ export declare enum TriggeredBy {
|
|
|
729
784
|
export interface DeploymentEvent {
|
|
730
785
|
/**
|
|
731
786
|
* <p>The type of deployment event. Deployment event types include the start, stop, or
|
|
732
|
-
* completion of a deployment; a percentage update; the start or stop of a bake period;
|
|
733
|
-
* start or completion of a rollback.</p>
|
|
787
|
+
* completion of a deployment; a percentage update; the start or stop of a bake period; and
|
|
788
|
+
* the start or completion of a rollback.</p>
|
|
734
789
|
*/
|
|
735
790
|
EventType?: DeploymentEventType | string;
|
|
736
791
|
/**
|
|
737
|
-
* <p>The entity that triggered the deployment event. Events can be triggered by a user,
|
|
792
|
+
* <p>The entity that triggered the deployment event. Events can be triggered by a user,
|
|
738
793
|
* AppConfig, an Amazon CloudWatch alarm, or an internal error.</p>
|
|
739
794
|
*/
|
|
740
795
|
TriggeredBy?: TriggeredBy | string;
|
|
741
796
|
/**
|
|
742
797
|
* <p>A description of the deployment event. Descriptions include, but are not limited to, the
|
|
743
|
-
* user account or the CloudWatch alarm ARN that initiated a rollback, the percentage of hosts
|
|
798
|
+
* user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts
|
|
744
799
|
* that received the deployment, or in the case of an internal error, a recommendation to
|
|
745
800
|
* attempt a new deployment.</p>
|
|
746
801
|
*/
|
|
@@ -815,8 +870,8 @@ export interface Deployment {
|
|
|
815
870
|
*/
|
|
816
871
|
GrowthFactor?: number;
|
|
817
872
|
/**
|
|
818
|
-
* <p>The amount of time AppConfig monitored for alarms before considering the deployment
|
|
819
|
-
* complete and no longer eligible for automatic
|
|
873
|
+
* <p>The amount of time that AppConfig monitored for alarms before considering the deployment
|
|
874
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
820
875
|
*/
|
|
821
876
|
FinalBakeTimeInMinutes?: number;
|
|
822
877
|
/**
|
|
@@ -885,7 +940,7 @@ export interface GetEnvironmentRequest {
|
|
|
885
940
|
*/
|
|
886
941
|
ApplicationId: string | undefined;
|
|
887
942
|
/**
|
|
888
|
-
* <p>The ID of the environment you
|
|
943
|
+
* <p>The ID of the environment that you want to get.</p>
|
|
889
944
|
*/
|
|
890
945
|
EnvironmentId: string | undefined;
|
|
891
946
|
}
|
|
@@ -939,7 +994,11 @@ export interface ListApplicationsRequest {
|
|
|
939
994
|
*/
|
|
940
995
|
MaxResults?: number;
|
|
941
996
|
/**
|
|
942
|
-
* <p>A token to start the list.
|
|
997
|
+
* <p>A token to start the list. Next token is a pagination token generated by AppConfig to
|
|
998
|
+
* describe what page the previous List call ended on. For the first List request, the
|
|
999
|
+
* nextToken should not be set. On subsequent calls, the nextToken parameter should be set to
|
|
1000
|
+
* the previous responses nextToken value. Use this token to get the next set of results.
|
|
1001
|
+
* </p>
|
|
943
1002
|
*/
|
|
944
1003
|
NextToken?: string;
|
|
945
1004
|
}
|
|
@@ -973,6 +1032,12 @@ export interface ConfigurationProfileSummary {
|
|
|
973
1032
|
* <p>The types of validators in the configuration profile.</p>
|
|
974
1033
|
*/
|
|
975
1034
|
ValidatorTypes?: (ValidatorType | string)[];
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>The type of configurations that the configuration profile contains. A configuration can
|
|
1037
|
+
* be a feature flag used for enabling or disabling new features or a free-form configuration
|
|
1038
|
+
* used to introduce changes to your application.</p>
|
|
1039
|
+
*/
|
|
1040
|
+
Type?: string;
|
|
976
1041
|
}
|
|
977
1042
|
export declare namespace ConfigurationProfileSummary {
|
|
978
1043
|
/**
|
|
@@ -1011,6 +1076,11 @@ export interface ListConfigurationProfilesRequest {
|
|
|
1011
1076
|
* <p>A token to start the list. Use this token to get the next set of results.</p>
|
|
1012
1077
|
*/
|
|
1013
1078
|
NextToken?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* <p>A filter based on the type of configurations that the configuration profile contains. A
|
|
1081
|
+
* configuration can be a feature flag or a free-form configuration.</p>
|
|
1082
|
+
*/
|
|
1083
|
+
Type?: string;
|
|
1014
1084
|
}
|
|
1015
1085
|
export declare namespace ListConfigurationProfilesRequest {
|
|
1016
1086
|
/**
|
|
@@ -1048,8 +1118,8 @@ export interface DeploymentSummary {
|
|
|
1048
1118
|
*/
|
|
1049
1119
|
GrowthFactor?: number;
|
|
1050
1120
|
/**
|
|
1051
|
-
* <p>The amount of time AppConfig monitors for alarms before considering the deployment
|
|
1052
|
-
* complete and no longer eligible for automatic
|
|
1121
|
+
* <p>The amount of time that AppConfig monitors for alarms before considering the deployment
|
|
1122
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
1053
1123
|
*/
|
|
1054
1124
|
FinalBakeTimeInMinutes?: number;
|
|
1055
1125
|
/**
|
|
@@ -1211,7 +1281,7 @@ export interface HostedConfigurationVersionSummary {
|
|
|
1211
1281
|
Description?: string;
|
|
1212
1282
|
/**
|
|
1213
1283
|
* <p>A standard MIME type describing the format of the configuration content. For more
|
|
1214
|
-
* information, see <a href="https://
|
|
1284
|
+
* information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
1215
1285
|
*/
|
|
1216
1286
|
ContentType?: string;
|
|
1217
1287
|
}
|
|
@@ -1426,7 +1496,7 @@ export interface UpdateConfigurationProfileRequest {
|
|
|
1426
1496
|
Description?: string;
|
|
1427
1497
|
/**
|
|
1428
1498
|
* <p>The ARN of an IAM role with permission to access the configuration at the specified
|
|
1429
|
-
*
|
|
1499
|
+
* <code>LocationUri</code>.</p>
|
|
1430
1500
|
*/
|
|
1431
1501
|
RetrievalRoleArn?: string;
|
|
1432
1502
|
/**
|
|
@@ -1454,8 +1524,8 @@ export interface UpdateDeploymentStrategyRequest {
|
|
|
1454
1524
|
*/
|
|
1455
1525
|
DeploymentDurationInMinutes?: number;
|
|
1456
1526
|
/**
|
|
1457
|
-
* <p>The amount of time AppConfig monitors for alarms before considering the deployment
|
|
1458
|
-
* complete and no longer eligible for automatic
|
|
1527
|
+
* <p>The amount of time that AppConfig monitors for alarms before considering the deployment
|
|
1528
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
1459
1529
|
*/
|
|
1460
1530
|
FinalBakeTimeInMinutes?: number;
|
|
1461
1531
|
/**
|
|
@@ -1464,7 +1534,7 @@ export interface UpdateDeploymentStrategyRequest {
|
|
|
1464
1534
|
*/
|
|
1465
1535
|
GrowthFactor?: number;
|
|
1466
1536
|
/**
|
|
1467
|
-
* <p>The algorithm used to define how percentage grows over time.
|
|
1537
|
+
* <p>The algorithm used to define how percentage grows over time. AppConfig supports the
|
|
1468
1538
|
* following growth types:</p>
|
|
1469
1539
|
* <p>
|
|
1470
1540
|
* <b>Linear</b>: For this type, AppConfig processes the
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { AppConfigClientConfig } from "./AppConfigClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { AppConfigClientConfig } from "./AppConfigClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
10
10
|
import { CreateConfigurationProfileCommandInput, CreateConfigurationProfileCommandOutput } from "./commands/CreateConfigurationProfileCommand";
|
|
@@ -84,6 +84,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
84
84
|
regionInfoProvider?: RegionInfoProvider;
|
|
85
85
|
|
|
86
86
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
87
|
+
|
|
88
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
87
89
|
}
|
|
88
90
|
declare type AppConfigClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
89
91
|
|