@aws-sdk/client-appconfig 3.39.0 → 3.43.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 +41 -0
- package/README.md +19 -24
- package/dist-cjs/endpoints.js +74 -5
- package/dist-cjs/models/models_0.js +29 -2
- package/dist-cjs/protocols/Aws_restJson1.js +49 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +74 -5
- package/dist-es/models/models_0.js +28 -1
- package/dist-es/protocols/Aws_restJson1.js +51 -4
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/AppConfig.d.ts +75 -70
- package/dist-types/AppConfigClient.d.ts +27 -23
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -5
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +14 -10
- package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +5 -5
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +9 -8
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +2 -2
- package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +3 -2
- package/dist-types/commands/GetApplicationCommand.d.ts +2 -2
- package/dist-types/commands/GetConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/GetConfigurationProfileCommand.d.ts +2 -2
- package/dist-types/commands/GetDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +3 -3
- package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -2
- package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +2 -2
- package/dist-types/commands/ListApplicationsCommand.d.ts +2 -2
- package/dist-types/commands/ListConfigurationProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +2 -2
- package/dist-types/commands/ListDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -2
- package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/StopDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfigurationProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeploymentStrategyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/ValidateConfigurationCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +152 -46
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/AppConfigClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -20,12 +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;
|
|
85
|
+
Reason?: BadRequestReason | string;
|
|
86
|
+
/**
|
|
87
|
+
* <p>Detailed information about the input that failed to satisfy the constraints specified by an AWS service.</p>
|
|
88
|
+
*/
|
|
89
|
+
Details?: BadRequestDetails;
|
|
29
90
|
}
|
|
30
91
|
export declare namespace BadRequestException {
|
|
31
92
|
/**
|
|
@@ -76,8 +137,8 @@ export declare enum ValidatorType {
|
|
|
76
137
|
LAMBDA = "LAMBDA"
|
|
77
138
|
}
|
|
78
139
|
/**
|
|
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
|
|
140
|
+
* <p>A validator provides a syntactic or semantic check to ensure the configuration that you
|
|
141
|
+
* want to deploy functions as intended. To validate your application configuration data, you
|
|
81
142
|
* provide a schema or a Lambda function that runs against the configuration. The
|
|
82
143
|
* configuration deployment or update can only proceed when the configuration data is
|
|
83
144
|
* valid.</p>
|
|
@@ -90,7 +151,7 @@ export interface Validator {
|
|
|
90
151
|
*/
|
|
91
152
|
Type: ValidatorType | string | undefined;
|
|
92
153
|
/**
|
|
93
|
-
* <p>Either the JSON Schema content or the Amazon Resource Name (ARN) of an
|
|
154
|
+
* <p>Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda
|
|
94
155
|
* function.</p>
|
|
95
156
|
*/
|
|
96
157
|
Content: string | undefined;
|
|
@@ -124,13 +185,19 @@ export interface ConfigurationProfile {
|
|
|
124
185
|
LocationUri?: string;
|
|
125
186
|
/**
|
|
126
187
|
* <p>The ARN of an IAM role with permission to access the configuration at the specified
|
|
127
|
-
*
|
|
188
|
+
* <code>LocationUri</code>.</p>
|
|
128
189
|
*/
|
|
129
190
|
RetrievalRoleArn?: string;
|
|
130
191
|
/**
|
|
131
192
|
* <p>A list of methods for validating the configuration.</p>
|
|
132
193
|
*/
|
|
133
194
|
Validators?: Validator[];
|
|
195
|
+
/**
|
|
196
|
+
* <p>The type of configurations that the configuration profile contains. A configuration can
|
|
197
|
+
* be a feature flag used for enabling or disabling new features or a free-form configuration
|
|
198
|
+
* used for distributing configurations to your application. </p>
|
|
199
|
+
*/
|
|
200
|
+
Type?: string;
|
|
134
201
|
}
|
|
135
202
|
export declare namespace ConfigurationProfile {
|
|
136
203
|
/**
|
|
@@ -152,18 +219,27 @@ export interface CreateConfigurationProfileRequest {
|
|
|
152
219
|
*/
|
|
153
220
|
Description?: string;
|
|
154
221
|
/**
|
|
155
|
-
* <p>A URI to locate the configuration. You can specify
|
|
156
|
-
* Parameter Store parameter, or an Amazon S3 object. For
|
|
157
|
-
*
|
|
158
|
-
*
|
|
222
|
+
* <p>A URI to locate the configuration. You can specify the AppConfig hosted configuration
|
|
223
|
+
* store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the
|
|
224
|
+
* hosted configuration store and for feature flags, specify <code>hosted</code>. For an SSM
|
|
225
|
+
* document, specify either the document name in the format
|
|
226
|
+
* <code>ssm-document://<Document_name></code> or the Amazon Resource Name (ARN). For
|
|
227
|
+
* a parameter, specify either the parameter name in the format
|
|
159
228
|
* <code>ssm-parameter://<Parameter_name></code> or the ARN. For an Amazon S3 object,
|
|
160
229
|
* specify the URI in the following format: <code>s3://<bucket>/<objectKey>
|
|
161
|
-
* </code>. Here is an example:
|
|
230
|
+
* </code>. Here is an example:
|
|
231
|
+
* <code>s3://my-bucket/my-app/us-east-1/my-config.json</code>
|
|
232
|
+
* </p>
|
|
162
233
|
*/
|
|
163
234
|
LocationUri: string | undefined;
|
|
164
235
|
/**
|
|
165
236
|
* <p>The ARN of an IAM role with permission to access the configuration at the specified
|
|
166
|
-
*
|
|
237
|
+
* <code>LocationUri</code>.</p>
|
|
238
|
+
* <important>
|
|
239
|
+
* <p>A retrieval role ARN is not required for configurations stored in the AppConfig
|
|
240
|
+
* hosted configuration store. It is required for all other sources that store your
|
|
241
|
+
* configuration. </p>
|
|
242
|
+
* </important>
|
|
167
243
|
*/
|
|
168
244
|
RetrievalRoleArn?: string;
|
|
169
245
|
/**
|
|
@@ -178,6 +254,12 @@ export interface CreateConfigurationProfileRequest {
|
|
|
178
254
|
Tags?: {
|
|
179
255
|
[key: string]: string;
|
|
180
256
|
};
|
|
257
|
+
/**
|
|
258
|
+
* <p>The type of configurations that the configuration profile contains. A configuration can
|
|
259
|
+
* be a feature flag used for enabling or disabling new features or a free-form configuration
|
|
260
|
+
* used for distributing configurations to your application.</p>
|
|
261
|
+
*/
|
|
262
|
+
Type?: string;
|
|
181
263
|
}
|
|
182
264
|
export declare namespace CreateConfigurationProfileRequest {
|
|
183
265
|
/**
|
|
@@ -232,7 +314,7 @@ export interface CreateDeploymentStrategyRequest {
|
|
|
232
314
|
*/
|
|
233
315
|
GrowthFactor: number | undefined;
|
|
234
316
|
/**
|
|
235
|
-
* <p>The algorithm used to define how percentage grows over time.
|
|
317
|
+
* <p>The algorithm used to define how percentage grows over time. AppConfig supports the
|
|
236
318
|
* following growth types:</p>
|
|
237
319
|
* <p>
|
|
238
320
|
* <b>Linear</b>: For this type, AppConfig processes the
|
|
@@ -310,8 +392,8 @@ export interface DeploymentStrategy {
|
|
|
310
392
|
*/
|
|
311
393
|
GrowthFactor?: number;
|
|
312
394
|
/**
|
|
313
|
-
* <p>The amount of time AppConfig monitored for alarms before considering the deployment
|
|
314
|
-
* complete and no longer eligible for automatic
|
|
395
|
+
* <p>The amount of time that AppConfig monitored for alarms before considering the deployment
|
|
396
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
315
397
|
*/
|
|
316
398
|
FinalBakeTimeInMinutes?: number;
|
|
317
399
|
/**
|
|
@@ -330,11 +412,11 @@ export declare namespace DeploymentStrategy {
|
|
|
330
412
|
*/
|
|
331
413
|
export interface Monitor {
|
|
332
414
|
/**
|
|
333
|
-
* <p>ARN of the Amazon CloudWatch alarm.</p>
|
|
415
|
+
* <p>Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.</p>
|
|
334
416
|
*/
|
|
335
|
-
AlarmArn
|
|
417
|
+
AlarmArn: string | undefined;
|
|
336
418
|
/**
|
|
337
|
-
* <p>ARN of an IAM role for AppConfig to monitor <code>AlarmArn</code>.</p>
|
|
419
|
+
* <p>ARN of an Identity and Access Management (IAM) role for AppConfig to monitor <code>AlarmArn</code>.</p>
|
|
338
420
|
*/
|
|
339
421
|
AlarmRoleArn?: string;
|
|
340
422
|
}
|
|
@@ -451,14 +533,14 @@ export interface CreateHostedConfigurationVersionRequest {
|
|
|
451
533
|
Content: Uint8Array | undefined;
|
|
452
534
|
/**
|
|
453
535
|
* <p>A standard MIME type describing the format of the configuration content. For more
|
|
454
|
-
* information, see <a href="https://
|
|
536
|
+
* information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
455
537
|
*/
|
|
456
538
|
ContentType: string | undefined;
|
|
457
539
|
/**
|
|
458
540
|
* <p>An optional locking token used to prevent race conditions from overwriting configuration
|
|
459
541
|
* 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>
|
|
542
|
+
* multiple hosted configuration versions in rapid succession, specify the version number of
|
|
543
|
+
* the latest hosted configuration version.</p>
|
|
462
544
|
*/
|
|
463
545
|
LatestVersionNumber?: number;
|
|
464
546
|
}
|
|
@@ -491,7 +573,7 @@ export interface HostedConfigurationVersion {
|
|
|
491
573
|
Content?: Uint8Array;
|
|
492
574
|
/**
|
|
493
575
|
* <p>A standard MIME type describing the format of the configuration content. For more
|
|
494
|
-
* information, see <a href="https://
|
|
576
|
+
* information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
495
577
|
*/
|
|
496
578
|
ContentType?: string;
|
|
497
579
|
}
|
|
@@ -522,7 +604,7 @@ export declare namespace PayloadTooLargeException {
|
|
|
522
604
|
const filterSensitiveLog: (obj: PayloadTooLargeException) => any;
|
|
523
605
|
}
|
|
524
606
|
/**
|
|
525
|
-
* <p>The number of hosted configuration versions exceeds the limit for the AppConfig
|
|
607
|
+
* <p>The number of hosted configuration versions exceeds the limit for the AppConfig hosted
|
|
526
608
|
* configuration store. Delete one or more versions and try again.</p>
|
|
527
609
|
*/
|
|
528
610
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
@@ -578,11 +660,11 @@ export declare namespace DeleteDeploymentStrategyRequest {
|
|
|
578
660
|
}
|
|
579
661
|
export interface DeleteEnvironmentRequest {
|
|
580
662
|
/**
|
|
581
|
-
* <p>The application ID that includes the environment you want to delete.</p>
|
|
663
|
+
* <p>The application ID that includes the environment that you want to delete.</p>
|
|
582
664
|
*/
|
|
583
665
|
ApplicationId: string | undefined;
|
|
584
666
|
/**
|
|
585
|
-
* <p>The ID of the environment you want to delete.</p>
|
|
667
|
+
* <p>The ID of the environment that you want to delete.</p>
|
|
586
668
|
*/
|
|
587
669
|
EnvironmentId: string | undefined;
|
|
588
670
|
}
|
|
@@ -627,6 +709,14 @@ export declare namespace GetApplicationRequest {
|
|
|
627
709
|
export interface Configuration {
|
|
628
710
|
/**
|
|
629
711
|
* <p>The content of the configuration or the configuration data.</p>
|
|
712
|
+
* <important>
|
|
713
|
+
* <p>Compare the configuration version numbers of the configuration cached locally on your
|
|
714
|
+
* machine and the configuration number in the the header. If the configuration numbers are
|
|
715
|
+
* the same, the content can be ignored. The <code>Content</code> section only appears if
|
|
716
|
+
* the system finds new or updated configuration data. If the system doesn't find new or
|
|
717
|
+
* updated configuration data, then the <code>Content</code> section is not
|
|
718
|
+
* returned.</p>
|
|
719
|
+
* </important>
|
|
630
720
|
*/
|
|
631
721
|
Content?: Uint8Array;
|
|
632
722
|
/**
|
|
@@ -662,16 +752,17 @@ export interface GetConfigurationRequest {
|
|
|
662
752
|
*/
|
|
663
753
|
Configuration: string | undefined;
|
|
664
754
|
/**
|
|
665
|
-
* <p>
|
|
666
|
-
*
|
|
755
|
+
* <p>The clientId parameter in the following command is a unique, user-specified ID to
|
|
756
|
+
* identify the client for the configuration. This ID enables AppConfig to deploy the
|
|
757
|
+
* configuration in intervals, as defined in the deployment strategy. </p>
|
|
667
758
|
*/
|
|
668
759
|
ClientId: string | undefined;
|
|
669
760
|
/**
|
|
670
761
|
* <p>The configuration version returned in the most recent <code>GetConfiguration</code>
|
|
671
762
|
* response.</p>
|
|
672
763
|
* <important>
|
|
673
|
-
* <p>
|
|
674
|
-
*
|
|
764
|
+
* <p>AppConfig uses the value of the <code>ClientConfigurationVersion</code> parameter to
|
|
765
|
+
* identify the configuration version on your clients. If you don’t send
|
|
675
766
|
* <code>ClientConfigurationVersion</code> with each call to
|
|
676
767
|
* <code>GetConfiguration</code>, your clients receive the current configuration. You
|
|
677
768
|
* are charged each time your clients receive a configuration.</p>
|
|
@@ -681,8 +772,8 @@ export interface GetConfigurationRequest {
|
|
|
681
772
|
* calls to <code>GetConfiguration</code> must pass this value by using the
|
|
682
773
|
* <code>ClientConfigurationVersion</code> parameter. </p>
|
|
683
774
|
* </important>
|
|
684
|
-
* <p>For more information about working with configurations, see <a href="
|
|
685
|
-
*
|
|
775
|
+
* <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
|
|
776
|
+
* Configuration</a> in the <i>AppConfig User Guide</i>.</p>
|
|
686
777
|
*/
|
|
687
778
|
ClientConfigurationVersion?: string;
|
|
688
779
|
}
|
|
@@ -699,7 +790,7 @@ export interface GetConfigurationProfileRequest {
|
|
|
699
790
|
*/
|
|
700
791
|
ApplicationId: string | undefined;
|
|
701
792
|
/**
|
|
702
|
-
* <p>The ID of the configuration profile you want to get.</p>
|
|
793
|
+
* <p>The ID of the configuration profile that you want to get.</p>
|
|
703
794
|
*/
|
|
704
795
|
ConfigurationProfileId: string | undefined;
|
|
705
796
|
}
|
|
@@ -729,18 +820,18 @@ export declare enum TriggeredBy {
|
|
|
729
820
|
export interface DeploymentEvent {
|
|
730
821
|
/**
|
|
731
822
|
* <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>
|
|
823
|
+
* completion of a deployment; a percentage update; the start or stop of a bake period; and
|
|
824
|
+
* the start or completion of a rollback.</p>
|
|
734
825
|
*/
|
|
735
826
|
EventType?: DeploymentEventType | string;
|
|
736
827
|
/**
|
|
737
|
-
* <p>The entity that triggered the deployment event. Events can be triggered by a user,
|
|
828
|
+
* <p>The entity that triggered the deployment event. Events can be triggered by a user,
|
|
738
829
|
* AppConfig, an Amazon CloudWatch alarm, or an internal error.</p>
|
|
739
830
|
*/
|
|
740
831
|
TriggeredBy?: TriggeredBy | string;
|
|
741
832
|
/**
|
|
742
833
|
* <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
|
|
834
|
+
* user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts
|
|
744
835
|
* that received the deployment, or in the case of an internal error, a recommendation to
|
|
745
836
|
* attempt a new deployment.</p>
|
|
746
837
|
*/
|
|
@@ -815,8 +906,8 @@ export interface Deployment {
|
|
|
815
906
|
*/
|
|
816
907
|
GrowthFactor?: number;
|
|
817
908
|
/**
|
|
818
|
-
* <p>The amount of time AppConfig monitored for alarms before considering the deployment
|
|
819
|
-
* complete and no longer eligible for automatic
|
|
909
|
+
* <p>The amount of time that AppConfig monitored for alarms before considering the deployment
|
|
910
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
820
911
|
*/
|
|
821
912
|
FinalBakeTimeInMinutes?: number;
|
|
822
913
|
/**
|
|
@@ -885,7 +976,7 @@ export interface GetEnvironmentRequest {
|
|
|
885
976
|
*/
|
|
886
977
|
ApplicationId: string | undefined;
|
|
887
978
|
/**
|
|
888
|
-
* <p>The ID of the environment you
|
|
979
|
+
* <p>The ID of the environment that you want to get.</p>
|
|
889
980
|
*/
|
|
890
981
|
EnvironmentId: string | undefined;
|
|
891
982
|
}
|
|
@@ -939,7 +1030,11 @@ export interface ListApplicationsRequest {
|
|
|
939
1030
|
*/
|
|
940
1031
|
MaxResults?: number;
|
|
941
1032
|
/**
|
|
942
|
-
* <p>A token to start the list.
|
|
1033
|
+
* <p>A token to start the list. Next token is a pagination token generated by AppConfig to
|
|
1034
|
+
* describe what page the previous List call ended on. For the first List request, the
|
|
1035
|
+
* nextToken should not be set. On subsequent calls, the nextToken parameter should be set to
|
|
1036
|
+
* the previous responses nextToken value. Use this token to get the next set of results.
|
|
1037
|
+
* </p>
|
|
943
1038
|
*/
|
|
944
1039
|
NextToken?: string;
|
|
945
1040
|
}
|
|
@@ -973,6 +1068,12 @@ export interface ConfigurationProfileSummary {
|
|
|
973
1068
|
* <p>The types of validators in the configuration profile.</p>
|
|
974
1069
|
*/
|
|
975
1070
|
ValidatorTypes?: (ValidatorType | string)[];
|
|
1071
|
+
/**
|
|
1072
|
+
* <p>The type of configurations that the configuration profile contains. A configuration can
|
|
1073
|
+
* be a feature flag used for enabling or disabling new features or a free-form configuration
|
|
1074
|
+
* used to introduce changes to your application.</p>
|
|
1075
|
+
*/
|
|
1076
|
+
Type?: string;
|
|
976
1077
|
}
|
|
977
1078
|
export declare namespace ConfigurationProfileSummary {
|
|
978
1079
|
/**
|
|
@@ -1011,6 +1112,11 @@ export interface ListConfigurationProfilesRequest {
|
|
|
1011
1112
|
* <p>A token to start the list. Use this token to get the next set of results.</p>
|
|
1012
1113
|
*/
|
|
1013
1114
|
NextToken?: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* <p>A filter based on the type of configurations that the configuration profile contains. A
|
|
1117
|
+
* configuration can be a feature flag or a free-form configuration.</p>
|
|
1118
|
+
*/
|
|
1119
|
+
Type?: string;
|
|
1014
1120
|
}
|
|
1015
1121
|
export declare namespace ListConfigurationProfilesRequest {
|
|
1016
1122
|
/**
|
|
@@ -1048,8 +1154,8 @@ export interface DeploymentSummary {
|
|
|
1048
1154
|
*/
|
|
1049
1155
|
GrowthFactor?: number;
|
|
1050
1156
|
/**
|
|
1051
|
-
* <p>The amount of time AppConfig monitors for alarms before considering the deployment
|
|
1052
|
-
* complete and no longer eligible for automatic
|
|
1157
|
+
* <p>The amount of time that AppConfig monitors for alarms before considering the deployment
|
|
1158
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
1053
1159
|
*/
|
|
1054
1160
|
FinalBakeTimeInMinutes?: number;
|
|
1055
1161
|
/**
|
|
@@ -1211,7 +1317,7 @@ export interface HostedConfigurationVersionSummary {
|
|
|
1211
1317
|
Description?: string;
|
|
1212
1318
|
/**
|
|
1213
1319
|
* <p>A standard MIME type describing the format of the configuration content. For more
|
|
1214
|
-
* information, see <a href="https://
|
|
1320
|
+
* information, see <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>
|
|
1215
1321
|
*/
|
|
1216
1322
|
ContentType?: string;
|
|
1217
1323
|
}
|
|
@@ -1426,7 +1532,7 @@ export interface UpdateConfigurationProfileRequest {
|
|
|
1426
1532
|
Description?: string;
|
|
1427
1533
|
/**
|
|
1428
1534
|
* <p>The ARN of an IAM role with permission to access the configuration at the specified
|
|
1429
|
-
*
|
|
1535
|
+
* <code>LocationUri</code>.</p>
|
|
1430
1536
|
*/
|
|
1431
1537
|
RetrievalRoleArn?: string;
|
|
1432
1538
|
/**
|
|
@@ -1454,8 +1560,8 @@ export interface UpdateDeploymentStrategyRequest {
|
|
|
1454
1560
|
*/
|
|
1455
1561
|
DeploymentDurationInMinutes?: number;
|
|
1456
1562
|
/**
|
|
1457
|
-
* <p>The amount of time AppConfig monitors for alarms before considering the deployment
|
|
1458
|
-
* complete and no longer eligible for automatic
|
|
1563
|
+
* <p>The amount of time that AppConfig monitors for alarms before considering the deployment
|
|
1564
|
+
* to be complete and no longer eligible for automatic rollback.</p>
|
|
1459
1565
|
*/
|
|
1460
1566
|
FinalBakeTimeInMinutes?: number;
|
|
1461
1567
|
/**
|
|
@@ -1464,7 +1570,7 @@ export interface UpdateDeploymentStrategyRequest {
|
|
|
1464
1570
|
*/
|
|
1465
1571
|
GrowthFactor?: number;
|
|
1466
1572
|
/**
|
|
1467
|
-
* <p>The algorithm used to define how percentage grows over time.
|
|
1573
|
+
* <p>The algorithm used to define how percentage grows over time. AppConfig supports the
|
|
1468
1574
|
* following growth types:</p>
|
|
1469
1575
|
* <p>
|
|
1470
1576
|
* <b>Linear</b>: For this type, AppConfig processes the
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
18
18
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
20
|
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
23
|
serviceId: string;
|
|
22
24
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
@@ -71,6 +71,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
71
71
|
|
|
72
72
|
logger?: __Logger;
|
|
73
73
|
|
|
74
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
75
|
+
|
|
76
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
77
|
+
|
|
74
78
|
serviceId?: string;
|
|
75
79
|
|
|
76
80
|
region?: string | __Provider<string>;
|
|
@@ -12,10 +12,54 @@ export declare namespace Application {
|
|
|
12
12
|
const filterSensitiveLog: (obj: Application) => any;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
export interface InvalidConfigurationDetail {
|
|
16
|
+
|
|
17
|
+
Constraint?: string;
|
|
18
|
+
|
|
19
|
+
Location?: string;
|
|
20
|
+
|
|
21
|
+
Reason?: string;
|
|
22
|
+
|
|
23
|
+
Type?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace InvalidConfigurationDetail {
|
|
26
|
+
|
|
27
|
+
const filterSensitiveLog: (obj: InvalidConfigurationDetail) => any;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export declare type BadRequestDetails = BadRequestDetails.InvalidConfigurationMember | BadRequestDetails.$UnknownMember;
|
|
31
|
+
export declare namespace BadRequestDetails {
|
|
32
|
+
|
|
33
|
+
interface InvalidConfigurationMember {
|
|
34
|
+
InvalidConfiguration: InvalidConfigurationDetail[];
|
|
35
|
+
$unknown?: never;
|
|
36
|
+
}
|
|
37
|
+
interface $UnknownMember {
|
|
38
|
+
InvalidConfiguration?: never;
|
|
39
|
+
$unknown: [
|
|
40
|
+
string,
|
|
41
|
+
any
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
interface Visitor<T> {
|
|
45
|
+
InvalidConfiguration: (value: InvalidConfigurationDetail[]) => T;
|
|
46
|
+
_: (name: string, value: any) => T;
|
|
47
|
+
}
|
|
48
|
+
const visit: <T>(value: BadRequestDetails, visitor: Visitor<T>) => T;
|
|
49
|
+
|
|
50
|
+
const filterSensitiveLog: (obj: BadRequestDetails) => any;
|
|
51
|
+
}
|
|
52
|
+
export declare enum BadRequestReason {
|
|
53
|
+
INVALID_CONFIGURATION = "InvalidConfiguration"
|
|
54
|
+
}
|
|
55
|
+
|
|
15
56
|
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
16
57
|
name: "BadRequestException";
|
|
17
58
|
$fault: "client";
|
|
18
59
|
Message?: string;
|
|
60
|
+
Reason?: BadRequestReason | string;
|
|
61
|
+
|
|
62
|
+
Details?: BadRequestDetails;
|
|
19
63
|
}
|
|
20
64
|
export declare namespace BadRequestException {
|
|
21
65
|
|
|
@@ -75,6 +119,8 @@ export interface ConfigurationProfile {
|
|
|
75
119
|
RetrievalRoleArn?: string;
|
|
76
120
|
|
|
77
121
|
Validators?: Validator[];
|
|
122
|
+
|
|
123
|
+
Type?: string;
|
|
78
124
|
}
|
|
79
125
|
export declare namespace ConfigurationProfile {
|
|
80
126
|
|
|
@@ -97,6 +143,8 @@ export interface CreateConfigurationProfileRequest {
|
|
|
97
143
|
Tags?: {
|
|
98
144
|
[key: string]: string;
|
|
99
145
|
};
|
|
146
|
+
|
|
147
|
+
Type?: string;
|
|
100
148
|
}
|
|
101
149
|
export declare namespace CreateConfigurationProfileRequest {
|
|
102
150
|
|
|
@@ -170,7 +218,7 @@ export declare namespace DeploymentStrategy {
|
|
|
170
218
|
|
|
171
219
|
export interface Monitor {
|
|
172
220
|
|
|
173
|
-
AlarmArn
|
|
221
|
+
AlarmArn: string | undefined;
|
|
174
222
|
|
|
175
223
|
AlarmRoleArn?: string;
|
|
176
224
|
}
|
|
@@ -539,6 +587,8 @@ export interface ConfigurationProfileSummary {
|
|
|
539
587
|
LocationUri?: string;
|
|
540
588
|
|
|
541
589
|
ValidatorTypes?: (ValidatorType | string)[];
|
|
590
|
+
|
|
591
|
+
Type?: string;
|
|
542
592
|
}
|
|
543
593
|
export declare namespace ConfigurationProfileSummary {
|
|
544
594
|
|
|
@@ -561,6 +611,8 @@ export interface ListConfigurationProfilesRequest {
|
|
|
561
611
|
MaxResults?: number;
|
|
562
612
|
|
|
563
613
|
NextToken?: string;
|
|
614
|
+
|
|
615
|
+
Type?: string;
|
|
564
616
|
}
|
|
565
617
|
export declare namespace ListConfigurationProfilesRequest {
|
|
566
618
|
|
|
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
14
14
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
17
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
19
21
|
apiVersion: string;
|
|
@@ -14,6 +14,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
14
14
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
15
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
16
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
18
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
17
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
18
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
19
21
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: AppConfigClientConfig) => {
|
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
18
|
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
serviceId: string;
|
|
20
22
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
21
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|