@aws-sdk/client-appconfigdata 3.301.0 → 3.306.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/models/models_0.js +15 -18
- package/dist-es/models/models_0.js +15 -18
- package/dist-types/models/models_0.d.ts +30 -15
- package/dist-types/ts3.4/models/models_0.d.ts +20 -15
- package/package.json +34 -34
|
@@ -3,12 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetLatestConfigurationResponseFilterSensitiveLog = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceType = exports.InternalServerException = exports.BadRequestException = exports.BadRequestReason = exports.BadRequestDetails = exports.InvalidParameterProblem = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const AppConfigDataServiceException_1 = require("./AppConfigDataServiceException");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})(InvalidParameterProblem = exports.InvalidParameterProblem || (exports.InvalidParameterProblem = {}));
|
|
6
|
+
exports.InvalidParameterProblem = {
|
|
7
|
+
CORRUPTED: "Corrupted",
|
|
8
|
+
EXPIRED: "Expired",
|
|
9
|
+
POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied",
|
|
10
|
+
};
|
|
12
11
|
var BadRequestDetails;
|
|
13
12
|
(function (BadRequestDetails) {
|
|
14
13
|
BadRequestDetails.visit = (value, visitor) => {
|
|
@@ -17,10 +16,9 @@ var BadRequestDetails;
|
|
|
17
16
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
18
17
|
};
|
|
19
18
|
})(BadRequestDetails = exports.BadRequestDetails || (exports.BadRequestDetails = {}));
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(BadRequestReason = exports.BadRequestReason || (exports.BadRequestReason = {}));
|
|
19
|
+
exports.BadRequestReason = {
|
|
20
|
+
INVALID_PARAMETERS: "InvalidParameters",
|
|
21
|
+
};
|
|
24
22
|
class BadRequestException extends AppConfigDataServiceException_1.AppConfigDataServiceException {
|
|
25
23
|
constructor(opts) {
|
|
26
24
|
super({
|
|
@@ -51,14 +49,13 @@ class InternalServerException extends AppConfigDataServiceException_1.AppConfigD
|
|
|
51
49
|
}
|
|
52
50
|
}
|
|
53
51
|
exports.InternalServerException = InternalServerException;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
52
|
+
exports.ResourceType = {
|
|
53
|
+
APPLICATION: "Application",
|
|
54
|
+
CONFIGURATION: "Configuration",
|
|
55
|
+
CONFIGURATION_PROFILE: "ConfigurationProfile",
|
|
56
|
+
DEPLOYMENT: "Deployment",
|
|
57
|
+
ENVIRONMENT: "Environment",
|
|
58
|
+
};
|
|
62
59
|
class ResourceNotFoundException extends AppConfigDataServiceException_1.AppConfigDataServiceException {
|
|
63
60
|
constructor(opts) {
|
|
64
61
|
super({
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(InvalidParameterProblem || (InvalidParameterProblem = {}));
|
|
3
|
+
export const InvalidParameterProblem = {
|
|
4
|
+
CORRUPTED: "Corrupted",
|
|
5
|
+
EXPIRED: "Expired",
|
|
6
|
+
POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied",
|
|
7
|
+
};
|
|
9
8
|
export var BadRequestDetails;
|
|
10
9
|
(function (BadRequestDetails) {
|
|
11
10
|
BadRequestDetails.visit = (value, visitor) => {
|
|
@@ -14,10 +13,9 @@ export var BadRequestDetails;
|
|
|
14
13
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
15
14
|
};
|
|
16
15
|
})(BadRequestDetails || (BadRequestDetails = {}));
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})(BadRequestReason || (BadRequestReason = {}));
|
|
16
|
+
export const BadRequestReason = {
|
|
17
|
+
INVALID_PARAMETERS: "InvalidParameters",
|
|
18
|
+
};
|
|
21
19
|
export class BadRequestException extends __BaseException {
|
|
22
20
|
constructor(opts) {
|
|
23
21
|
super({
|
|
@@ -46,14 +44,13 @@ export class InternalServerException extends __BaseException {
|
|
|
46
44
|
this.Message = opts.Message;
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
})(ResourceType || (ResourceType = {}));
|
|
47
|
+
export const ResourceType = {
|
|
48
|
+
APPLICATION: "Application",
|
|
49
|
+
CONFIGURATION: "Configuration",
|
|
50
|
+
CONFIGURATION_PROFILE: "ConfigurationProfile",
|
|
51
|
+
DEPLOYMENT: "Deployment",
|
|
52
|
+
ENVIRONMENT: "Environment",
|
|
53
|
+
};
|
|
57
54
|
export class ResourceNotFoundException extends __BaseException {
|
|
58
55
|
constructor(opts) {
|
|
59
56
|
super({
|
|
@@ -2,21 +2,26 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
+
export declare const InvalidParameterProblem: {
|
|
7
8
|
/**
|
|
8
9
|
* The parameter was corrupted and could not be understood by the service.
|
|
9
10
|
*/
|
|
10
|
-
CORRUPTED
|
|
11
|
+
readonly CORRUPTED: "Corrupted";
|
|
11
12
|
/**
|
|
12
13
|
* The parameter was expired and can no longer be used.
|
|
13
14
|
*/
|
|
14
|
-
EXPIRED
|
|
15
|
+
readonly EXPIRED: "Expired";
|
|
15
16
|
/**
|
|
16
17
|
* The client called the service before the time specified in the poll interval.
|
|
17
18
|
*/
|
|
18
|
-
POLL_INTERVAL_NOT_SATISFIED
|
|
19
|
-
}
|
|
19
|
+
readonly POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type InvalidParameterProblem = (typeof InvalidParameterProblem)[keyof typeof InvalidParameterProblem];
|
|
20
25
|
/**
|
|
21
26
|
* @public
|
|
22
27
|
* <p>Information about an invalid parameter.</p>
|
|
@@ -56,14 +61,19 @@ export declare namespace BadRequestDetails {
|
|
|
56
61
|
}
|
|
57
62
|
/**
|
|
58
63
|
* @public
|
|
64
|
+
* @enum
|
|
59
65
|
*/
|
|
60
|
-
export declare
|
|
66
|
+
export declare const BadRequestReason: {
|
|
61
67
|
/**
|
|
62
68
|
* Indicates there was a problem with one or more of the parameters.
|
|
63
69
|
* See InvalidParameters in the BadRequestDetails for more information.
|
|
64
70
|
*/
|
|
65
|
-
INVALID_PARAMETERS
|
|
66
|
-
}
|
|
71
|
+
readonly INVALID_PARAMETERS: "InvalidParameters";
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export type BadRequestReason = (typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
67
77
|
/**
|
|
68
78
|
* @public
|
|
69
79
|
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
@@ -100,29 +110,34 @@ export declare class InternalServerException extends __BaseException {
|
|
|
100
110
|
}
|
|
101
111
|
/**
|
|
102
112
|
* @public
|
|
113
|
+
* @enum
|
|
103
114
|
*/
|
|
104
|
-
export declare
|
|
115
|
+
export declare const ResourceType: {
|
|
105
116
|
/**
|
|
106
117
|
* Resource type value for the Application resource.
|
|
107
118
|
*/
|
|
108
|
-
APPLICATION
|
|
119
|
+
readonly APPLICATION: "Application";
|
|
109
120
|
/**
|
|
110
121
|
* Resource type value for the Configuration resource.
|
|
111
122
|
*/
|
|
112
|
-
CONFIGURATION
|
|
123
|
+
readonly CONFIGURATION: "Configuration";
|
|
113
124
|
/**
|
|
114
125
|
* Resource type value for the ConfigurationProfile resource.
|
|
115
126
|
*/
|
|
116
|
-
CONFIGURATION_PROFILE
|
|
127
|
+
readonly CONFIGURATION_PROFILE: "ConfigurationProfile";
|
|
117
128
|
/**
|
|
118
129
|
* Resource type value for the Deployment resource.
|
|
119
130
|
*/
|
|
120
|
-
DEPLOYMENT
|
|
131
|
+
readonly DEPLOYMENT: "Deployment";
|
|
121
132
|
/**
|
|
122
133
|
* Resource type value for the Environment resource.
|
|
123
134
|
*/
|
|
124
|
-
ENVIRONMENT
|
|
125
|
-
}
|
|
135
|
+
readonly ENVIRONMENT: "Environment";
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
126
141
|
/**
|
|
127
142
|
* @public
|
|
128
143
|
* <p>The requested resource could not be found.</p>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
CORRUPTED
|
|
5
|
-
EXPIRED
|
|
6
|
-
POLL_INTERVAL_NOT_SATISFIED
|
|
7
|
-
}
|
|
3
|
+
export declare const InvalidParameterProblem: {
|
|
4
|
+
readonly CORRUPTED: "Corrupted";
|
|
5
|
+
readonly EXPIRED: "Expired";
|
|
6
|
+
readonly POLL_INTERVAL_NOT_SATISFIED: "PollIntervalNotSatisfied";
|
|
7
|
+
};
|
|
8
|
+
export type InvalidParameterProblem =
|
|
9
|
+
(typeof InvalidParameterProblem)[keyof typeof InvalidParameterProblem];
|
|
8
10
|
export interface InvalidParameterDetail {
|
|
9
11
|
Problem?: InvalidParameterProblem | string;
|
|
10
12
|
}
|
|
@@ -26,9 +28,11 @@ export declare namespace BadRequestDetails {
|
|
|
26
28
|
}
|
|
27
29
|
const visit: <T>(value: BadRequestDetails, visitor: Visitor<T>) => T;
|
|
28
30
|
}
|
|
29
|
-
export declare
|
|
30
|
-
INVALID_PARAMETERS
|
|
31
|
-
}
|
|
31
|
+
export declare const BadRequestReason: {
|
|
32
|
+
readonly INVALID_PARAMETERS: "InvalidParameters";
|
|
33
|
+
};
|
|
34
|
+
export type BadRequestReason =
|
|
35
|
+
(typeof BadRequestReason)[keyof typeof BadRequestReason];
|
|
32
36
|
export declare class BadRequestException extends __BaseException {
|
|
33
37
|
readonly name: "BadRequestException";
|
|
34
38
|
readonly $fault: "client";
|
|
@@ -47,13 +51,14 @@ export declare class InternalServerException extends __BaseException {
|
|
|
47
51
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
48
52
|
);
|
|
49
53
|
}
|
|
50
|
-
export declare
|
|
51
|
-
APPLICATION
|
|
52
|
-
CONFIGURATION
|
|
53
|
-
CONFIGURATION_PROFILE
|
|
54
|
-
DEPLOYMENT
|
|
55
|
-
ENVIRONMENT
|
|
56
|
-
}
|
|
54
|
+
export declare const ResourceType: {
|
|
55
|
+
readonly APPLICATION: "Application";
|
|
56
|
+
readonly CONFIGURATION: "Configuration";
|
|
57
|
+
readonly CONFIGURATION_PROFILE: "ConfigurationProfile";
|
|
58
|
+
readonly DEPLOYMENT: "Deployment";
|
|
59
|
+
readonly ENVIRONMENT: "Environment";
|
|
60
|
+
};
|
|
61
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
57
62
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
58
63
|
readonly name: "ResourceNotFoundException";
|
|
59
64
|
readonly $fault: "client";
|
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.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|