@aws-sdk/client-appconfigdata 3.936.0 → 3.940.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/dist-cjs/index.js CHANGED
@@ -393,6 +393,22 @@ class AppConfigData extends AppConfigDataClient {
393
393
  }
394
394
  smithyClient.createAggregatedClient(commands, AppConfigData);
395
395
 
396
+ const InvalidParameterProblem = {
397
+ CORRUPTED: "Corrupted",
398
+ EXPIRED: "Expired",
399
+ POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied",
400
+ };
401
+ const BadRequestReason = {
402
+ INVALID_PARAMETERS: "InvalidParameters",
403
+ };
404
+ const ResourceType = {
405
+ APPLICATION: "Application",
406
+ CONFIGURATION: "Configuration",
407
+ CONFIGURATION_PROFILE: "ConfigurationProfile",
408
+ DEPLOYMENT: "Deployment",
409
+ ENVIRONMENT: "Environment",
410
+ };
411
+
396
412
  Object.defineProperty(exports, "$Command", {
397
413
  enumerable: true,
398
414
  get: function () { return smithyClient.Command; }
@@ -405,8 +421,11 @@ exports.AppConfigData = AppConfigData;
405
421
  exports.AppConfigDataClient = AppConfigDataClient;
406
422
  exports.AppConfigDataServiceException = AppConfigDataServiceException$1;
407
423
  exports.BadRequestException = BadRequestException$1;
424
+ exports.BadRequestReason = BadRequestReason;
408
425
  exports.GetLatestConfigurationCommand = GetLatestConfigurationCommand;
409
426
  exports.InternalServerException = InternalServerException$1;
427
+ exports.InvalidParameterProblem = InvalidParameterProblem;
410
428
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
429
+ exports.ResourceType = ResourceType;
411
430
  exports.StartConfigurationSessionCommand = StartConfigurationSessionCommand;
412
431
  exports.ThrottlingException = ThrottlingException$1;
package/dist-es/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./AppConfigDataClient";
2
2
  export * from "./AppConfigData";
3
3
  export * from "./commands";
4
+ export * from "./models/enums";
4
5
  export * from "./models/errors";
5
6
  export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
@@ -0,0 +1,15 @@
1
+ export const InvalidParameterProblem = {
2
+ CORRUPTED: "Corrupted",
3
+ EXPIRED: "Expired",
4
+ POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied",
5
+ };
6
+ export const BadRequestReason = {
7
+ INVALID_PARAMETERS: "InvalidParameters",
8
+ };
9
+ export const ResourceType = {
10
+ APPLICATION: "Application",
11
+ CONFIGURATION: "Configuration",
12
+ CONFIGURATION_PROFILE: "ConfigurationProfile",
13
+ DEPLOYMENT: "Deployment",
14
+ ENVIRONMENT: "Environment",
15
+ };
@@ -1,15 +1 @@
1
- export const InvalidParameterProblem = {
2
- CORRUPTED: "Corrupted",
3
- EXPIRED: "Expired",
4
- POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied",
5
- };
6
- export const BadRequestReason = {
7
- INVALID_PARAMETERS: "InvalidParameters",
8
- };
9
- export const ResourceType = {
10
- APPLICATION: "Application",
11
- CONFIGURATION: "Configuration",
12
- CONFIGURATION_PROFILE: "ConfigurationProfile",
13
- DEPLOYMENT: "Deployment",
14
- ENVIRONMENT: "Environment",
15
- };
1
+ export {};
@@ -67,6 +67,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
67
67
  export type { RuntimeExtension } from "./runtimeExtensions";
68
68
  export type { AppConfigDataExtensionConfiguration } from "./extensionConfiguration";
69
69
  export * from "./commands";
70
+ export * from "./models/enums";
70
71
  export * from "./models/errors";
71
72
  export type * from "./models/models_0";
72
73
  export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
@@ -0,0 +1,67 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const InvalidParameterProblem: {
6
+ /**
7
+ * The parameter was corrupted and could not be understood by the service.
8
+ */
9
+ readonly CORRUPTED: "Corrupted";
10
+ /**
11
+ * The parameter was expired and can no longer be used.
12
+ */
13
+ readonly EXPIRED: "Expired";
14
+ /**
15
+ * The client called the service before the time specified in the poll interval.
16
+ */
17
+ readonly POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied";
18
+ };
19
+ /**
20
+ * @public
21
+ */
22
+ export type InvalidParameterProblem = (typeof InvalidParameterProblem)[keyof typeof InvalidParameterProblem];
23
+ /**
24
+ * @public
25
+ * @enum
26
+ */
27
+ export declare const BadRequestReason: {
28
+ /**
29
+ * Indicates there was a problem with one or more of the parameters.
30
+ * See InvalidParameters in the BadRequestDetails for more information.
31
+ */
32
+ readonly INVALID_PARAMETERS: "InvalidParameters";
33
+ };
34
+ /**
35
+ * @public
36
+ */
37
+ export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
38
+ /**
39
+ * @public
40
+ * @enum
41
+ */
42
+ export declare const ResourceType: {
43
+ /**
44
+ * Resource type value for the Application resource.
45
+ */
46
+ readonly APPLICATION: "Application";
47
+ /**
48
+ * Resource type value for the Configuration resource.
49
+ */
50
+ readonly CONFIGURATION: "Configuration";
51
+ /**
52
+ * Resource type value for the ConfigurationProfile resource.
53
+ */
54
+ readonly CONFIGURATION_PROFILE: "ConfigurationProfile";
55
+ /**
56
+ * Resource type value for the Deployment resource.
57
+ */
58
+ readonly DEPLOYMENT: "Deployment";
59
+ /**
60
+ * Resource type value for the Environment resource.
61
+ */
62
+ readonly ENVIRONMENT: "Environment";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
3
- import { BadRequestDetails, BadRequestReason, ResourceType } from "./models_0";
3
+ import { BadRequestReason, ResourceType } from "./enums";
4
+ import { BadRequestDetails } from "./models_0";
4
5
  /**
5
6
  * <p>The input fails to satisfy the constraints specified by the service.</p>
6
7
  * @public
@@ -1,25 +1,4 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const InvalidParameterProblem: {
6
- /**
7
- * The parameter was corrupted and could not be understood by the service.
8
- */
9
- readonly CORRUPTED: "Corrupted";
10
- /**
11
- * The parameter was expired and can no longer be used.
12
- */
13
- readonly EXPIRED: "Expired";
14
- /**
15
- * The client called the service before the time specified in the poll interval.
16
- */
17
- readonly POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied";
18
- };
19
- /**
20
- * @public
21
- */
22
- export type InvalidParameterProblem = (typeof InvalidParameterProblem)[keyof typeof InvalidParameterProblem];
1
+ import { InvalidParameterProblem } from "./enums";
23
2
  /**
24
3
  * <p>Information about an invalid parameter.</p>
25
4
  * @public
@@ -65,51 +44,6 @@ export declare namespace BadRequestDetails {
65
44
  _: (name: string, value: any) => T;
66
45
  }
67
46
  }
68
- /**
69
- * @public
70
- * @enum
71
- */
72
- export declare const BadRequestReason: {
73
- /**
74
- * Indicates there was a problem with one or more of the parameters.
75
- * See InvalidParameters in the BadRequestDetails for more information.
76
- */
77
- readonly INVALID_PARAMETERS: "InvalidParameters";
78
- };
79
- /**
80
- * @public
81
- */
82
- export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
83
- /**
84
- * @public
85
- * @enum
86
- */
87
- export declare const ResourceType: {
88
- /**
89
- * Resource type value for the Application resource.
90
- */
91
- readonly APPLICATION: "Application";
92
- /**
93
- * Resource type value for the Configuration resource.
94
- */
95
- readonly CONFIGURATION: "Configuration";
96
- /**
97
- * Resource type value for the ConfigurationProfile resource.
98
- */
99
- readonly CONFIGURATION_PROFILE: "ConfigurationProfile";
100
- /**
101
- * Resource type value for the Deployment resource.
102
- */
103
- readonly DEPLOYMENT: "Deployment";
104
- /**
105
- * Resource type value for the Environment resource.
106
- */
107
- readonly ENVIRONMENT: "Environment";
108
- };
109
- /**
110
- * @public
111
- */
112
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
113
47
  /**
114
48
  * @public
115
49
  */
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { AppConfigDataExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./models/enums";
7
8
  export * from "./models/errors";
8
9
  export * from "./models/models_0";
9
10
  export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
@@ -0,0 +1,20 @@
1
+ export declare const InvalidParameterProblem: {
2
+ readonly CORRUPTED: "Corrupted";
3
+ readonly EXPIRED: "Expired";
4
+ readonly POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied";
5
+ };
6
+ export type InvalidParameterProblem =
7
+ (typeof InvalidParameterProblem)[keyof typeof InvalidParameterProblem];
8
+ export declare const BadRequestReason: {
9
+ readonly INVALID_PARAMETERS: "InvalidParameters";
10
+ };
11
+ export type BadRequestReason =
12
+ (typeof BadRequestReason)[keyof typeof BadRequestReason];
13
+ export declare const ResourceType: {
14
+ readonly APPLICATION: "Application";
15
+ readonly CONFIGURATION: "Configuration";
16
+ readonly CONFIGURATION_PROFILE: "ConfigurationProfile";
17
+ readonly DEPLOYMENT: "Deployment";
18
+ readonly ENVIRONMENT: "Environment";
19
+ };
20
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
3
- import { BadRequestDetails, BadRequestReason, ResourceType } from "./models_0";
3
+ import { BadRequestReason, ResourceType } from "./enums";
4
+ import { BadRequestDetails } from "./models_0";
4
5
  export declare class BadRequestException extends __BaseException {
5
6
  readonly name: "BadRequestException";
6
7
  readonly $fault: "client";
@@ -1,10 +1,4 @@
1
- export declare const InvalidParameterProblem: {
2
- readonly CORRUPTED: "Corrupted";
3
- readonly EXPIRED: "Expired";
4
- readonly POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied";
5
- };
6
- export type InvalidParameterProblem =
7
- (typeof InvalidParameterProblem)[keyof typeof InvalidParameterProblem];
1
+ import { InvalidParameterProblem } from "./enums";
8
2
  export interface InvalidParameterDetail {
9
3
  Problem?: InvalidParameterProblem | undefined;
10
4
  }
@@ -25,19 +19,6 @@ export declare namespace BadRequestDetails {
25
19
  _: (name: string, value: any) => T;
26
20
  }
27
21
  }
28
- export declare const BadRequestReason: {
29
- readonly INVALID_PARAMETERS: "InvalidParameters";
30
- };
31
- export type BadRequestReason =
32
- (typeof BadRequestReason)[keyof typeof BadRequestReason];
33
- export declare const ResourceType: {
34
- readonly APPLICATION: "Application";
35
- readonly CONFIGURATION: "Configuration";
36
- readonly CONFIGURATION_PROFILE: "ConfigurationProfile";
37
- readonly DEPLOYMENT: "Deployment";
38
- readonly ENVIRONMENT: "Environment";
39
- };
40
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
41
22
  export interface StartConfigurationSessionRequest {
42
23
  ApplicationIdentifier: string | undefined;
43
24
  EnvironmentIdentifier: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appconfigdata",
3
3
  "description": "AWS SDK for JavaScript Appconfigdata Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.940.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appconfigdata",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",