-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client-wellarchitected): AWS Well-Architected now has a Connecto…
…r for Jira to allow customers to efficiently track workload risks and improvement efforts and create closed-loop mechanisms.
- Loading branch information
awstools
committed
Apr 16, 2024
1 parent
639c711
commit aa902b4
Showing
22 changed files
with
1,470 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
clients/client-wellarchitected/src/commands/GetGlobalSettingsCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetGlobalSettingsOutput } from "../models/models_0"; | ||
import { de_GetGlobalSettingsCommand, se_GetGlobalSettingsCommand } from "../protocols/Aws_restJson1"; | ||
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export { __MetadataBearer, $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link GetGlobalSettingsCommand}. | ||
*/ | ||
export interface GetGlobalSettingsCommandInput {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link GetGlobalSettingsCommand}. | ||
*/ | ||
export interface GetGlobalSettingsCommandOutput extends GetGlobalSettingsOutput, __MetadataBearer {} | ||
|
||
/** | ||
* <p>Global settings for all workloads.</p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { WellArchitectedClient, GetGlobalSettingsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import | ||
* // const { WellArchitectedClient, GetGlobalSettingsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import | ||
* const client = new WellArchitectedClient(config); | ||
* const input = {}; | ||
* const command = new GetGlobalSettingsCommand(input); | ||
* const response = await client.send(command); | ||
* // { // GetGlobalSettingsOutput | ||
* // OrganizationSharingStatus: "ENABLED" || "DISABLED", | ||
* // DiscoveryIntegrationStatus: "ENABLED" || "DISABLED", | ||
* // JiraConfiguration: { // AccountJiraConfigurationOutput | ||
* // IntegrationStatus: "CONFIGURED" || "NOT_CONFIGURED", | ||
* // IssueManagementStatus: "ENABLED" || "DISABLED", | ||
* // IssueManagementType: "AUTO" || "MANUAL", | ||
* // Subdomain: "STRING_VALUE", | ||
* // JiraProjectKey: "STRING_VALUE", | ||
* // StatusMessage: "STRING_VALUE", | ||
* // }, | ||
* // }; | ||
* | ||
* ``` | ||
* | ||
* @param GetGlobalSettingsCommandInput - {@link GetGlobalSettingsCommandInput} | ||
* @returns {@link GetGlobalSettingsCommandOutput} | ||
* @see {@link GetGlobalSettingsCommandInput} for command's `input` shape. | ||
* @see {@link GetGlobalSettingsCommandOutput} for command's `response` shape. | ||
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>User does not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link InternalServerException} (server fault) | ||
* <p>There is a problem with the Well-Architected Tool API service.</p> | ||
* | ||
* @throws {@link ThrottlingException} (client fault) | ||
* <p>Request was denied due to request throttling.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The user input is not valid.</p> | ||
* | ||
* @throws {@link WellArchitectedServiceException} | ||
* <p>Base exception class for all service exceptions from WellArchitected service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class GetGlobalSettingsCommand extends $Command | ||
.classBuilder< | ||
GetGlobalSettingsCommandInput, | ||
GetGlobalSettingsCommandOutput, | ||
WellArchitectedClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (this: any, Command: any, cs: any, config: WellArchitectedClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("WellArchitectedApiServiceLambda", "GetGlobalSettings", {}) | ||
.n("WellArchitectedClient", "GetGlobalSettingsCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetGlobalSettingsCommand) | ||
.de(de_GetGlobalSettingsCommand) | ||
.build() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.