@aws-sdk/client-wellarchitected 3.348.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 +6 -6
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { AssociateLensesCommand, } from "./commands/AssociateLensesCommand";
|
|
3
|
+
import { AssociateProfilesCommand, } from "./commands/AssociateProfilesCommand";
|
|
3
4
|
import { CreateLensShareCommand, } from "./commands/CreateLensShareCommand";
|
|
4
5
|
import { CreateLensVersionCommand, } from "./commands/CreateLensVersionCommand";
|
|
5
6
|
import { CreateMilestoneCommand, } from "./commands/CreateMilestoneCommand";
|
|
7
|
+
import { CreateProfileCommand, } from "./commands/CreateProfileCommand";
|
|
8
|
+
import { CreateProfileShareCommand, } from "./commands/CreateProfileShareCommand";
|
|
6
9
|
import { CreateWorkloadCommand, } from "./commands/CreateWorkloadCommand";
|
|
7
10
|
import { CreateWorkloadShareCommand, } from "./commands/CreateWorkloadShareCommand";
|
|
8
11
|
import { DeleteLensCommand } from "./commands/DeleteLensCommand";
|
|
9
12
|
import { DeleteLensShareCommand, } from "./commands/DeleteLensShareCommand";
|
|
13
|
+
import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
|
|
14
|
+
import { DeleteProfileShareCommand, } from "./commands/DeleteProfileShareCommand";
|
|
10
15
|
import { DeleteWorkloadCommand, } from "./commands/DeleteWorkloadCommand";
|
|
11
16
|
import { DeleteWorkloadShareCommand, } from "./commands/DeleteWorkloadShareCommand";
|
|
12
17
|
import { DisassociateLensesCommand, } from "./commands/DisassociateLensesCommand";
|
|
18
|
+
import { DisassociateProfilesCommand, } from "./commands/DisassociateProfilesCommand";
|
|
13
19
|
import { ExportLensCommand } from "./commands/ExportLensCommand";
|
|
14
20
|
import { GetAnswerCommand } from "./commands/GetAnswerCommand";
|
|
15
21
|
import { GetConsolidatedReportCommand, } from "./commands/GetConsolidatedReportCommand";
|
|
@@ -18,6 +24,8 @@ import { GetLensReviewCommand, } from "./commands/GetLensReviewCommand";
|
|
|
18
24
|
import { GetLensReviewReportCommand, } from "./commands/GetLensReviewReportCommand";
|
|
19
25
|
import { GetLensVersionDifferenceCommand, } from "./commands/GetLensVersionDifferenceCommand";
|
|
20
26
|
import { GetMilestoneCommand, } from "./commands/GetMilestoneCommand";
|
|
27
|
+
import { GetProfileCommand } from "./commands/GetProfileCommand";
|
|
28
|
+
import { GetProfileTemplateCommand, } from "./commands/GetProfileTemplateCommand";
|
|
21
29
|
import { GetWorkloadCommand } from "./commands/GetWorkloadCommand";
|
|
22
30
|
import { ImportLensCommand } from "./commands/ImportLensCommand";
|
|
23
31
|
import { ListAnswersCommand } from "./commands/ListAnswersCommand";
|
|
@@ -29,6 +37,9 @@ import { ListLensReviewsCommand, } from "./commands/ListLensReviewsCommand";
|
|
|
29
37
|
import { ListLensSharesCommand, } from "./commands/ListLensSharesCommand";
|
|
30
38
|
import { ListMilestonesCommand, } from "./commands/ListMilestonesCommand";
|
|
31
39
|
import { ListNotificationsCommand, } from "./commands/ListNotificationsCommand";
|
|
40
|
+
import { ListProfileNotificationsCommand, } from "./commands/ListProfileNotificationsCommand";
|
|
41
|
+
import { ListProfilesCommand, } from "./commands/ListProfilesCommand";
|
|
42
|
+
import { ListProfileSharesCommand, } from "./commands/ListProfileSharesCommand";
|
|
32
43
|
import { ListShareInvitationsCommand, } from "./commands/ListShareInvitationsCommand";
|
|
33
44
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
34
45
|
import { ListWorkloadsCommand, } from "./commands/ListWorkloadsCommand";
|
|
@@ -38,23 +49,31 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
38
49
|
import { UpdateAnswerCommand, } from "./commands/UpdateAnswerCommand";
|
|
39
50
|
import { UpdateGlobalSettingsCommand, } from "./commands/UpdateGlobalSettingsCommand";
|
|
40
51
|
import { UpdateLensReviewCommand, } from "./commands/UpdateLensReviewCommand";
|
|
52
|
+
import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
|
|
41
53
|
import { UpdateShareInvitationCommand, } from "./commands/UpdateShareInvitationCommand";
|
|
42
54
|
import { UpdateWorkloadCommand, } from "./commands/UpdateWorkloadCommand";
|
|
43
55
|
import { UpdateWorkloadShareCommand, } from "./commands/UpdateWorkloadShareCommand";
|
|
44
56
|
import { UpgradeLensReviewCommand, } from "./commands/UpgradeLensReviewCommand";
|
|
57
|
+
import { UpgradeProfileVersionCommand, } from "./commands/UpgradeProfileVersionCommand";
|
|
45
58
|
import { WellArchitectedClient } from "./WellArchitectedClient";
|
|
46
59
|
const commands = {
|
|
47
60
|
AssociateLensesCommand,
|
|
61
|
+
AssociateProfilesCommand,
|
|
48
62
|
CreateLensShareCommand,
|
|
49
63
|
CreateLensVersionCommand,
|
|
50
64
|
CreateMilestoneCommand,
|
|
65
|
+
CreateProfileCommand,
|
|
66
|
+
CreateProfileShareCommand,
|
|
51
67
|
CreateWorkloadCommand,
|
|
52
68
|
CreateWorkloadShareCommand,
|
|
53
69
|
DeleteLensCommand,
|
|
54
70
|
DeleteLensShareCommand,
|
|
71
|
+
DeleteProfileCommand,
|
|
72
|
+
DeleteProfileShareCommand,
|
|
55
73
|
DeleteWorkloadCommand,
|
|
56
74
|
DeleteWorkloadShareCommand,
|
|
57
75
|
DisassociateLensesCommand,
|
|
76
|
+
DisassociateProfilesCommand,
|
|
58
77
|
ExportLensCommand,
|
|
59
78
|
GetAnswerCommand,
|
|
60
79
|
GetConsolidatedReportCommand,
|
|
@@ -63,6 +82,8 @@ const commands = {
|
|
|
63
82
|
GetLensReviewReportCommand,
|
|
64
83
|
GetLensVersionDifferenceCommand,
|
|
65
84
|
GetMilestoneCommand,
|
|
85
|
+
GetProfileCommand,
|
|
86
|
+
GetProfileTemplateCommand,
|
|
66
87
|
GetWorkloadCommand,
|
|
67
88
|
ImportLensCommand,
|
|
68
89
|
ListAnswersCommand,
|
|
@@ -74,6 +95,9 @@ const commands = {
|
|
|
74
95
|
ListLensSharesCommand,
|
|
75
96
|
ListMilestonesCommand,
|
|
76
97
|
ListNotificationsCommand,
|
|
98
|
+
ListProfileNotificationsCommand,
|
|
99
|
+
ListProfilesCommand,
|
|
100
|
+
ListProfileSharesCommand,
|
|
77
101
|
ListShareInvitationsCommand,
|
|
78
102
|
ListTagsForResourceCommand,
|
|
79
103
|
ListWorkloadsCommand,
|
|
@@ -83,10 +107,12 @@ const commands = {
|
|
|
83
107
|
UpdateAnswerCommand,
|
|
84
108
|
UpdateGlobalSettingsCommand,
|
|
85
109
|
UpdateLensReviewCommand,
|
|
110
|
+
UpdateProfileCommand,
|
|
86
111
|
UpdateShareInvitationCommand,
|
|
87
112
|
UpdateWorkloadCommand,
|
|
88
113
|
UpdateWorkloadShareCommand,
|
|
89
114
|
UpgradeLensReviewCommand,
|
|
115
|
+
UpgradeProfileVersionCommand,
|
|
90
116
|
};
|
|
91
117
|
export class WellArchitected extends WellArchitectedClient {
|
|
92
118
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_AssociateProfilesCommand, se_AssociateProfilesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class AssociateProfilesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateProfilesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "AssociateProfilesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_AssociateProfilesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_AssociateProfilesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateProfileCommand, se_CreateProfileCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateProfileCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateProfileCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "CreateProfileCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateProfileCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateProfileCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateProfileShareCommand, se_CreateProfileShareCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateProfileShareCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateProfileShareCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "CreateProfileShareCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateProfileShareCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateProfileShareCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteProfileCommand, se_DeleteProfileCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteProfileCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteProfileCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "DeleteProfileCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteProfileCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteProfileCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteProfileShareCommand, se_DeleteProfileShareCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteProfileShareCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteProfileShareCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "DeleteProfileShareCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteProfileShareCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteProfileShareCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DisassociateProfilesCommand, se_DisassociateProfilesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DisassociateProfilesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateProfilesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "DisassociateProfilesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DisassociateProfilesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DisassociateProfilesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_GetProfileCommand, se_GetProfileCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetProfileCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetProfileCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "GetProfileCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_GetProfileCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_GetProfileCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_GetProfileTemplateCommand, se_GetProfileTemplateCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetProfileTemplateCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetProfileTemplateCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "GetProfileTemplateCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_GetProfileTemplateCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_GetProfileTemplateCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListProfileNotificationsCommand, se_ListProfileNotificationsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListProfileNotificationsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListProfileNotificationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "ListProfileNotificationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListProfileNotificationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListProfileNotificationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListProfileSharesCommand, se_ListProfileSharesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListProfileSharesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListProfileSharesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "ListProfileSharesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListProfileSharesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListProfileSharesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListProfilesCommand, se_ListProfilesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListProfilesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListProfilesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "ListProfilesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListProfilesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListProfilesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_UpdateProfileCommand, se_UpdateProfileCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateProfileCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProfileCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "UpdateProfileCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UpdateProfileCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UpdateProfileCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_UpgradeProfileVersionCommand, se_UpgradeProfileVersionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpgradeProfileVersionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpgradeProfileVersionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "WellArchitectedClient";
|
|
25
|
+
const commandName = "UpgradeProfileVersionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UpgradeProfileVersionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UpgradeProfileVersionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|