@aws-sdk/client-appconfigdata 3.297.0 → 3.298.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/commands/GetLatestConfigurationCommand.js +1 -1
- package/dist-cjs/commands/StartConfigurationSessionCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -26
- package/dist-es/commands/GetLatestConfigurationCommand.js +2 -2
- package/dist-es/commands/StartConfigurationSessionCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -20
- package/dist-types/models/models_0.d.ts +0 -20
- package/dist-types/ts3.4/models/models_0.d.ts +0 -15
- package/package.json +4 -3
|
@@ -30,7 +30,7 @@ class GetLatestConfigurationCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.GetLatestConfigurationResponseFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -4,7 +4,6 @@ exports.StartConfigurationSessionCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class StartConfigurationSessionCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class StartConfigurationSessionCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetLatestConfigurationResponseFilterSensitiveLog = exports.
|
|
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
6
|
var InvalidParameterProblem;
|
|
@@ -89,31 +89,6 @@ class ThrottlingException extends AppConfigDataServiceException_1.AppConfigDataS
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
exports.ThrottlingException = ThrottlingException;
|
|
92
|
-
const InvalidParameterDetailFilterSensitiveLog = (obj) => ({
|
|
93
|
-
...obj,
|
|
94
|
-
});
|
|
95
|
-
exports.InvalidParameterDetailFilterSensitiveLog = InvalidParameterDetailFilterSensitiveLog;
|
|
96
|
-
const BadRequestDetailsFilterSensitiveLog = (obj) => {
|
|
97
|
-
if (obj.InvalidParameters !== undefined)
|
|
98
|
-
return {
|
|
99
|
-
InvalidParameters: Object.entries(obj.InvalidParameters).reduce((acc, [key, value]) => ((acc[key] = (0, exports.InvalidParameterDetailFilterSensitiveLog)(value)), acc), {}),
|
|
100
|
-
};
|
|
101
|
-
if (obj.$unknown !== undefined)
|
|
102
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
103
|
-
};
|
|
104
|
-
exports.BadRequestDetailsFilterSensitiveLog = BadRequestDetailsFilterSensitiveLog;
|
|
105
|
-
const StartConfigurationSessionRequestFilterSensitiveLog = (obj) => ({
|
|
106
|
-
...obj,
|
|
107
|
-
});
|
|
108
|
-
exports.StartConfigurationSessionRequestFilterSensitiveLog = StartConfigurationSessionRequestFilterSensitiveLog;
|
|
109
|
-
const StartConfigurationSessionResponseFilterSensitiveLog = (obj) => ({
|
|
110
|
-
...obj,
|
|
111
|
-
});
|
|
112
|
-
exports.StartConfigurationSessionResponseFilterSensitiveLog = StartConfigurationSessionResponseFilterSensitiveLog;
|
|
113
|
-
const GetLatestConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
114
|
-
...obj,
|
|
115
|
-
});
|
|
116
|
-
exports.GetLatestConfigurationRequestFilterSensitiveLog = GetLatestConfigurationRequestFilterSensitiveLog;
|
|
117
92
|
const GetLatestConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
118
93
|
...obj,
|
|
119
94
|
...(obj.Configuration && { Configuration: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetLatestConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetLatestConfigurationCommand, serializeAws_restJson1GetLatestConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetLatestConfigurationCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class GetLatestConfigurationCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: GetLatestConfigurationResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { StartConfigurationSessionRequestFilterSensitiveLog, StartConfigurationSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1StartConfigurationSessionCommand, serializeAws_restJson1StartConfigurationSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class StartConfigurationSessionCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class StartConfigurationSessionCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -82,26 +82,6 @@ export class ThrottlingException extends __BaseException {
|
|
|
82
82
|
this.Message = opts.Message;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
export const InvalidParameterDetailFilterSensitiveLog = (obj) => ({
|
|
86
|
-
...obj,
|
|
87
|
-
});
|
|
88
|
-
export const BadRequestDetailsFilterSensitiveLog = (obj) => {
|
|
89
|
-
if (obj.InvalidParameters !== undefined)
|
|
90
|
-
return {
|
|
91
|
-
InvalidParameters: Object.entries(obj.InvalidParameters).reduce((acc, [key, value]) => ((acc[key] = InvalidParameterDetailFilterSensitiveLog(value)), acc), {}),
|
|
92
|
-
};
|
|
93
|
-
if (obj.$unknown !== undefined)
|
|
94
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
95
|
-
};
|
|
96
|
-
export const StartConfigurationSessionRequestFilterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
export const StartConfigurationSessionResponseFilterSensitiveLog = (obj) => ({
|
|
100
|
-
...obj,
|
|
101
|
-
});
|
|
102
|
-
export const GetLatestConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
85
|
export const GetLatestConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
106
86
|
...obj,
|
|
107
87
|
...(obj.Configuration && { Configuration: SENSITIVE_STRING }),
|
|
@@ -259,26 +259,6 @@ export interface GetLatestConfigurationResponse {
|
|
|
259
259
|
*/
|
|
260
260
|
VersionLabel?: string;
|
|
261
261
|
}
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
export declare const InvalidParameterDetailFilterSensitiveLog: (obj: InvalidParameterDetail) => any;
|
|
266
|
-
/**
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
export declare const BadRequestDetailsFilterSensitiveLog: (obj: BadRequestDetails) => any;
|
|
270
|
-
/**
|
|
271
|
-
* @internal
|
|
272
|
-
*/
|
|
273
|
-
export declare const StartConfigurationSessionRequestFilterSensitiveLog: (obj: StartConfigurationSessionRequest) => any;
|
|
274
|
-
/**
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
|
-
export declare const StartConfigurationSessionResponseFilterSensitiveLog: (obj: StartConfigurationSessionResponse) => any;
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
export declare const GetLatestConfigurationRequestFilterSensitiveLog: (obj: GetLatestConfigurationRequest) => any;
|
|
282
262
|
/**
|
|
283
263
|
* @internal
|
|
284
264
|
*/
|
|
@@ -91,21 +91,6 @@ export interface GetLatestConfigurationResponse {
|
|
|
91
91
|
Configuration?: Uint8Array;
|
|
92
92
|
VersionLabel?: string;
|
|
93
93
|
}
|
|
94
|
-
export declare const InvalidParameterDetailFilterSensitiveLog: (
|
|
95
|
-
obj: InvalidParameterDetail
|
|
96
|
-
) => any;
|
|
97
|
-
export declare const BadRequestDetailsFilterSensitiveLog: (
|
|
98
|
-
obj: BadRequestDetails
|
|
99
|
-
) => any;
|
|
100
|
-
export declare const StartConfigurationSessionRequestFilterSensitiveLog: (
|
|
101
|
-
obj: StartConfigurationSessionRequest
|
|
102
|
-
) => any;
|
|
103
|
-
export declare const StartConfigurationSessionResponseFilterSensitiveLog: (
|
|
104
|
-
obj: StartConfigurationSessionResponse
|
|
105
|
-
) => any;
|
|
106
|
-
export declare const GetLatestConfigurationRequestFilterSensitiveLog: (
|
|
107
|
-
obj: GetLatestConfigurationRequest
|
|
108
|
-
) => any;
|
|
109
94
|
export declare const GetLatestConfigurationResponseFilterSensitiveLog: (
|
|
110
95
|
obj: GetLatestConfigurationResponse
|
|
111
96
|
) => any;
|
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.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo appconfigdata"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
24
25
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|