@aws-sdk/client-wellarchitected 3.554.0 → 3.563.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 +16 -0
- package/dist-cjs/index.js +207 -9
- package/dist-es/WellArchitected.js +4 -0
- package/dist-es/commands/GetGlobalSettingsCommand.js +24 -0
- package/dist-es/commands/UpdateIntegrationCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +27 -4
- package/dist-es/protocols/Aws_restJson1.js +129 -4
- package/dist-types/WellArchitected.d.ts +15 -0
- package/dist-types/WellArchitectedClient.d.ts +4 -2
- package/dist-types/commands/CreateWorkloadCommand.d.ts +5 -0
- package/dist-types/commands/GetAnswerCommand.d.ts +4 -0
- package/dist-types/commands/GetGlobalSettingsCommand.d.ts +78 -0
- package/dist-types/commands/GetLensReviewCommand.d.ts +10 -0
- package/dist-types/commands/GetMilestoneCommand.d.ts +6 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +6 -0
- package/dist-types/commands/ListAnswersCommand.d.ts +4 -0
- package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +5 -1
- package/dist-types/commands/UpdateAnswerCommand.d.ts +4 -0
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +7 -1
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +77 -0
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +20 -0
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +11 -0
- package/dist-types/commands/UpgradeLensReviewCommand.d.ts +3 -0
- package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +330 -12
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +35 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetGlobalSettingsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +96 -6
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -161,6 +161,7 @@ export const se_CreateWorkloadCommand = async (input, context) => {
|
|
|
161
161
|
Environment: [],
|
|
162
162
|
Industry: [],
|
|
163
163
|
IndustryType: [],
|
|
164
|
+
JiraConfiguration: (_) => _json(_),
|
|
164
165
|
Lenses: (_) => _json(_),
|
|
165
166
|
NonAwsRegions: (_) => _json(_),
|
|
166
167
|
Notes: [],
|
|
@@ -359,6 +360,17 @@ export const se_GetConsolidatedReportCommand = async (input, context) => {
|
|
|
359
360
|
b.m("GET").h(headers).q(query).b(body);
|
|
360
361
|
return b.build();
|
|
361
362
|
};
|
|
363
|
+
export const se_GetGlobalSettingsCommand = async (input, context) => {
|
|
364
|
+
const b = rb(input, context);
|
|
365
|
+
const headers = {
|
|
366
|
+
"content-type": "application/json",
|
|
367
|
+
};
|
|
368
|
+
b.bp("/global-settings");
|
|
369
|
+
let body;
|
|
370
|
+
body = "";
|
|
371
|
+
b.m("GET").h(headers).b(body);
|
|
372
|
+
return b.build();
|
|
373
|
+
};
|
|
362
374
|
export const se_GetLensCommand = async (input, context) => {
|
|
363
375
|
const b = rb(input, context);
|
|
364
376
|
const headers = {};
|
|
@@ -843,11 +855,27 @@ export const se_UpdateGlobalSettingsCommand = async (input, context) => {
|
|
|
843
855
|
let body;
|
|
844
856
|
body = JSON.stringify(take(input, {
|
|
845
857
|
DiscoveryIntegrationStatus: [],
|
|
858
|
+
JiraConfiguration: (_) => _json(_),
|
|
846
859
|
OrganizationSharingStatus: [],
|
|
847
860
|
}));
|
|
848
861
|
b.m("PATCH").h(headers).b(body);
|
|
849
862
|
return b.build();
|
|
850
863
|
};
|
|
864
|
+
export const se_UpdateIntegrationCommand = async (input, context) => {
|
|
865
|
+
const b = rb(input, context);
|
|
866
|
+
const headers = {
|
|
867
|
+
"content-type": "application/json",
|
|
868
|
+
};
|
|
869
|
+
b.bp("/workloads/{WorkloadId}/updateIntegration");
|
|
870
|
+
b.p("WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
|
|
871
|
+
let body;
|
|
872
|
+
body = JSON.stringify(take(input, {
|
|
873
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
874
|
+
IntegratingService: [],
|
|
875
|
+
}));
|
|
876
|
+
b.m("POST").h(headers).b(body);
|
|
877
|
+
return b.build();
|
|
878
|
+
};
|
|
851
879
|
export const se_UpdateLensReviewCommand = async (input, context) => {
|
|
852
880
|
const b = rb(input, context);
|
|
853
881
|
const headers = {
|
|
@@ -858,6 +886,7 @@ export const se_UpdateLensReviewCommand = async (input, context) => {
|
|
|
858
886
|
b.p("LensAlias", () => input.LensAlias, "{LensAlias}", false);
|
|
859
887
|
let body;
|
|
860
888
|
body = JSON.stringify(take(input, {
|
|
889
|
+
JiraConfiguration: (_) => _json(_),
|
|
861
890
|
LensNotes: [],
|
|
862
891
|
PillarNotes: (_) => _json(_),
|
|
863
892
|
}));
|
|
@@ -967,6 +996,7 @@ export const se_UpdateWorkloadCommand = async (input, context) => {
|
|
|
967
996
|
Industry: [],
|
|
968
997
|
IndustryType: [],
|
|
969
998
|
IsReviewOwnerUpdateAcknowledged: [],
|
|
999
|
+
JiraConfiguration: (_) => _json(_),
|
|
970
1000
|
NonAwsRegions: (_) => _json(_),
|
|
971
1001
|
Notes: [],
|
|
972
1002
|
PillarPriorities: (_) => _json(_),
|
|
@@ -1314,7 +1344,7 @@ export const de_GetAnswerCommand = async (output, context) => {
|
|
|
1314
1344
|
});
|
|
1315
1345
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1316
1346
|
const doc = take(data, {
|
|
1317
|
-
Answer:
|
|
1347
|
+
Answer: (_) => de_Answer(_, context),
|
|
1318
1348
|
LensAlias: __expectString,
|
|
1319
1349
|
LensArn: __expectString,
|
|
1320
1350
|
MilestoneNumber: __expectInt32,
|
|
@@ -1339,6 +1369,22 @@ export const de_GetConsolidatedReportCommand = async (output, context) => {
|
|
|
1339
1369
|
Object.assign(contents, doc);
|
|
1340
1370
|
return contents;
|
|
1341
1371
|
};
|
|
1372
|
+
export const de_GetGlobalSettingsCommand = async (output, context) => {
|
|
1373
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1374
|
+
return de_CommandError(output, context);
|
|
1375
|
+
}
|
|
1376
|
+
const contents = map({
|
|
1377
|
+
$metadata: deserializeMetadata(output),
|
|
1378
|
+
});
|
|
1379
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1380
|
+
const doc = take(data, {
|
|
1381
|
+
DiscoveryIntegrationStatus: __expectString,
|
|
1382
|
+
JiraConfiguration: _json,
|
|
1383
|
+
OrganizationSharingStatus: __expectString,
|
|
1384
|
+
});
|
|
1385
|
+
Object.assign(contents, doc);
|
|
1386
|
+
return contents;
|
|
1387
|
+
};
|
|
1342
1388
|
export const de_GetLensCommand = async (output, context) => {
|
|
1343
1389
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1344
1390
|
return de_CommandError(output, context);
|
|
@@ -1530,7 +1576,7 @@ export const de_ListAnswersCommand = async (output, context) => {
|
|
|
1530
1576
|
});
|
|
1531
1577
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1532
1578
|
const doc = take(data, {
|
|
1533
|
-
AnswerSummaries:
|
|
1579
|
+
AnswerSummaries: (_) => de_AnswerSummaries(_, context),
|
|
1534
1580
|
LensAlias: __expectString,
|
|
1535
1581
|
LensArn: __expectString,
|
|
1536
1582
|
MilestoneNumber: __expectInt32,
|
|
@@ -1594,7 +1640,7 @@ export const de_ListLensReviewImprovementsCommand = async (output, context) => {
|
|
|
1594
1640
|
});
|
|
1595
1641
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1596
1642
|
const doc = take(data, {
|
|
1597
|
-
ImprovementSummaries:
|
|
1643
|
+
ImprovementSummaries: (_) => de_ImprovementSummaries(_, context),
|
|
1598
1644
|
LensAlias: __expectString,
|
|
1599
1645
|
LensArn: __expectString,
|
|
1600
1646
|
MilestoneNumber: __expectInt32,
|
|
@@ -1849,7 +1895,7 @@ export const de_UpdateAnswerCommand = async (output, context) => {
|
|
|
1849
1895
|
});
|
|
1850
1896
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1851
1897
|
const doc = take(data, {
|
|
1852
|
-
Answer:
|
|
1898
|
+
Answer: (_) => de_Answer(_, context),
|
|
1853
1899
|
LensAlias: __expectString,
|
|
1854
1900
|
LensArn: __expectString,
|
|
1855
1901
|
WorkloadId: __expectString,
|
|
@@ -1867,6 +1913,16 @@ export const de_UpdateGlobalSettingsCommand = async (output, context) => {
|
|
|
1867
1913
|
await collectBody(output.body, context);
|
|
1868
1914
|
return contents;
|
|
1869
1915
|
};
|
|
1916
|
+
export const de_UpdateIntegrationCommand = async (output, context) => {
|
|
1917
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1918
|
+
return de_CommandError(output, context);
|
|
1919
|
+
}
|
|
1920
|
+
const contents = map({
|
|
1921
|
+
$metadata: deserializeMetadata(output),
|
|
1922
|
+
});
|
|
1923
|
+
await collectBody(output.body, context);
|
|
1924
|
+
return contents;
|
|
1925
|
+
};
|
|
1870
1926
|
export const de_UpdateLensReviewCommand = async (output, context) => {
|
|
1871
1927
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1872
1928
|
return de_CommandError(output, context);
|
|
@@ -2155,6 +2211,48 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
2155
2211
|
});
|
|
2156
2212
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2157
2213
|
};
|
|
2214
|
+
const de_Answer = (output, context) => {
|
|
2215
|
+
return take(output, {
|
|
2216
|
+
ChoiceAnswers: _json,
|
|
2217
|
+
Choices: _json,
|
|
2218
|
+
HelpfulResourceDisplayText: __expectString,
|
|
2219
|
+
HelpfulResourceUrl: __expectString,
|
|
2220
|
+
ImprovementPlanUrl: __expectString,
|
|
2221
|
+
IsApplicable: __expectBoolean,
|
|
2222
|
+
JiraConfiguration: (_) => de_JiraConfiguration(_, context),
|
|
2223
|
+
Notes: __expectString,
|
|
2224
|
+
PillarId: __expectString,
|
|
2225
|
+
QuestionDescription: __expectString,
|
|
2226
|
+
QuestionId: __expectString,
|
|
2227
|
+
QuestionTitle: __expectString,
|
|
2228
|
+
Reason: __expectString,
|
|
2229
|
+
Risk: __expectString,
|
|
2230
|
+
SelectedChoices: _json,
|
|
2231
|
+
});
|
|
2232
|
+
};
|
|
2233
|
+
const de_AnswerSummaries = (output, context) => {
|
|
2234
|
+
const retVal = (output || [])
|
|
2235
|
+
.filter((e) => e != null)
|
|
2236
|
+
.map((entry) => {
|
|
2237
|
+
return de_AnswerSummary(entry, context);
|
|
2238
|
+
});
|
|
2239
|
+
return retVal;
|
|
2240
|
+
};
|
|
2241
|
+
const de_AnswerSummary = (output, context) => {
|
|
2242
|
+
return take(output, {
|
|
2243
|
+
ChoiceAnswerSummaries: _json,
|
|
2244
|
+
Choices: _json,
|
|
2245
|
+
IsApplicable: __expectBoolean,
|
|
2246
|
+
JiraConfiguration: (_) => de_JiraConfiguration(_, context),
|
|
2247
|
+
PillarId: __expectString,
|
|
2248
|
+
QuestionId: __expectString,
|
|
2249
|
+
QuestionTitle: __expectString,
|
|
2250
|
+
QuestionType: __expectString,
|
|
2251
|
+
Reason: __expectString,
|
|
2252
|
+
Risk: __expectString,
|
|
2253
|
+
SelectedChoices: _json,
|
|
2254
|
+
});
|
|
2255
|
+
};
|
|
2158
2256
|
const de_CheckDetail = (output, context) => {
|
|
2159
2257
|
return take(output, {
|
|
2160
2258
|
AccountId: __expectString,
|
|
@@ -2223,8 +2321,34 @@ const de_ConsolidatedReportMetrics = (output, context) => {
|
|
|
2223
2321
|
});
|
|
2224
2322
|
return retVal;
|
|
2225
2323
|
};
|
|
2324
|
+
const de_ImprovementSummaries = (output, context) => {
|
|
2325
|
+
const retVal = (output || [])
|
|
2326
|
+
.filter((e) => e != null)
|
|
2327
|
+
.map((entry) => {
|
|
2328
|
+
return de_ImprovementSummary(entry, context);
|
|
2329
|
+
});
|
|
2330
|
+
return retVal;
|
|
2331
|
+
};
|
|
2332
|
+
const de_ImprovementSummary = (output, context) => {
|
|
2333
|
+
return take(output, {
|
|
2334
|
+
ImprovementPlanUrl: __expectString,
|
|
2335
|
+
ImprovementPlans: _json,
|
|
2336
|
+
JiraConfiguration: (_) => de_JiraConfiguration(_, context),
|
|
2337
|
+
PillarId: __expectString,
|
|
2338
|
+
QuestionId: __expectString,
|
|
2339
|
+
QuestionTitle: __expectString,
|
|
2340
|
+
Risk: __expectString,
|
|
2341
|
+
});
|
|
2342
|
+
};
|
|
2343
|
+
const de_JiraConfiguration = (output, context) => {
|
|
2344
|
+
return take(output, {
|
|
2345
|
+
JiraIssueUrl: __expectString,
|
|
2346
|
+
LastSyncedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2347
|
+
});
|
|
2348
|
+
};
|
|
2226
2349
|
const de_LensReview = (output, context) => {
|
|
2227
2350
|
return take(output, {
|
|
2351
|
+
JiraConfiguration: _json,
|
|
2228
2352
|
LensAlias: __expectString,
|
|
2229
2353
|
LensArn: __expectString,
|
|
2230
2354
|
LensName: __expectString,
|
|
@@ -2408,6 +2532,7 @@ const de_Workload = (output, context) => {
|
|
|
2408
2532
|
Industry: __expectString,
|
|
2409
2533
|
IndustryType: __expectString,
|
|
2410
2534
|
IsReviewOwnerUpdateAcknowledged: __expectBoolean,
|
|
2535
|
+
JiraConfiguration: _json,
|
|
2411
2536
|
Lenses: _json,
|
|
2412
2537
|
NonAwsRegions: _json,
|
|
2413
2538
|
Notes: __expectString,
|
|
@@ -23,6 +23,7 @@ import { DisassociateProfilesCommandInput, DisassociateProfilesCommandOutput } f
|
|
|
23
23
|
import { ExportLensCommandInput, ExportLensCommandOutput } from "./commands/ExportLensCommand";
|
|
24
24
|
import { GetAnswerCommandInput, GetAnswerCommandOutput } from "./commands/GetAnswerCommand";
|
|
25
25
|
import { GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput } from "./commands/GetConsolidatedReportCommand";
|
|
26
|
+
import { GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput } from "./commands/GetGlobalSettingsCommand";
|
|
26
27
|
import { GetLensCommandInput, GetLensCommandOutput } from "./commands/GetLensCommand";
|
|
27
28
|
import { GetLensReviewCommandInput, GetLensReviewCommandOutput } from "./commands/GetLensReviewCommand";
|
|
28
29
|
import { GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput } from "./commands/GetLensReviewReportCommand";
|
|
@@ -58,6 +59,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
58
59
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
59
60
|
import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
|
|
60
61
|
import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
|
|
62
|
+
import { UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput } from "./commands/UpdateIntegrationCommand";
|
|
61
63
|
import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
|
|
62
64
|
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
63
65
|
import { UpdateReviewTemplateAnswerCommandInput, UpdateReviewTemplateAnswerCommandOutput } from "./commands/UpdateReviewTemplateAnswerCommand";
|
|
@@ -215,6 +217,13 @@ export interface WellArchitected {
|
|
|
215
217
|
getConsolidatedReport(args: GetConsolidatedReportCommandInput, options?: __HttpHandlerOptions): Promise<GetConsolidatedReportCommandOutput>;
|
|
216
218
|
getConsolidatedReport(args: GetConsolidatedReportCommandInput, cb: (err: any, data?: GetConsolidatedReportCommandOutput) => void): void;
|
|
217
219
|
getConsolidatedReport(args: GetConsolidatedReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConsolidatedReportCommandOutput) => void): void;
|
|
220
|
+
/**
|
|
221
|
+
* @see {@link GetGlobalSettingsCommand}
|
|
222
|
+
*/
|
|
223
|
+
getGlobalSettings(): Promise<GetGlobalSettingsCommandOutput>;
|
|
224
|
+
getGlobalSettings(args: GetGlobalSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetGlobalSettingsCommandOutput>;
|
|
225
|
+
getGlobalSettings(args: GetGlobalSettingsCommandInput, cb: (err: any, data?: GetGlobalSettingsCommandOutput) => void): void;
|
|
226
|
+
getGlobalSettings(args: GetGlobalSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGlobalSettingsCommandOutput) => void): void;
|
|
218
227
|
/**
|
|
219
228
|
* @see {@link GetLensCommand}
|
|
220
229
|
*/
|
|
@@ -434,6 +443,12 @@ export interface WellArchitected {
|
|
|
434
443
|
updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGlobalSettingsCommandOutput>;
|
|
435
444
|
updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
|
|
436
445
|
updateGlobalSettings(args: UpdateGlobalSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGlobalSettingsCommandOutput) => void): void;
|
|
446
|
+
/**
|
|
447
|
+
* @see {@link UpdateIntegrationCommand}
|
|
448
|
+
*/
|
|
449
|
+
updateIntegration(args: UpdateIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIntegrationCommandOutput>;
|
|
450
|
+
updateIntegration(args: UpdateIntegrationCommandInput, cb: (err: any, data?: UpdateIntegrationCommandOutput) => void): void;
|
|
451
|
+
updateIntegration(args: UpdateIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIntegrationCommandOutput) => void): void;
|
|
437
452
|
/**
|
|
438
453
|
* @see {@link UpdateLensReviewCommand}
|
|
439
454
|
*/
|
|
@@ -31,6 +31,7 @@ import { DisassociateProfilesCommandInput, DisassociateProfilesCommandOutput } f
|
|
|
31
31
|
import { ExportLensCommandInput, ExportLensCommandOutput } from "./commands/ExportLensCommand";
|
|
32
32
|
import { GetAnswerCommandInput, GetAnswerCommandOutput } from "./commands/GetAnswerCommand";
|
|
33
33
|
import { GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput } from "./commands/GetConsolidatedReportCommand";
|
|
34
|
+
import { GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput } from "./commands/GetGlobalSettingsCommand";
|
|
34
35
|
import { GetLensCommandInput, GetLensCommandOutput } from "./commands/GetLensCommand";
|
|
35
36
|
import { GetLensReviewCommandInput, GetLensReviewCommandOutput } from "./commands/GetLensReviewCommand";
|
|
36
37
|
import { GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput } from "./commands/GetLensReviewReportCommand";
|
|
@@ -66,6 +67,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
66
67
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
67
68
|
import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
|
|
68
69
|
import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
|
|
70
|
+
import { UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput } from "./commands/UpdateIntegrationCommand";
|
|
69
71
|
import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
|
|
70
72
|
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
71
73
|
import { UpdateReviewTemplateAnswerCommandInput, UpdateReviewTemplateAnswerCommandOutput } from "./commands/UpdateReviewTemplateAnswerCommand";
|
|
@@ -83,11 +85,11 @@ export { __Client };
|
|
|
83
85
|
/**
|
|
84
86
|
* @public
|
|
85
87
|
*/
|
|
86
|
-
export type ServiceInputTypes = AssociateLensesCommandInput | AssociateProfilesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateProfileCommandInput | CreateProfileShareCommandInput | CreateReviewTemplateCommandInput | CreateTemplateShareCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteProfileCommandInput | DeleteProfileShareCommandInput | DeleteReviewTemplateCommandInput | DeleteTemplateShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | DisassociateProfilesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetConsolidatedReportCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetProfileCommandInput | GetProfileTemplateCommandInput | GetReviewTemplateAnswerCommandInput | GetReviewTemplateCommandInput | GetReviewTemplateLensReviewCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListCheckDetailsCommandInput | ListCheckSummariesCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListProfileNotificationsCommandInput | ListProfileSharesCommandInput | ListProfilesCommandInput | ListReviewTemplateAnswersCommandInput | ListReviewTemplatesCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListTemplateSharesCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateProfileCommandInput | UpdateReviewTemplateAnswerCommandInput | UpdateReviewTemplateCommandInput | UpdateReviewTemplateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput | UpgradeProfileVersionCommandInput | UpgradeReviewTemplateLensReviewCommandInput;
|
|
88
|
+
export type ServiceInputTypes = AssociateLensesCommandInput | AssociateProfilesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateProfileCommandInput | CreateProfileShareCommandInput | CreateReviewTemplateCommandInput | CreateTemplateShareCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteProfileCommandInput | DeleteProfileShareCommandInput | DeleteReviewTemplateCommandInput | DeleteTemplateShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | DisassociateProfilesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetConsolidatedReportCommandInput | GetGlobalSettingsCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetProfileCommandInput | GetProfileTemplateCommandInput | GetReviewTemplateAnswerCommandInput | GetReviewTemplateCommandInput | GetReviewTemplateLensReviewCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListCheckDetailsCommandInput | ListCheckSummariesCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListProfileNotificationsCommandInput | ListProfileSharesCommandInput | ListProfilesCommandInput | ListReviewTemplateAnswersCommandInput | ListReviewTemplatesCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListTemplateSharesCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateIntegrationCommandInput | UpdateLensReviewCommandInput | UpdateProfileCommandInput | UpdateReviewTemplateAnswerCommandInput | UpdateReviewTemplateCommandInput | UpdateReviewTemplateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput | UpgradeProfileVersionCommandInput | UpgradeReviewTemplateLensReviewCommandInput;
|
|
87
89
|
/**
|
|
88
90
|
* @public
|
|
89
91
|
*/
|
|
90
|
-
export type ServiceOutputTypes = AssociateLensesCommandOutput | AssociateProfilesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateProfileCommandOutput | CreateProfileShareCommandOutput | CreateReviewTemplateCommandOutput | CreateTemplateShareCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteProfileCommandOutput | DeleteProfileShareCommandOutput | DeleteReviewTemplateCommandOutput | DeleteTemplateShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | DisassociateProfilesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetConsolidatedReportCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetProfileCommandOutput | GetProfileTemplateCommandOutput | GetReviewTemplateAnswerCommandOutput | GetReviewTemplateCommandOutput | GetReviewTemplateLensReviewCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListCheckDetailsCommandOutput | ListCheckSummariesCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListProfileNotificationsCommandOutput | ListProfileSharesCommandOutput | ListProfilesCommandOutput | ListReviewTemplateAnswersCommandOutput | ListReviewTemplatesCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateSharesCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateProfileCommandOutput | UpdateReviewTemplateAnswerCommandOutput | UpdateReviewTemplateCommandOutput | UpdateReviewTemplateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput | UpgradeProfileVersionCommandOutput | UpgradeReviewTemplateLensReviewCommandOutput;
|
|
92
|
+
export type ServiceOutputTypes = AssociateLensesCommandOutput | AssociateProfilesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateProfileCommandOutput | CreateProfileShareCommandOutput | CreateReviewTemplateCommandOutput | CreateTemplateShareCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteProfileCommandOutput | DeleteProfileShareCommandOutput | DeleteReviewTemplateCommandOutput | DeleteTemplateShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | DisassociateProfilesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetConsolidatedReportCommandOutput | GetGlobalSettingsCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetProfileCommandOutput | GetProfileTemplateCommandOutput | GetReviewTemplateAnswerCommandOutput | GetReviewTemplateCommandOutput | GetReviewTemplateLensReviewCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListCheckDetailsCommandOutput | ListCheckSummariesCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListProfileNotificationsCommandOutput | ListProfileSharesCommandOutput | ListProfilesCommandOutput | ListReviewTemplateAnswersCommandOutput | ListReviewTemplatesCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateSharesCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateIntegrationCommandOutput | UpdateLensReviewCommandOutput | UpdateProfileCommandOutput | UpdateReviewTemplateAnswerCommandOutput | UpdateReviewTemplateCommandOutput | UpdateReviewTemplateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput | UpgradeProfileVersionCommandOutput | UpgradeReviewTemplateLensReviewCommandOutput;
|
|
91
93
|
/**
|
|
92
94
|
* @public
|
|
93
95
|
*/
|
|
@@ -111,6 +111,11 @@ declare const CreateWorkloadCommand_base: {
|
|
|
111
111
|
* ReviewTemplateArns: [ // ReviewTemplateArns
|
|
112
112
|
* "STRING_VALUE",
|
|
113
113
|
* ],
|
|
114
|
+
* JiraConfiguration: { // WorkloadJiraConfigurationInput
|
|
115
|
+
* IssueManagementStatus: "ENABLED" || "DISABLED" || "INHERIT",
|
|
116
|
+
* IssueManagementType: "AUTO" || "MANUAL",
|
|
117
|
+
* JiraProjectKey: "STRING_VALUE",
|
|
118
|
+
* },
|
|
114
119
|
* };
|
|
115
120
|
* const command = new CreateWorkloadCommand(input);
|
|
116
121
|
* const response = await client.send(command);
|
|
@@ -95,6 +95,10 @@ declare const GetAnswerCommand_base: {
|
|
|
95
95
|
* // Risk: "UNANSWERED" || "HIGH" || "MEDIUM" || "NONE" || "NOT_APPLICABLE",
|
|
96
96
|
* // Notes: "STRING_VALUE",
|
|
97
97
|
* // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE",
|
|
98
|
+
* // JiraConfiguration: { // JiraConfiguration
|
|
99
|
+
* // JiraIssueUrl: "STRING_VALUE",
|
|
100
|
+
* // LastSyncedTime: new Date("TIMESTAMP"),
|
|
101
|
+
* // },
|
|
98
102
|
* // },
|
|
99
103
|
* // };
|
|
100
104
|
*
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetGlobalSettingsOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetGlobalSettingsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetGlobalSettingsCommandInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetGlobalSettingsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetGlobalSettingsCommandOutput extends GetGlobalSettingsOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetGlobalSettingsCommand_base: {
|
|
24
|
+
new (input: GetGlobalSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput, WellArchitectedClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetGlobalSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetGlobalSettingsCommandInput, GetGlobalSettingsCommandOutput, WellArchitectedClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Global settings for all workloads.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WellArchitectedClient, GetGlobalSettingsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
34
|
+
* // const { WellArchitectedClient, GetGlobalSettingsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
35
|
+
* const client = new WellArchitectedClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new GetGlobalSettingsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetGlobalSettingsOutput
|
|
40
|
+
* // OrganizationSharingStatus: "ENABLED" || "DISABLED",
|
|
41
|
+
* // DiscoveryIntegrationStatus: "ENABLED" || "DISABLED",
|
|
42
|
+
* // JiraConfiguration: { // AccountJiraConfigurationOutput
|
|
43
|
+
* // IntegrationStatus: "CONFIGURED" || "NOT_CONFIGURED",
|
|
44
|
+
* // IssueManagementStatus: "ENABLED" || "DISABLED",
|
|
45
|
+
* // IssueManagementType: "AUTO" || "MANUAL",
|
|
46
|
+
* // Subdomain: "STRING_VALUE",
|
|
47
|
+
* // JiraProjectKey: "STRING_VALUE",
|
|
48
|
+
* // StatusMessage: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetGlobalSettingsCommandInput - {@link GetGlobalSettingsCommandInput}
|
|
55
|
+
* @returns {@link GetGlobalSettingsCommandOutput}
|
|
56
|
+
* @see {@link GetGlobalSettingsCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetGlobalSettingsCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>Request was denied due to request throttling.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The user input is not valid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link WellArchitectedServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class GetGlobalSettingsCommand extends GetGlobalSettingsCommand_base {
|
|
78
|
+
}
|
|
@@ -62,6 +62,16 @@ declare const GetLensReviewCommand_base: {
|
|
|
62
62
|
* // },
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
65
|
+
* // JiraConfiguration: { // JiraSelectedQuestionConfiguration
|
|
66
|
+
* // SelectedPillars: [ // SelectedPillars
|
|
67
|
+
* // { // SelectedPillar
|
|
68
|
+
* // PillarId: "STRING_VALUE",
|
|
69
|
+
* // SelectedQuestionIds: [ // SelectedQuestionIds
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
65
75
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
66
76
|
* // Notes: "STRING_VALUE",
|
|
67
77
|
* // RiskCounts: {
|
|
@@ -101,6 +101,12 @@ declare const GetMilestoneCommand_base: {
|
|
|
101
101
|
* // PrioritizedRiskCounts: {
|
|
102
102
|
* // "<keys>": Number("int"),
|
|
103
103
|
* // },
|
|
104
|
+
* // JiraConfiguration: { // WorkloadJiraConfigurationOutput
|
|
105
|
+
* // IssueManagementStatus: "ENABLED" || "DISABLED" || "INHERIT",
|
|
106
|
+
* // IssueManagementType: "AUTO" || "MANUAL",
|
|
107
|
+
* // JiraProjectKey: "STRING_VALUE",
|
|
108
|
+
* // StatusMessage: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
104
110
|
* // },
|
|
105
111
|
* // },
|
|
106
112
|
* // };
|
|
@@ -95,6 +95,12 @@ declare const GetWorkloadCommand_base: {
|
|
|
95
95
|
* // PrioritizedRiskCounts: {
|
|
96
96
|
* // "<keys>": Number("int"),
|
|
97
97
|
* // },
|
|
98
|
+
* // JiraConfiguration: { // WorkloadJiraConfigurationOutput
|
|
99
|
+
* // IssueManagementStatus: "ENABLED" || "DISABLED" || "INHERIT",
|
|
100
|
+
* // IssueManagementType: "AUTO" || "MANUAL",
|
|
101
|
+
* // JiraProjectKey: "STRING_VALUE",
|
|
102
|
+
* // StatusMessage: "STRING_VALUE",
|
|
103
|
+
* // },
|
|
98
104
|
* // },
|
|
99
105
|
* // };
|
|
100
106
|
*
|
|
@@ -94,6 +94,10 @@ declare const ListAnswersCommand_base: {
|
|
|
94
94
|
* // Risk: "UNANSWERED" || "HIGH" || "MEDIUM" || "NONE" || "NOT_APPLICABLE",
|
|
95
95
|
* // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE",
|
|
96
96
|
* // QuestionType: "PRIORITIZED" || "NON_PRIORITIZED",
|
|
97
|
+
* // JiraConfiguration: { // JiraConfiguration
|
|
98
|
+
* // JiraIssueUrl: "STRING_VALUE",
|
|
99
|
+
* // LastSyncedTime: new Date("TIMESTAMP"),
|
|
100
|
+
* // },
|
|
97
101
|
* // },
|
|
98
102
|
* // ],
|
|
99
103
|
* // NextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ declare const ListLensReviewImprovementsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>List lens review
|
|
29
|
+
* <p>List the improvements of a particular lens review.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -63,6 +63,10 @@ declare const ListLensReviewImprovementsCommand_base: {
|
|
|
63
63
|
* // ImprovementPlanUrl: "STRING_VALUE",
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
66
|
+
* // JiraConfiguration: { // JiraConfiguration
|
|
67
|
+
* // JiraIssueUrl: "STRING_VALUE",
|
|
68
|
+
* // LastSyncedTime: new Date("TIMESTAMP"),
|
|
69
|
+
* // },
|
|
66
70
|
* // },
|
|
67
71
|
* // ],
|
|
68
72
|
* // NextToken: "STRING_VALUE",
|
|
@@ -106,6 +106,10 @@ declare const UpdateAnswerCommand_base: {
|
|
|
106
106
|
* // Risk: "UNANSWERED" || "HIGH" || "MEDIUM" || "NONE" || "NOT_APPLICABLE",
|
|
107
107
|
* // Notes: "STRING_VALUE",
|
|
108
108
|
* // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE",
|
|
109
|
+
* // JiraConfiguration: { // JiraConfiguration
|
|
110
|
+
* // JiraIssueUrl: "STRING_VALUE",
|
|
111
|
+
* // LastSyncedTime: new Date("TIMESTAMP"),
|
|
112
|
+
* // },
|
|
109
113
|
* // },
|
|
110
114
|
* // };
|
|
111
115
|
*
|
|
@@ -26,7 +26,7 @@ declare const UpdateGlobalSettingsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>
|
|
29
|
+
* <p>Update whether the Amazon Web Services account is opted into organization sharing and discovery integration features.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -36,6 +36,12 @@ declare const UpdateGlobalSettingsCommand_base: {
|
|
|
36
36
|
* const input = { // UpdateGlobalSettingsInput
|
|
37
37
|
* OrganizationSharingStatus: "ENABLED" || "DISABLED",
|
|
38
38
|
* DiscoveryIntegrationStatus: "ENABLED" || "DISABLED",
|
|
39
|
+
* JiraConfiguration: { // AccountJiraConfigurationInput
|
|
40
|
+
* IssueManagementStatus: "ENABLED" || "DISABLED",
|
|
41
|
+
* IssueManagementType: "AUTO" || "MANUAL",
|
|
42
|
+
* JiraProjectKey: "STRING_VALUE",
|
|
43
|
+
* IntegrationStatus: "NOT_CONFIGURED",
|
|
44
|
+
* },
|
|
39
45
|
* };
|
|
40
46
|
* const command = new UpdateGlobalSettingsCommand(input);
|
|
41
47
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateIntegrationInput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateIntegrationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateIntegrationCommandInput extends UpdateIntegrationInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateIntegrationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateIntegrationCommandOutput extends __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateIntegrationCommand_base: {
|
|
24
|
+
new (input: UpdateIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput, WellArchitectedClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput, WellArchitectedClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Update integration features.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WellArchitectedClient, UpdateIntegrationCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
34
|
+
* // const { WellArchitectedClient, UpdateIntegrationCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
35
|
+
* const client = new WellArchitectedClient(config);
|
|
36
|
+
* const input = { // UpdateIntegrationInput
|
|
37
|
+
* WorkloadId: "STRING_VALUE", // required
|
|
38
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
39
|
+
* IntegratingService: "JIRA", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UpdateIntegrationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param UpdateIntegrationCommandInput - {@link UpdateIntegrationCommandInput}
|
|
48
|
+
* @returns {@link UpdateIntegrationCommandOutput}
|
|
49
|
+
* @see {@link UpdateIntegrationCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link UpdateIntegrationCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The requested resource was not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>Request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The user input is not valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link WellArchitectedServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class UpdateIntegrationCommand extends UpdateIntegrationCommand_base {
|
|
77
|
+
}
|
|
@@ -40,6 +40,16 @@ declare const UpdateLensReviewCommand_base: {
|
|
|
40
40
|
* PillarNotes: { // PillarNotes
|
|
41
41
|
* "<keys>": "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
|
+
* JiraConfiguration: { // JiraSelectedQuestionConfiguration
|
|
44
|
+
* SelectedPillars: [ // SelectedPillars
|
|
45
|
+
* { // SelectedPillar
|
|
46
|
+
* PillarId: "STRING_VALUE",
|
|
47
|
+
* SelectedQuestionIds: [ // SelectedQuestionIds
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
43
53
|
* };
|
|
44
54
|
* const command = new UpdateLensReviewCommand(input);
|
|
45
55
|
* const response = await client.send(command);
|
|
@@ -64,6 +74,16 @@ declare const UpdateLensReviewCommand_base: {
|
|
|
64
74
|
* // },
|
|
65
75
|
* // },
|
|
66
76
|
* // ],
|
|
77
|
+
* // JiraConfiguration: { // JiraSelectedQuestionConfiguration
|
|
78
|
+
* // SelectedPillars: [ // SelectedPillars
|
|
79
|
+
* // { // SelectedPillar
|
|
80
|
+
* // PillarId: "STRING_VALUE",
|
|
81
|
+
* // SelectedQuestionIds: [ // SelectedQuestionIds
|
|
82
|
+
* // "STRING_VALUE",
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
67
87
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
68
88
|
* // Notes: "STRING_VALUE",
|
|
69
89
|
* // RiskCounts: {
|