@aws-sdk/client-wellarchitected 3.350.0 → 3.352.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/README.md +104 -0
- package/dist-cjs/WellArchitected.js +26 -0
- package/dist-cjs/commands/AssociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DisassociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/GetProfileCommand.js +46 -0
- package/dist-cjs/commands/GetProfileTemplateCommand.js +46 -0
- package/dist-cjs/commands/ListProfileNotificationsCommand.js +46 -0
- package/dist-cjs/commands/ListProfileSharesCommand.js +46 -0
- package/dist-cjs/commands/ListProfilesCommand.js +46 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +46 -0
- package/dist-cjs/commands/UpgradeProfileVersionCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +18 -1
- package/dist-cjs/pagination/ListProfileNotificationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfileSharesPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +991 -40
- package/dist-es/WellArchitected.js +26 -0
- package/dist-es/commands/AssociateProfilesCommand.js +42 -0
- package/dist-es/commands/CreateProfileCommand.js +42 -0
- package/dist-es/commands/CreateProfileShareCommand.js +42 -0
- package/dist-es/commands/DeleteProfileCommand.js +42 -0
- package/dist-es/commands/DeleteProfileShareCommand.js +42 -0
- package/dist-es/commands/DisassociateProfilesCommand.js +42 -0
- package/dist-es/commands/GetProfileCommand.js +42 -0
- package/dist-es/commands/GetProfileTemplateCommand.js +42 -0
- package/dist-es/commands/ListProfileNotificationsCommand.js +42 -0
- package/dist-es/commands/ListProfileSharesCommand.js +42 -0
- package/dist-es/commands/ListProfilesCommand.js +42 -0
- package/dist-es/commands/UpdateProfileCommand.js +42 -0
- package/dist-es/commands/UpgradeProfileVersionCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/pagination/ListProfileNotificationsPaginator.js +25 -0
- package/dist-es/pagination/ListProfileSharesPaginator.js +25 -0
- package/dist-es/pagination/ListProfilesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +960 -36
- package/dist-types/WellArchitected.d.ts +91 -0
- package/dist-types/WellArchitectedClient.d.ts +15 -2
- package/dist-types/commands/AssociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +105 -0
- package/dist-types/commands/CreateProfileShareCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +101 -0
- package/dist-types/commands/DeleteProfileShareCommand.d.ts +91 -0
- package/dist-types/commands/DisassociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/GetLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/GetMilestoneCommand.d.ts +9 -0
- package/dist-types/commands/GetProfileCommand.d.ts +120 -0
- package/dist-types/commands/GetProfileTemplateCommand.d.ts +106 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/ListAnswersCommand.d.ts +2 -0
- package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +1 -0
- package/dist-types/commands/ListLensReviewsCommand.d.ts +9 -0
- package/dist-types/commands/ListMilestonesCommand.d.ts +9 -0
- package/dist-types/commands/ListProfileNotificationsCommand.d.ts +98 -0
- package/dist-types/commands/ListProfileSharesCommand.d.ts +100 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +99 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkloadsCommand.d.ts +9 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +131 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +850 -90
- package/dist-types/pagination/ListProfileNotificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfileSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +221 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/AssociateProfilesCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateProfileShareCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteProfileShareCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DisassociateProfilesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProfileTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfileNotificationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListProfileSharesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -0
- package/dist-types/ts3.4/pagination/ListProfileNotificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfileSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +5 -5
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListProfileNotificationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListProfileNotificationsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListProfileNotificationsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WellArchitectedClient";
|
|
28
|
+
const commandName = "ListProfileNotificationsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ListProfileNotificationsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ListProfileNotificationsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListProfileNotificationsCommand = ListProfileNotificationsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListProfileSharesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListProfileSharesCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListProfileSharesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WellArchitectedClient";
|
|
28
|
+
const commandName = "ListProfileSharesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ListProfileSharesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ListProfileSharesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListProfileSharesCommand = ListProfileSharesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListProfilesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListProfilesCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListProfilesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WellArchitectedClient";
|
|
28
|
+
const commandName = "ListProfilesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ListProfilesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ListProfilesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListProfilesCommand = ListProfilesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateProfileCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateProfileCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateProfileCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WellArchitectedClient";
|
|
28
|
+
const commandName = "UpdateProfileCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_UpdateProfileCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_UpdateProfileCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateProfileCommand = UpdateProfileCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpgradeProfileVersionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpgradeProfileVersionCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpgradeProfileVersionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "WellArchitectedClient";
|
|
28
|
+
const commandName = "UpgradeProfileVersionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_UpgradeProfileVersionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_UpgradeProfileVersionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpgradeProfileVersionCommand = UpgradeProfileVersionCommand;
|
|
@@ -2,16 +2,22 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AssociateLensesCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AssociateProfilesCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateLensShareCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CreateLensVersionCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateMilestoneCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateProfileCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateProfileShareCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./CreateWorkloadCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./CreateWorkloadShareCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./DeleteLensCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./DeleteLensShareCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteProfileShareCommand"), exports);
|
|
12
17
|
tslib_1.__exportStar(require("./DeleteWorkloadCommand"), exports);
|
|
13
18
|
tslib_1.__exportStar(require("./DeleteWorkloadShareCommand"), exports);
|
|
14
19
|
tslib_1.__exportStar(require("./DisassociateLensesCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DisassociateProfilesCommand"), exports);
|
|
15
21
|
tslib_1.__exportStar(require("./ExportLensCommand"), exports);
|
|
16
22
|
tslib_1.__exportStar(require("./GetAnswerCommand"), exports);
|
|
17
23
|
tslib_1.__exportStar(require("./GetConsolidatedReportCommand"), exports);
|
|
@@ -20,6 +26,8 @@ tslib_1.__exportStar(require("./GetLensReviewCommand"), exports);
|
|
|
20
26
|
tslib_1.__exportStar(require("./GetLensReviewReportCommand"), exports);
|
|
21
27
|
tslib_1.__exportStar(require("./GetLensVersionDifferenceCommand"), exports);
|
|
22
28
|
tslib_1.__exportStar(require("./GetMilestoneCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./GetProfileCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./GetProfileTemplateCommand"), exports);
|
|
23
31
|
tslib_1.__exportStar(require("./GetWorkloadCommand"), exports);
|
|
24
32
|
tslib_1.__exportStar(require("./ImportLensCommand"), exports);
|
|
25
33
|
tslib_1.__exportStar(require("./ListAnswersCommand"), exports);
|
|
@@ -31,6 +39,9 @@ tslib_1.__exportStar(require("./ListLensSharesCommand"), exports);
|
|
|
31
39
|
tslib_1.__exportStar(require("./ListLensesCommand"), exports);
|
|
32
40
|
tslib_1.__exportStar(require("./ListMilestonesCommand"), exports);
|
|
33
41
|
tslib_1.__exportStar(require("./ListNotificationsCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./ListProfileNotificationsCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./ListProfileSharesCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./ListProfilesCommand"), exports);
|
|
34
45
|
tslib_1.__exportStar(require("./ListShareInvitationsCommand"), exports);
|
|
35
46
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
36
47
|
tslib_1.__exportStar(require("./ListWorkloadSharesCommand"), exports);
|
|
@@ -40,7 +51,9 @@ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
|
40
51
|
tslib_1.__exportStar(require("./UpdateAnswerCommand"), exports);
|
|
41
52
|
tslib_1.__exportStar(require("./UpdateGlobalSettingsCommand"), exports);
|
|
42
53
|
tslib_1.__exportStar(require("./UpdateLensReviewCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./UpdateProfileCommand"), exports);
|
|
43
55
|
tslib_1.__exportStar(require("./UpdateShareInvitationCommand"), exports);
|
|
44
56
|
tslib_1.__exportStar(require("./UpdateWorkloadCommand"), exports);
|
|
45
57
|
tslib_1.__exportStar(require("./UpdateWorkloadShareCommand"), exports);
|
|
46
58
|
tslib_1.__exportStar(require("./UpgradeLensReviewCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./UpgradeProfileVersionCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShareInvitationAction = exports.OrganizationSharingStatus = exports.ShareResourceType = exports.NotificationType = exports.LensType = exports.ShareStatus = exports.ImportLensStatus = exports.WorkloadImprovementStatus = exports.LensStatus = exports.ReportFormat = exports.DiscoveryIntegrationStatus = exports.DifferenceStatus = exports.LensStatusType = exports.PermissionType = exports.WorkloadEnvironment = exports.DefinitionType = exports.TrustedAdvisorIntegrationStatus = exports.ServiceQuotaExceededException = exports.MetricType = exports.CheckFailureReason = exports.CheckProvider = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.Risk = exports.AnswerReason = exports.ChoiceStatus = exports.ChoiceReason = exports.AdditionalResourceType = exports.CheckStatus = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.ShareInvitationAction = exports.OrganizationSharingStatus = exports.ShareResourceType = exports.ProfileOwnerType = exports.ProfileNotificationType = exports.NotificationType = exports.QuestionPriority = exports.LensType = exports.ShareStatus = exports.ImportLensStatus = exports.WorkloadImprovementStatus = exports.LensStatus = exports.ReportFormat = exports.DiscoveryIntegrationStatus = exports.DifferenceStatus = exports.LensStatusType = exports.PermissionType = exports.WorkloadEnvironment = exports.DefinitionType = exports.TrustedAdvisorIntegrationStatus = exports.ServiceQuotaExceededException = exports.MetricType = exports.CheckFailureReason = exports.CheckProvider = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.QuestionType = exports.Risk = exports.AnswerReason = exports.ChoiceStatus = exports.ChoiceReason = exports.AdditionalResourceType = exports.CheckStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
const WellArchitectedServiceException_1 = require("./WellArchitectedServiceException");
|
|
5
5
|
class AccessDeniedException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -53,6 +53,10 @@ exports.Risk = {
|
|
|
53
53
|
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
54
54
|
UNANSWERED: "UNANSWERED",
|
|
55
55
|
};
|
|
56
|
+
exports.QuestionType = {
|
|
57
|
+
NON_PRIORITIZED: "NON_PRIORITIZED",
|
|
58
|
+
PRIORITIZED: "PRIORITIZED",
|
|
59
|
+
};
|
|
56
60
|
class ConflictException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
57
61
|
constructor(opts) {
|
|
58
62
|
super({
|
|
@@ -235,12 +239,25 @@ exports.LensType = {
|
|
|
235
239
|
CUSTOM_SELF: "CUSTOM_SELF",
|
|
236
240
|
CUSTOM_SHARED: "CUSTOM_SHARED",
|
|
237
241
|
};
|
|
242
|
+
exports.QuestionPriority = {
|
|
243
|
+
NONE: "NONE",
|
|
244
|
+
PRIORITIZED: "PRIORITIZED",
|
|
245
|
+
};
|
|
238
246
|
exports.NotificationType = {
|
|
239
247
|
LENS_VERSION_DEPRECATED: "LENS_VERSION_DEPRECATED",
|
|
240
248
|
LENS_VERSION_UPGRADED: "LENS_VERSION_UPGRADED",
|
|
241
249
|
};
|
|
250
|
+
exports.ProfileNotificationType = {
|
|
251
|
+
PROFILE_ANSWERS_UPDATED: "PROFILE_ANSWERS_UPDATED",
|
|
252
|
+
PROFILE_DELETED: "PROFILE_DELETED",
|
|
253
|
+
};
|
|
254
|
+
exports.ProfileOwnerType = {
|
|
255
|
+
SELF: "SELF",
|
|
256
|
+
SHARED: "SHARED",
|
|
257
|
+
};
|
|
242
258
|
exports.ShareResourceType = {
|
|
243
259
|
LENS: "LENS",
|
|
260
|
+
PROFILE: "PROFILE",
|
|
244
261
|
WORKLOAD: "WORKLOAD",
|
|
245
262
|
};
|
|
246
263
|
exports.OrganizationSharingStatus = {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListProfileNotifications = void 0;
|
|
4
|
+
const ListProfileNotificationsCommand_1 = require("../commands/ListProfileNotificationsCommand");
|
|
5
|
+
const WellArchitectedClient_1 = require("../WellArchitectedClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListProfileNotificationsCommand_1.ListProfileNotificationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListProfileNotifications(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof WellArchitectedClient_1.WellArchitectedClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListProfileNotifications = paginateListProfileNotifications;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListProfileShares = void 0;
|
|
4
|
+
const ListProfileSharesCommand_1 = require("../commands/ListProfileSharesCommand");
|
|
5
|
+
const WellArchitectedClient_1 = require("../WellArchitectedClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListProfileSharesCommand_1.ListProfileSharesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListProfileShares(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof WellArchitectedClient_1.WellArchitectedClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListProfileShares = paginateListProfileShares;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListProfiles = void 0;
|
|
4
|
+
const ListProfilesCommand_1 = require("../commands/ListProfilesCommand");
|
|
5
|
+
const WellArchitectedClient_1 = require("../WellArchitectedClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListProfilesCommand_1.ListProfilesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListProfiles(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof WellArchitectedClient_1.WellArchitectedClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected WellArchitected | WellArchitectedClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListProfiles = paginateListProfiles;
|
|
@@ -12,6 +12,9 @@ tslib_1.__exportStar(require("./ListLensSharesPaginator"), exports);
|
|
|
12
12
|
tslib_1.__exportStar(require("./ListLensesPaginator"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./ListMilestonesPaginator"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./ListNotificationsPaginator"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListProfileNotificationsPaginator"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListProfileSharesPaginator"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListProfilesPaginator"), exports);
|
|
15
18
|
tslib_1.__exportStar(require("./ListShareInvitationsPaginator"), exports);
|
|
16
19
|
tslib_1.__exportStar(require("./ListWorkloadSharesPaginator"), exports);
|
|
17
20
|
tslib_1.__exportStar(require("./ListWorkloadsPaginator"), exports);
|