@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.
Files changed (46) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +19 -24
  3. package/dist-cjs/endpoints.js +1 -0
  4. package/dist-cjs/models/models_0.js +28 -38
  5. package/dist-cjs/protocols/Aws_restJson1.js +49 -0
  6. package/dist-cjs/runtimeConfig.browser.js +7 -2
  7. package/dist-cjs/runtimeConfig.js +9 -3
  8. package/dist-es/endpoints.js +1 -0
  9. package/dist-es/models/models_0.js +27 -24
  10. package/dist-es/protocols/Aws_restJson1.js +51 -4
  11. package/dist-es/runtimeConfig.browser.js +12 -3
  12. package/dist-es/runtimeConfig.js +13 -6
  13. package/dist-types/AppConfig.d.ts +75 -70
  14. package/dist-types/AppConfigClient.d.ts +24 -24
  15. package/dist-types/commands/CreateApplicationCommand.d.ts +5 -4
  16. package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +13 -9
  17. package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +4 -4
  18. package/dist-types/commands/CreateEnvironmentCommand.d.ts +8 -7
  19. package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -1
  25. package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
  26. package/dist-types/commands/GetConfigurationCommand.d.ts +3 -3
  27. package/dist-types/commands/GetConfigurationProfileCommand.d.ts +1 -1
  28. package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
  29. package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +2 -2
  30. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  31. package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +1 -1
  32. package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +1 -1
  36. package/dist-types/commands/TagResourceCommand.d.ts +5 -3
  37. package/dist-types/models/models_0.d.ts +150 -80
  38. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  39. package/dist-types/runtimeConfig.d.ts +4 -3
  40. package/dist-types/runtimeConfig.native.d.ts +1 -0
  41. package/dist-types/ts3.4/AppConfigClient.d.ts +3 -1
  42. package/dist-types/ts3.4/models/models_0.d.ts +52 -24
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  46. package/package.json +38 -45
package/CHANGELOG.md CHANGED
@@ -3,6 +3,56 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
28
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
35
+
36
+
37
+ ### Features
38
+
39
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
46
+
47
+
48
+ ### Features
49
+
50
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
51
+
52
+
53
+
54
+
55
+
6
56
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
57
 
8
58
  **Note:** Version bump only for package @aws-sdk/client-appconfig
package/README.md CHANGED
@@ -7,30 +7,25 @@
7
7
 
8
8
  AWS SDK for JavaScript AppConfig Client for Node.js, Browser and React Native.
9
9
 
10
- <fullname>AWS AppConfig</fullname>
11
-
12
- <p>Use AWS AppConfig, a capability of AWS Systems Manager, to create, manage, and quickly deploy
13
- application configurations. AppConfig supports controlled deployments to applications of any
14
- size and includes built-in validation checks and monitoring. You can use AppConfig with
15
- applications hosted on Amazon EC2 instances, AWS Lambda, containers, mobile applications, or IoT
10
+ <p>Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly deploy
11
+ application configurations. AppConfig supports controlled deployments to applications of
12
+ any size and includes built-in validation checks and monitoring. You can use AppConfig with
13
+ applications hosted on Amazon EC2 instances, Lambda, containers, mobile applications, or IoT
16
14
  devices.</p>
17
-
18
15
  <p>To prevent errors when deploying application configurations, especially for production
19
- systems where a simple typo could cause an unexpected outage, AppConfig includes validators.
20
- A validator provides a syntactic or semantic check to ensure that the configuration you
21
- want to deploy works as intended. To validate your application configuration data, you
22
- provide a schema or a Lambda function that runs against the configuration. The
23
- configuration deployment or update can only proceed when the configuration data is
24
- valid.</p>
25
-
16
+ systems where a simple typo could cause an unexpected outage, AppConfig includes
17
+ validators. A validator provides a syntactic or semantic check to ensure that the
18
+ configuration you want to deploy works as intended. To validate your application
19
+ configuration data, you provide a schema or a Lambda function that runs against the
20
+ configuration. The configuration deployment or update can only proceed when the
21
+ configuration data is valid.</p>
26
22
  <p>During a configuration deployment, AppConfig monitors the application to ensure that the
27
- deployment is successful. If the system encounters an error, AppConfig rolls back the change
28
- to minimize impact for your application users. You can configure a deployment strategy for
29
- each application or environment that includes deployment criteria, including velocity, bake
30
- time, and alarms to monitor. Similar to error monitoring, if a deployment triggers an
31
- alarm, AppConfig automatically rolls back to the previous version. </p>
32
-
33
- <p>AppConfig supports multiple use cases. Here are some examples.</p>
23
+ deployment is successful. If the system encounters an error, AppConfig rolls back the
24
+ change to minimize impact for your application users. You can configure a deployment
25
+ strategy for each application or environment that includes deployment criteria, including
26
+ velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment
27
+ triggers an alarm, AppConfig automatically rolls back to the previous version. </p>
28
+ <p>AppConfig supports multiple use cases. Here are some examples:</p>
34
29
  <ul>
35
30
  <li>
36
31
  <p>
@@ -51,12 +46,12 @@ subscribers to access paid content. </p>
51
46
  </li>
52
47
  <li>
53
48
  <p>
54
- <b>Operational issues</b>: Use AppConfig to reduce stress
55
- on your application when a dependency or other external factor impacts the
49
+ <b>Operational issues</b>: Use AppConfig to reduce
50
+ stress on your application when a dependency or other external factor impacts the
56
51
  system.</p>
57
52
  </li>
58
53
  </ul>
59
- <p>This reference is intended to be used with the <a href="http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig.html">AWS AppConfig User Guide</a>.</p>
54
+ <p>This reference is intended to be used with the <a href="http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html">AppConfig User Guide</a>.</p>
60
55
 
61
56
  ## Installing
62
57
 
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeploymentStrategies = exports.ListDeploymentsRequest = exports.Deployments = exports.DeploymentSummary = exports.ListConfigurationProfilesRequest = exports.ConfigurationProfiles = exports.ConfigurationProfileSummary = exports.ListApplicationsRequest = exports.Applications = exports.GetHostedConfigurationVersionRequest = exports.GetEnvironmentRequest = exports.GetDeploymentStrategyRequest = exports.GetDeploymentRequest = exports.Deployment = exports.DeploymentState = exports.DeploymentEvent = exports.TriggeredBy = exports.DeploymentEventType = exports.GetConfigurationProfileRequest = exports.GetConfigurationRequest = exports.Configuration = exports.GetApplicationRequest = exports.DeleteHostedConfigurationVersionRequest = exports.DeleteEnvironmentRequest = exports.DeleteDeploymentStrategyRequest = exports.DeleteConfigurationProfileRequest = exports.DeleteApplicationRequest = exports.ServiceQuotaExceededException = exports.PayloadTooLargeException = exports.BytesMeasure = exports.HostedConfigurationVersion = exports.CreateHostedConfigurationVersionRequest = exports.ConflictException = exports.Environment = exports.EnvironmentState = exports.CreateEnvironmentRequest = exports.Monitor = exports.DeploymentStrategy = exports.CreateDeploymentStrategyRequest = exports.ReplicateTo = exports.GrowthType = exports.ResourceNotFoundException = exports.CreateConfigurationProfileRequest = exports.ConfigurationProfile = exports.Validator = exports.ValidatorType = exports.InternalServerException = exports.CreateApplicationRequest = exports.BadRequestException = exports.Application = void 0;
4
- exports.ValidateConfigurationRequest = exports.UpdateEnvironmentRequest = exports.UpdateDeploymentStrategyRequest = exports.UpdateConfigurationProfileRequest = exports.UpdateApplicationRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopDeploymentRequest = exports.StartDeploymentRequest = exports.ResourceTags = exports.ListTagsForResourceRequest = exports.ListHostedConfigurationVersionsRequest = exports.HostedConfigurationVersions = exports.HostedConfigurationVersionSummary = exports.ListEnvironmentsRequest = exports.Environments = exports.ListDeploymentStrategiesRequest = void 0;
3
+ exports.ListEnvironmentsRequest = exports.Environments = exports.ListDeploymentStrategiesRequest = exports.DeploymentStrategies = exports.ListDeploymentsRequest = exports.Deployments = exports.DeploymentSummary = exports.ListConfigurationProfilesRequest = exports.ConfigurationProfiles = exports.ConfigurationProfileSummary = exports.ListApplicationsRequest = exports.Applications = exports.GetHostedConfigurationVersionRequest = exports.GetEnvironmentRequest = exports.GetDeploymentStrategyRequest = exports.GetDeploymentRequest = exports.Deployment = exports.DeploymentState = exports.DeploymentEvent = exports.TriggeredBy = exports.DeploymentEventType = exports.GetConfigurationProfileRequest = exports.GetConfigurationRequest = exports.Configuration = exports.GetApplicationRequest = exports.DeleteHostedConfigurationVersionRequest = exports.DeleteEnvironmentRequest = exports.DeleteDeploymentStrategyRequest = exports.DeleteConfigurationProfileRequest = exports.DeleteApplicationRequest = exports.BytesMeasure = exports.HostedConfigurationVersion = exports.CreateHostedConfigurationVersionRequest = exports.Environment = exports.EnvironmentState = exports.CreateEnvironmentRequest = exports.Monitor = exports.DeploymentStrategy = exports.CreateDeploymentStrategyRequest = exports.ReplicateTo = exports.GrowthType = exports.CreateConfigurationProfileRequest = exports.ConfigurationProfile = exports.Validator = exports.ValidatorType = exports.CreateApplicationRequest = exports.BadRequestReason = exports.BadRequestDetails = exports.InvalidConfigurationDetail = exports.Application = void 0;
4
+ exports.ValidateConfigurationRequest = exports.UpdateEnvironmentRequest = exports.UpdateDeploymentStrategyRequest = exports.UpdateConfigurationProfileRequest = exports.UpdateApplicationRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopDeploymentRequest = exports.StartDeploymentRequest = exports.ResourceTags = exports.ListTagsForResourceRequest = exports.ListHostedConfigurationVersionsRequest = exports.HostedConfigurationVersions = exports.HostedConfigurationVersionSummary = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  var Application;
7
7
  (function (Application) {
@@ -9,24 +9,38 @@ var Application;
9
9
  ...obj,
10
10
  });
11
11
  })(Application = exports.Application || (exports.Application = {}));
12
- var BadRequestException;
13
- (function (BadRequestException) {
14
- BadRequestException.filterSensitiveLog = (obj) => ({
15
- ...obj,
16
- });
17
- })(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
12
+ var InvalidConfigurationDetail;
13
+ (function (InvalidConfigurationDetail) {
14
+ InvalidConfigurationDetail.filterSensitiveLog = (obj) => ({
15
+ ...obj,
16
+ });
17
+ })(InvalidConfigurationDetail = exports.InvalidConfigurationDetail || (exports.InvalidConfigurationDetail = {}));
18
+ var BadRequestDetails;
19
+ (function (BadRequestDetails) {
20
+ BadRequestDetails.visit = (value, visitor) => {
21
+ if (value.InvalidConfiguration !== undefined)
22
+ return visitor.InvalidConfiguration(value.InvalidConfiguration);
23
+ return visitor._(value.$unknown[0], value.$unknown[1]);
24
+ };
25
+ BadRequestDetails.filterSensitiveLog = (obj) => {
26
+ if (obj.InvalidConfiguration !== undefined)
27
+ return {
28
+ InvalidConfiguration: obj.InvalidConfiguration.map((item) => InvalidConfigurationDetail.filterSensitiveLog(item)),
29
+ };
30
+ if (obj.$unknown !== undefined)
31
+ return { [obj.$unknown[0]]: "UNKNOWN" };
32
+ };
33
+ })(BadRequestDetails = exports.BadRequestDetails || (exports.BadRequestDetails = {}));
34
+ var BadRequestReason;
35
+ (function (BadRequestReason) {
36
+ BadRequestReason["INVALID_CONFIGURATION"] = "InvalidConfiguration";
37
+ })(BadRequestReason = exports.BadRequestReason || (exports.BadRequestReason = {}));
18
38
  var CreateApplicationRequest;
19
39
  (function (CreateApplicationRequest) {
20
40
  CreateApplicationRequest.filterSensitiveLog = (obj) => ({
21
41
  ...obj,
22
42
  });
23
43
  })(CreateApplicationRequest = exports.CreateApplicationRequest || (exports.CreateApplicationRequest = {}));
24
- var InternalServerException;
25
- (function (InternalServerException) {
26
- InternalServerException.filterSensitiveLog = (obj) => ({
27
- ...obj,
28
- });
29
- })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
30
44
  var ValidatorType;
31
45
  (function (ValidatorType) {
32
46
  ValidatorType["JSON_SCHEMA"] = "JSON_SCHEMA";
@@ -53,12 +67,6 @@ var CreateConfigurationProfileRequest;
53
67
  ...(obj.Validators && { Validators: obj.Validators.map((item) => Validator.filterSensitiveLog(item)) }),
54
68
  });
55
69
  })(CreateConfigurationProfileRequest = exports.CreateConfigurationProfileRequest || (exports.CreateConfigurationProfileRequest = {}));
56
- var ResourceNotFoundException;
57
- (function (ResourceNotFoundException) {
58
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
59
- ...obj,
60
- });
61
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
62
70
  var GrowthType;
63
71
  (function (GrowthType) {
64
72
  GrowthType["EXPONENTIAL"] = "EXPONENTIAL";
@@ -106,12 +114,6 @@ var Environment;
106
114
  ...obj,
107
115
  });
108
116
  })(Environment = exports.Environment || (exports.Environment = {}));
109
- var ConflictException;
110
- (function (ConflictException) {
111
- ConflictException.filterSensitiveLog = (obj) => ({
112
- ...obj,
113
- });
114
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
115
117
  var CreateHostedConfigurationVersionRequest;
116
118
  (function (CreateHostedConfigurationVersionRequest) {
117
119
  CreateHostedConfigurationVersionRequest.filterSensitiveLog = (obj) => ({
@@ -130,18 +132,6 @@ var BytesMeasure;
130
132
  (function (BytesMeasure) {
131
133
  BytesMeasure["KILOBYTES"] = "KILOBYTES";
132
134
  })(BytesMeasure = exports.BytesMeasure || (exports.BytesMeasure = {}));
133
- var PayloadTooLargeException;
134
- (function (PayloadTooLargeException) {
135
- PayloadTooLargeException.filterSensitiveLog = (obj) => ({
136
- ...obj,
137
- });
138
- })(PayloadTooLargeException = exports.PayloadTooLargeException || (exports.PayloadTooLargeException = {}));
139
- var ServiceQuotaExceededException;
140
- (function (ServiceQuotaExceededException) {
141
- ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
142
- ...obj,
143
- });
144
- })(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
145
135
  var DeleteApplicationRequest;
146
136
  (function (DeleteApplicationRequest) {
147
137
  DeleteApplicationRequest.filterSensitiveLog = (obj) => ({
@@ -52,6 +52,7 @@ const serializeAws_restJson1CreateConfigurationProfileCommand = async (input, co
52
52
  ...(input.RetrievalRoleArn !== undefined &&
53
53
  input.RetrievalRoleArn !== null && { RetrievalRoleArn: input.RetrievalRoleArn }),
54
54
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
55
+ ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
55
56
  ...(input.Validators !== undefined &&
56
57
  input.Validators !== null && { Validators: serializeAws_restJson1ValidatorList(input.Validators, context) }),
57
58
  });
@@ -668,6 +669,7 @@ const serializeAws_restJson1ListConfigurationProfilesCommand = async (input, con
668
669
  const query = {
669
670
  ...(input.MaxResults !== undefined && { max_results: input.MaxResults.toString() }),
670
671
  ...(input.NextToken !== undefined && { next_token: input.NextToken }),
672
+ ...(input.Type !== undefined && { type: input.Type }),
671
673
  };
672
674
  let body;
673
675
  return new protocol_http_1.HttpRequest({
@@ -1282,6 +1284,7 @@ const deserializeAws_restJson1CreateConfigurationProfileCommand = async (output,
1282
1284
  LocationUri: undefined,
1283
1285
  Name: undefined,
1284
1286
  RetrievalRoleArn: undefined,
1287
+ Type: undefined,
1285
1288
  Validators: undefined,
1286
1289
  };
1287
1290
  const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
@@ -1303,6 +1306,9 @@ const deserializeAws_restJson1CreateConfigurationProfileCommand = async (output,
1303
1306
  if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
1304
1307
  contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
1305
1308
  }
1309
+ if (data.Type !== undefined && data.Type !== null) {
1310
+ contents.Type = smithy_client_1.expectString(data.Type);
1311
+ }
1306
1312
  if (data.Validators !== undefined && data.Validators !== null) {
1307
1313
  contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
1308
1314
  }
@@ -2102,6 +2108,7 @@ const deserializeAws_restJson1GetConfigurationProfileCommand = async (output, co
2102
2108
  LocationUri: undefined,
2103
2109
  Name: undefined,
2104
2110
  RetrievalRoleArn: undefined,
2111
+ Type: undefined,
2105
2112
  Validators: undefined,
2106
2113
  };
2107
2114
  const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
@@ -2123,6 +2130,9 @@ const deserializeAws_restJson1GetConfigurationProfileCommand = async (output, co
2123
2130
  if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
2124
2131
  contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
2125
2132
  }
2133
+ if (data.Type !== undefined && data.Type !== null) {
2134
+ contents.Type = smithy_client_1.expectString(data.Type);
2135
+ }
2126
2136
  if (data.Validators !== undefined && data.Validators !== null) {
2127
2137
  contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
2128
2138
  }
@@ -3500,6 +3510,7 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommand = async (output,
3500
3510
  LocationUri: undefined,
3501
3511
  Name: undefined,
3502
3512
  RetrievalRoleArn: undefined,
3513
+ Type: undefined,
3503
3514
  Validators: undefined,
3504
3515
  };
3505
3516
  const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
@@ -3521,6 +3532,9 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommand = async (output,
3521
3532
  if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
3522
3533
  contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
3523
3534
  }
3535
+ if (data.Type !== undefined && data.Type !== null) {
3536
+ contents.Type = smithy_client_1.expectString(data.Type);
3537
+ }
3524
3538
  if (data.Validators !== undefined && data.Validators !== null) {
3525
3539
  contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
3526
3540
  }
@@ -3817,12 +3831,20 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
3817
3831
  name: "BadRequestException",
3818
3832
  $fault: "client",
3819
3833
  $metadata: deserializeMetadata(parsedOutput),
3834
+ Details: undefined,
3820
3835
  Message: undefined,
3836
+ Reason: undefined,
3821
3837
  };
3822
3838
  const data = parsedOutput.body;
3839
+ if (data.Details !== undefined && data.Details !== null) {
3840
+ contents.Details = deserializeAws_restJson1BadRequestDetails(smithy_client_1.expectUnion(data.Details), context);
3841
+ }
3823
3842
  if (data.Message !== undefined && data.Message !== null) {
3824
3843
  contents.Message = smithy_client_1.expectString(data.Message);
3825
3844
  }
3845
+ if (data.Reason !== undefined && data.Reason !== null) {
3846
+ contents.Reason = smithy_client_1.expectString(data.Reason);
3847
+ }
3826
3848
  return contents;
3827
3849
  };
3828
3850
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
@@ -3966,12 +3988,21 @@ const deserializeAws_restJson1ApplicationList = (output, context) => {
3966
3988
  return deserializeAws_restJson1Application(entry, context);
3967
3989
  });
3968
3990
  };
3991
+ const deserializeAws_restJson1BadRequestDetails = (output, context) => {
3992
+ if (output.InvalidConfiguration !== undefined && output.InvalidConfiguration !== null) {
3993
+ return {
3994
+ InvalidConfiguration: deserializeAws_restJson1InvalidConfigurationDetailList(output.InvalidConfiguration, context),
3995
+ };
3996
+ }
3997
+ return { $unknown: Object.entries(output)[0] };
3998
+ };
3969
3999
  const deserializeAws_restJson1ConfigurationProfileSummary = (output, context) => {
3970
4000
  return {
3971
4001
  ApplicationId: smithy_client_1.expectString(output.ApplicationId),
3972
4002
  Id: smithy_client_1.expectString(output.Id),
3973
4003
  LocationUri: smithy_client_1.expectString(output.LocationUri),
3974
4004
  Name: smithy_client_1.expectString(output.Name),
4005
+ Type: smithy_client_1.expectString(output.Type),
3975
4006
  ValidatorTypes: output.ValidatorTypes !== undefined && output.ValidatorTypes !== null
3976
4007
  ? deserializeAws_restJson1ValidatorTypeList(output.ValidatorTypes, context)
3977
4008
  : undefined,
@@ -4099,6 +4130,24 @@ const deserializeAws_restJson1HostedConfigurationVersionSummaryList = (output, c
4099
4130
  return deserializeAws_restJson1HostedConfigurationVersionSummary(entry, context);
4100
4131
  });
4101
4132
  };
4133
+ const deserializeAws_restJson1InvalidConfigurationDetail = (output, context) => {
4134
+ return {
4135
+ Constraint: smithy_client_1.expectString(output.Constraint),
4136
+ Location: smithy_client_1.expectString(output.Location),
4137
+ Reason: smithy_client_1.expectString(output.Reason),
4138
+ Type: smithy_client_1.expectString(output.Type),
4139
+ };
4140
+ };
4141
+ const deserializeAws_restJson1InvalidConfigurationDetailList = (output, context) => {
4142
+ return (output || [])
4143
+ .filter((e) => e != null)
4144
+ .map((entry) => {
4145
+ if (entry === null) {
4146
+ return null;
4147
+ }
4148
+ return deserializeAws_restJson1InvalidConfigurationDetail(entry, context);
4149
+ });
4150
+ };
4102
4151
  const deserializeAws_restJson1Monitor = (output, context) => {
4103
4152
  return {
4104
4153
  AlarmArn: smithy_client_1.expectString(output.AlarmArn),
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",
@@ -4,18 +4,37 @@ export var Application;
4
4
  (function (Application) {
5
5
  Application.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
6
  })(Application || (Application = {}));
7
- export var BadRequestException;
8
- (function (BadRequestException) {
9
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
- })(BadRequestException || (BadRequestException = {}));
7
+ export var InvalidConfigurationDetail;
8
+ (function (InvalidConfigurationDetail) {
9
+ InvalidConfigurationDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
+ })(InvalidConfigurationDetail || (InvalidConfigurationDetail = {}));
11
+ export var BadRequestDetails;
12
+ (function (BadRequestDetails) {
13
+ BadRequestDetails.visit = function (value, visitor) {
14
+ if (value.InvalidConfiguration !== undefined)
15
+ return visitor.InvalidConfiguration(value.InvalidConfiguration);
16
+ return visitor._(value.$unknown[0], value.$unknown[1]);
17
+ };
18
+ BadRequestDetails.filterSensitiveLog = function (obj) {
19
+ var _a;
20
+ if (obj.InvalidConfiguration !== undefined)
21
+ return {
22
+ InvalidConfiguration: obj.InvalidConfiguration.map(function (item) {
23
+ return InvalidConfigurationDetail.filterSensitiveLog(item);
24
+ }),
25
+ };
26
+ if (obj.$unknown !== undefined)
27
+ return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
28
+ };
29
+ })(BadRequestDetails || (BadRequestDetails = {}));
30
+ export var BadRequestReason;
31
+ (function (BadRequestReason) {
32
+ BadRequestReason["INVALID_CONFIGURATION"] = "InvalidConfiguration";
33
+ })(BadRequestReason || (BadRequestReason = {}));
11
34
  export var CreateApplicationRequest;
12
35
  (function (CreateApplicationRequest) {
13
36
  CreateApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
14
37
  })(CreateApplicationRequest || (CreateApplicationRequest = {}));
15
- export var InternalServerException;
16
- (function (InternalServerException) {
17
- InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
- })(InternalServerException || (InternalServerException = {}));
19
38
  export var ValidatorType;
20
39
  (function (ValidatorType) {
21
40
  ValidatorType["JSON_SCHEMA"] = "JSON_SCHEMA";
@@ -33,10 +52,6 @@ export var CreateConfigurationProfileRequest;
33
52
  (function (CreateConfigurationProfileRequest) {
34
53
  CreateConfigurationProfileRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Validators && { Validators: obj.Validators.map(function (item) { return Validator.filterSensitiveLog(item); }) }))); };
35
54
  })(CreateConfigurationProfileRequest || (CreateConfigurationProfileRequest = {}));
36
- export var ResourceNotFoundException;
37
- (function (ResourceNotFoundException) {
38
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
39
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
40
55
  export var GrowthType;
41
56
  (function (GrowthType) {
42
57
  GrowthType["EXPONENTIAL"] = "EXPONENTIAL";
@@ -74,10 +89,6 @@ export var Environment;
74
89
  (function (Environment) {
75
90
  Environment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
76
91
  })(Environment || (Environment = {}));
77
- export var ConflictException;
78
- (function (ConflictException) {
79
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
80
- })(ConflictException || (ConflictException = {}));
81
92
  export var CreateHostedConfigurationVersionRequest;
82
93
  (function (CreateHostedConfigurationVersionRequest) {
83
94
  CreateHostedConfigurationVersionRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Content && { Content: SENSITIVE_STRING }))); };
@@ -90,14 +101,6 @@ export var BytesMeasure;
90
101
  (function (BytesMeasure) {
91
102
  BytesMeasure["KILOBYTES"] = "KILOBYTES";
92
103
  })(BytesMeasure || (BytesMeasure = {}));
93
- export var PayloadTooLargeException;
94
- (function (PayloadTooLargeException) {
95
- PayloadTooLargeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
96
- })(PayloadTooLargeException || (PayloadTooLargeException = {}));
97
- export var ServiceQuotaExceededException;
98
- (function (ServiceQuotaExceededException) {
99
- ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
100
- })(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
101
104
  export var DeleteApplicationRequest;
102
105
  (function (DeleteApplicationRequest) {
103
106
  DeleteApplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };