@aws-sdk/client-devops-agent 3.1020.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/LICENSE +201 -0
- package/README.md +526 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1045 -0
- package/dist-cjs/models/DevOpsAgentServiceException.js +12 -0
- package/dist-cjs/models/errors.js +140 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +1891 -0
- package/dist-es/DevOpsAgent.js +119 -0
- package/dist-es/DevOpsAgentClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AllowVendedLogDeliveryForResourceCommand.js +16 -0
- package/dist-es/commands/AssociateServiceCommand.js +16 -0
- package/dist-es/commands/CreateAgentSpaceCommand.js +16 -0
- package/dist-es/commands/CreateBacklogTaskCommand.js +16 -0
- package/dist-es/commands/CreateChatCommand.js +16 -0
- package/dist-es/commands/CreatePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/DeleteAgentSpaceCommand.js +16 -0
- package/dist-es/commands/DeletePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/DeregisterServiceCommand.js +16 -0
- package/dist-es/commands/DescribePrivateConnectionCommand.js +16 -0
- package/dist-es/commands/DescribeSupportLevelCommand.js +16 -0
- package/dist-es/commands/DisableOperatorAppCommand.js +16 -0
- package/dist-es/commands/DisassociateServiceCommand.js +16 -0
- package/dist-es/commands/EnableOperatorAppCommand.js +16 -0
- package/dist-es/commands/EndChatForCaseCommand.js +16 -0
- package/dist-es/commands/GetAccountUsageCommand.js +16 -0
- package/dist-es/commands/GetAgentSpaceCommand.js +16 -0
- package/dist-es/commands/GetAssociationCommand.js +16 -0
- package/dist-es/commands/GetBacklogTaskCommand.js +16 -0
- package/dist-es/commands/GetOperatorAppCommand.js +16 -0
- package/dist-es/commands/GetRecommendationCommand.js +16 -0
- package/dist-es/commands/GetServiceCommand.js +16 -0
- package/dist-es/commands/InitiateChatForCaseCommand.js +16 -0
- package/dist-es/commands/ListAgentSpacesCommand.js +16 -0
- package/dist-es/commands/ListAssociationsCommand.js +16 -0
- package/dist-es/commands/ListBacklogTasksCommand.js +16 -0
- package/dist-es/commands/ListChatsCommand.js +16 -0
- package/dist-es/commands/ListExecutionsCommand.js +16 -0
- package/dist-es/commands/ListGoalsCommand.js +16 -0
- package/dist-es/commands/ListJournalRecordsCommand.js +16 -0
- package/dist-es/commands/ListPendingMessagesCommand.js +16 -0
- package/dist-es/commands/ListPrivateConnectionsCommand.js +16 -0
- package/dist-es/commands/ListRecommendationsCommand.js +16 -0
- package/dist-es/commands/ListServicesCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/ListWebhooksCommand.js +16 -0
- package/dist-es/commands/RegisterServiceCommand.js +16 -0
- package/dist-es/commands/SendMessageCommand.js +20 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAgentSpaceCommand.js +16 -0
- package/dist-es/commands/UpdateAssociationCommand.js +16 -0
- package/dist-es/commands/UpdateBacklogTaskCommand.js +16 -0
- package/dist-es/commands/UpdateGoalCommand.js +16 -0
- package/dist-es/commands/UpdateOperatorAppIdpConfigCommand.js +16 -0
- package/dist-es/commands/UpdatePrivateConnectionCertificateCommand.js +16 -0
- package/dist-es/commands/UpdateRecommendationCommand.js +16 -0
- package/dist-es/commands/ValidateAwsAssociationsCommand.js +16 -0
- package/dist-es/commands/index.js +48 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/DevOpsAgentServiceException.js +8 -0
- package/dist-es/models/enums.js +164 -0
- package/dist-es/models/errors.js +127 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAgentSpacesPaginator.js +4 -0
- package/dist-es/pagination/ListAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListBacklogTasksPaginator.js +4 -0
- package/dist-es/pagination/ListExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListGoalsPaginator.js +4 -0
- package/dist-es/pagination/ListJournalRecordsPaginator.js +4 -0
- package/dist-es/pagination/ListServicesPaginator.js +4 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/runtimeConfig.browser.js +35 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1883 -0
- package/dist-types/DevOpsAgent.d.ts +409 -0
- package/dist-types/DevOpsAgentClient.d.ts +250 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AllowVendedLogDeliveryForResourceCommand.d.ts +100 -0
- package/dist-types/commands/AssociateServiceCommand.d.ts +300 -0
- package/dist-types/commands/CreateAgentSpaceCommand.d.ts +121 -0
- package/dist-types/commands/CreateBacklogTaskCommand.d.ts +139 -0
- package/dist-types/commands/CreateChatCommand.d.ts +106 -0
- package/dist-types/commands/CreatePrivateConnectionCommand.d.ts +138 -0
- package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +101 -0
- package/dist-types/commands/DeletePrivateConnectionCommand.d.ts +104 -0
- package/dist-types/commands/DeregisterServiceCommand.d.ts +101 -0
- package/dist-types/commands/DescribePrivateConnectionCommand.d.ts +113 -0
- package/dist-types/commands/DescribeSupportLevelCommand.d.ts +112 -0
- package/dist-types/commands/DisableOperatorAppCommand.d.ts +105 -0
- package/dist-types/commands/DisassociateServiceCommand.d.ts +102 -0
- package/dist-types/commands/EnableOperatorAppCommand.d.ts +133 -0
- package/dist-types/commands/EndChatForCaseCommand.d.ts +109 -0
- package/dist-types/commands/GetAccountUsageCommand.d.ts +114 -0
- package/dist-types/commands/GetAgentSpaceCommand.d.ts +114 -0
- package/dist-types/commands/GetAssociationCommand.d.ts +202 -0
- package/dist-types/commands/GetBacklogTaskCommand.d.ts +128 -0
- package/dist-types/commands/GetOperatorAppCommand.d.ts +122 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +122 -0
- package/dist-types/commands/GetServiceCommand.d.ts +188 -0
- package/dist-types/commands/InitiateChatForCaseCommand.d.ts +109 -0
- package/dist-types/commands/ListAgentSpacesCommand.d.ts +115 -0
- package/dist-types/commands/ListAssociationsCommand.d.ts +207 -0
- package/dist-types/commands/ListBacklogTasksCommand.d.ts +148 -0
- package/dist-types/commands/ListChatsCommand.d.ts +114 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +119 -0
- package/dist-types/commands/ListGoalsCommand.d.ts +130 -0
- package/dist-types/commands/ListJournalRecordsCommand.d.ts +122 -0
- package/dist-types/commands/ListPendingMessagesCommand.d.ts +125 -0
- package/dist-types/commands/ListPrivateConnectionsCommand.d.ts +112 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +129 -0
- package/dist-types/commands/ListServicesCommand.d.ts +190 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +105 -0
- package/dist-types/commands/ListWebhooksCommand.d.ts +110 -0
- package/dist-types/commands/RegisterServiceCommand.d.ts +347 -0
- package/dist-types/commands/SendMessageCommand.d.ts +166 -0
- package/dist-types/commands/TagResourceCommand.d.ts +104 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +104 -0
- package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +114 -0
- package/dist-types/commands/UpdateAssociationCommand.d.ts +300 -0
- package/dist-types/commands/UpdateBacklogTaskCommand.d.ts +130 -0
- package/dist-types/commands/UpdateGoalCommand.d.ts +128 -0
- package/dist-types/commands/UpdateOperatorAppIdpConfigCommand.d.ts +112 -0
- package/dist-types/commands/UpdatePrivateConnectionCertificateCommand.d.ts +111 -0
- package/dist-types/commands/UpdateRecommendationCommand.d.ts +124 -0
- package/dist-types/commands/ValidateAwsAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +48 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +27 -0
- package/dist-types/models/DevOpsAgentServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +631 -0
- package/dist-types/models/errors.d.ts +138 -0
- package/dist-types/models/models_0.d.ts +5708 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAgentSpacesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBacklogTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGoalsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListJournalRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/runtimeConfig.d.ts +56 -0
- package/dist-types/runtimeConfig.native.d.ts +55 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +271 -0
- package/dist-types/ts3.4/DevOpsAgent.d.ts +892 -0
- package/dist-types/ts3.4/DevOpsAgentClient.d.ts +414 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AllowVendedLogDeliveryForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateServiceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateBacklogTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateChatCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreatePrivateConnectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeletePrivateConnectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeregisterServiceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribePrivateConnectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSupportLevelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableOperatorAppCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DisassociateServiceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableOperatorAppCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/EndChatForCaseCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAccountUsageCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAgentSpaceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAssociationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBacklogTaskCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetOperatorAppCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/InitiateChatForCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListBacklogTasksCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListChatsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListGoalsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListJournalRecordsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPendingMessagesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPrivateConnectionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/RegisterServiceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateBacklogTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGoalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateOperatorAppIdpConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePrivateConnectionCertificateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateRecommendationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ValidateAwsAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +48 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/DevOpsAgentServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +207 -0
- package/dist-types/ts3.4/models/errors.d.ts +75 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2202 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAgentSpacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBacklogTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGoalsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListJournalRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +271 -0
- package/package.json +103 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { GetAssociationInput, GetAssociationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAssociationCommandInput extends GetAssociationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAssociationCommandOutput extends GetAssociationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAssociationCommand_base: {
|
|
25
|
+
new (input: GetAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssociationCommandInput, GetAssociationCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetAssociationCommandInput, GetAssociationCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves given associations configured for a specific AgentSpace.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, GetAssociationCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, GetAssociationCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
36
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
37
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
38
|
+
* const client = new DevOpsAgentClient(config);
|
|
39
|
+
* const input = { // GetAssociationInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* associationId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetAssociationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetAssociationOutput
|
|
46
|
+
* // association: { // Association
|
|
47
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
48
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // status: "valid" || "invalid" || "pending-confirmation",
|
|
51
|
+
* // associationId: "STRING_VALUE", // required
|
|
52
|
+
* // serviceId: "STRING_VALUE", // required
|
|
53
|
+
* // configuration: { // ServiceConfiguration Union: only one key present
|
|
54
|
+
* // sourceAws: { // SourceAwsConfiguration
|
|
55
|
+
* // accountId: "STRING_VALUE", // required
|
|
56
|
+
* // accountType: "source", // required
|
|
57
|
+
* // assumableRoleArn: "STRING_VALUE", // required
|
|
58
|
+
* // externalId: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // aws: { // AWSConfiguration
|
|
61
|
+
* // assumableRoleArn: "STRING_VALUE", // required
|
|
62
|
+
* // accountId: "STRING_VALUE", // required
|
|
63
|
+
* // accountType: "monitor", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // github: { // GitHubConfiguration
|
|
66
|
+
* // repoName: "STRING_VALUE", // required
|
|
67
|
+
* // repoId: "STRING_VALUE", // required
|
|
68
|
+
* // owner: "STRING_VALUE", // required
|
|
69
|
+
* // ownerType: "organization" || "user", // required
|
|
70
|
+
* // instanceIdentifier: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // slack: { // SlackConfiguration
|
|
73
|
+
* // workspaceId: "STRING_VALUE", // required
|
|
74
|
+
* // workspaceName: "STRING_VALUE", // required
|
|
75
|
+
* // transmissionTarget: { // SlackTransmissionTarget
|
|
76
|
+
* // opsOncallTarget: { // SlackChannel
|
|
77
|
+
* // channelName: "STRING_VALUE",
|
|
78
|
+
* // channelId: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // opsSRETarget: {
|
|
81
|
+
* // channelName: "STRING_VALUE",
|
|
82
|
+
* // channelId: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // dynatrace: { // DynatraceConfiguration
|
|
87
|
+
* // envId: "STRING_VALUE", // required
|
|
88
|
+
* // resources: [ // DynatraceResourceList
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // servicenow: { // ServiceNowConfiguration
|
|
93
|
+
* // instanceId: "STRING_VALUE",
|
|
94
|
+
* // authScopes: [ // ServiceNowAuthenticationScopeList
|
|
95
|
+
* // "STRING_VALUE",
|
|
96
|
+
* // ],
|
|
97
|
+
* // },
|
|
98
|
+
* // mcpservernewrelic: { // MCPServerNewRelicConfiguration
|
|
99
|
+
* // accountId: "STRING_VALUE", // required
|
|
100
|
+
* // endpoint: "STRING_VALUE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // gitlab: { // GitLabConfiguration
|
|
103
|
+
* // projectId: "STRING_VALUE", // required
|
|
104
|
+
* // projectPath: "STRING_VALUE", // required
|
|
105
|
+
* // instanceIdentifier: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // eventChannel: {},
|
|
108
|
+
* // azure: { // AzureConfiguration
|
|
109
|
+
* // subscriptionId: "STRING_VALUE", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // azuredevops: { // AzureDevOpsConfiguration
|
|
112
|
+
* // organizationName: "STRING_VALUE", // required
|
|
113
|
+
* // projectId: "STRING_VALUE", // required
|
|
114
|
+
* // projectName: "STRING_VALUE", // required
|
|
115
|
+
* // },
|
|
116
|
+
* // mcpservergrafana: { // MCPServerGrafanaConfiguration
|
|
117
|
+
* // endpoint: "STRING_VALUE", // required
|
|
118
|
+
* // organizationId: "STRING_VALUE",
|
|
119
|
+
* // tools: [ // MCPToolsList
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
123
|
+
* // pagerduty: { // PagerDutyConfiguration
|
|
124
|
+
* // services: [ // PagerDutyServicesList // required
|
|
125
|
+
* // "STRING_VALUE",
|
|
126
|
+
* // ],
|
|
127
|
+
* // customerEmail: "STRING_VALUE", // required
|
|
128
|
+
* // },
|
|
129
|
+
* // msteams: { // MSTeamsConfiguration
|
|
130
|
+
* // teamId: "STRING_VALUE", // required
|
|
131
|
+
* // teamName: "STRING_VALUE", // required
|
|
132
|
+
* // transmissionTarget: { // MSTeamsTransmissionTarget
|
|
133
|
+
* // opsOncallTarget: { // MSTeamsChannel
|
|
134
|
+
* // channelName: "STRING_VALUE", // required
|
|
135
|
+
* // channelId: "STRING_VALUE", // required
|
|
136
|
+
* // },
|
|
137
|
+
* // opsSRETarget: {
|
|
138
|
+
* // channelName: "STRING_VALUE", // required
|
|
139
|
+
* // channelId: "STRING_VALUE", // required
|
|
140
|
+
* // },
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // },
|
|
144
|
+
* // },
|
|
145
|
+
* // };
|
|
146
|
+
*
|
|
147
|
+
* ```
|
|
148
|
+
*
|
|
149
|
+
* @param GetAssociationCommandInput - {@link GetAssociationCommandInput}
|
|
150
|
+
* @returns {@link GetAssociationCommandOutput}
|
|
151
|
+
* @see {@link GetAssociationCommandInput} for command's `input` shape.
|
|
152
|
+
* @see {@link GetAssociationCommandOutput} for command's `response` shape.
|
|
153
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link InternalServerException} (server fault)
|
|
156
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
159
|
+
* The requested resource could not be found.
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
162
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link ValidationException} (client fault)
|
|
165
|
+
* A standard error for input validation failures.
|
|
166
|
+
* This should be thrown by services when a member of the input structure
|
|
167
|
+
* falls outside of the modeled or documented constraints.
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
170
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link ConflictException} (client fault)
|
|
173
|
+
* The request conflicts with the current state of the resource.
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
176
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
179
|
+
* One or more parameters provided in the request are invalid.
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
182
|
+
* The request would exceed the service quota limit.
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
185
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
186
|
+
*
|
|
187
|
+
*
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export declare class GetAssociationCommand extends GetAssociationCommand_base {
|
|
191
|
+
/** @internal type navigation helper, not in runtime. */
|
|
192
|
+
protected static __types: {
|
|
193
|
+
api: {
|
|
194
|
+
input: GetAssociationInput;
|
|
195
|
+
output: GetAssociationOutput;
|
|
196
|
+
};
|
|
197
|
+
sdk: {
|
|
198
|
+
input: GetAssociationCommandInput;
|
|
199
|
+
output: GetAssociationCommandOutput;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { GetBacklogTaskRequest, GetBacklogTaskResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetBacklogTaskCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetBacklogTaskCommandInput extends GetBacklogTaskRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetBacklogTaskCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetBacklogTaskCommandOutput extends GetBacklogTaskResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetBacklogTaskCommand_base: {
|
|
25
|
+
new (input: GetBacklogTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetBacklogTaskCommandInput, GetBacklogTaskCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetBacklogTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetBacklogTaskCommandInput, GetBacklogTaskCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets a backlog task for the specified agent space and task id
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, GetBacklogTaskCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, GetBacklogTaskCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
36
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
37
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
38
|
+
* const client = new DevOpsAgentClient(config);
|
|
39
|
+
* const input = { // GetBacklogTaskRequest
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* taskId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetBacklogTaskCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetBacklogTaskResponse
|
|
46
|
+
* // task: { // Task
|
|
47
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
48
|
+
* // taskId: "STRING_VALUE", // required
|
|
49
|
+
* // executionId: "STRING_VALUE",
|
|
50
|
+
* // title: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // reference: { // ReferenceOutput
|
|
53
|
+
* // system: "STRING_VALUE", // required
|
|
54
|
+
* // title: "STRING_VALUE",
|
|
55
|
+
* // referenceId: "STRING_VALUE", // required
|
|
56
|
+
* // referenceUrl: "STRING_VALUE", // required
|
|
57
|
+
* // associationId: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // taskType: "INVESTIGATION" || "EVALUATION", // required
|
|
60
|
+
* // priority: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "MINIMAL", // required
|
|
61
|
+
* // status: "PENDING_TRIAGE" || "LINKED" || "PENDING_START" || "IN_PROGRESS" || "PENDING_CUSTOMER_APPROVAL" || "COMPLETED" || "FAILED" || "TIMED_OUT" || "CANCELED", // required
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // version: Number("int"), // required
|
|
65
|
+
* // supportMetadata: "DOCUMENT_VALUE",
|
|
66
|
+
* // metadata: "DOCUMENT_VALUE",
|
|
67
|
+
* // primaryTaskId: "STRING_VALUE",
|
|
68
|
+
* // statusReason: "STRING_VALUE",
|
|
69
|
+
* // hasLinkedTasks: true || false,
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param GetBacklogTaskCommandInput - {@link GetBacklogTaskCommandInput}
|
|
76
|
+
* @returns {@link GetBacklogTaskCommandOutput}
|
|
77
|
+
* @see {@link GetBacklogTaskCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link GetBacklogTaskCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* The request conflicts with the current state of the resource.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* The requested resource could not be found.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* A standard error for input validation failures.
|
|
98
|
+
* This should be thrown by services when a member of the input structure
|
|
99
|
+
* falls outside of the modeled or documented constraints.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
102
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
105
|
+
* One or more parameters provided in the request are invalid.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
108
|
+
* The request would exceed the service quota limit.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class GetBacklogTaskCommand extends GetBacklogTaskCommand_base {
|
|
117
|
+
/** @internal type navigation helper, not in runtime. */
|
|
118
|
+
protected static __types: {
|
|
119
|
+
api: {
|
|
120
|
+
input: GetBacklogTaskRequest;
|
|
121
|
+
output: GetBacklogTaskResponse;
|
|
122
|
+
};
|
|
123
|
+
sdk: {
|
|
124
|
+
input: GetBacklogTaskCommandInput;
|
|
125
|
+
output: GetBacklogTaskCommandOutput;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { GetOperatorAppInput, GetOperatorAppOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetOperatorAppCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOperatorAppCommandInput extends GetOperatorAppInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOperatorAppCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOperatorAppCommandOutput extends GetOperatorAppOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOperatorAppCommand_base: {
|
|
25
|
+
new (input: GetOperatorAppCommandInput): import("@smithy/smithy-client").CommandImpl<GetOperatorAppCommandInput, GetOperatorAppCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetOperatorAppCommandInput): import("@smithy/smithy-client").CommandImpl<GetOperatorAppCommandInput, GetOperatorAppCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Get the full auth configuration of operator including any enabled auth flow
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, GetOperatorAppCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, GetOperatorAppCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
36
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
37
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
38
|
+
* const client = new DevOpsAgentClient(config);
|
|
39
|
+
* const input = { // GetOperatorAppInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetOperatorAppCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetOperatorAppOutput
|
|
45
|
+
* // iam: { // IamAuthConfiguration
|
|
46
|
+
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
47
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // },
|
|
50
|
+
* // idc: { // IdcAuthConfiguration
|
|
51
|
+
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
52
|
+
* // idcInstanceArn: "STRING_VALUE", // required
|
|
53
|
+
* // idcApplicationArn: "STRING_VALUE",
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // idp: { // IdpAuthConfiguration
|
|
58
|
+
* // issuerUrl: "STRING_VALUE", // required
|
|
59
|
+
* // clientId: "STRING_VALUE", // required
|
|
60
|
+
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
61
|
+
* // provider: "STRING_VALUE", // required
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetOperatorAppCommandInput - {@link GetOperatorAppCommandInput}
|
|
70
|
+
* @returns {@link GetOperatorAppCommandOutput}
|
|
71
|
+
* @see {@link GetOperatorAppCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetOperatorAppCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* A standard error for input validation failures.
|
|
83
|
+
* This should be thrown by services when a member of the input structure
|
|
84
|
+
* falls outside of the modeled or documented constraints.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
87
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ConflictException} (client fault)
|
|
90
|
+
* The request conflicts with the current state of the resource.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
93
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
96
|
+
* One or more parameters provided in the request are invalid.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
|
+
* The requested resource could not be found.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
102
|
+
* The request would exceed the service quota limit.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class GetOperatorAppCommand extends GetOperatorAppCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: GetOperatorAppInput;
|
|
115
|
+
output: GetOperatorAppOutput;
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: GetOperatorAppCommandInput;
|
|
119
|
+
output: GetOperatorAppCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsAgentClient";
|
|
4
|
+
import type { GetRecommendationRequest, GetRecommendationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetRecommendationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetRecommendationCommandInput extends GetRecommendationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetRecommendationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRecommendationCommandOutput extends GetRecommendationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetRecommendationCommand_base: {
|
|
25
|
+
new (input: GetRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves a specific recommendation by its ID
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, GetRecommendationCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, GetRecommendationCommand } = require("@aws-sdk/client-devops-agent"); // CommonJS import
|
|
36
|
+
* // import type { DevOpsAgentClientConfig } from "@aws-sdk/client-devops-agent";
|
|
37
|
+
* const config = {}; // type is DevOpsAgentClientConfig
|
|
38
|
+
* const client = new DevOpsAgentClient(config);
|
|
39
|
+
* const input = { // GetRecommendationRequest
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* recommendationId: "STRING_VALUE", // required
|
|
42
|
+
* recommendationVersion: Number("long"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetRecommendationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetRecommendationResponse
|
|
47
|
+
* // recommendation: { // Recommendation
|
|
48
|
+
* // agentSpaceArn: "STRING_VALUE", // required
|
|
49
|
+
* // recommendationId: "STRING_VALUE", // required
|
|
50
|
+
* // taskId: "STRING_VALUE", // required
|
|
51
|
+
* // goalId: "STRING_VALUE",
|
|
52
|
+
* // title: "STRING_VALUE", // required
|
|
53
|
+
* // content: { // RecommendationContent
|
|
54
|
+
* // summary: "STRING_VALUE", // required
|
|
55
|
+
* // spec: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // status: "PROPOSED" || "ACCEPTED" || "REJECTED" || "CLOSED" || "COMPLETED" || "UPDATE_IN_PROGRESS", // required
|
|
58
|
+
* // priority: "HIGH" || "MEDIUM" || "LOW", // required
|
|
59
|
+
* // goalVersion: Number("long"),
|
|
60
|
+
* // additionalContext: "STRING_VALUE",
|
|
61
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // version: Number("long"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetRecommendationCommandInput - {@link GetRecommendationCommandInput}
|
|
70
|
+
* @returns {@link GetRecommendationCommandOutput}
|
|
71
|
+
* @see {@link GetRecommendationCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetRecommendationCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* The requested resource could not be found.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* A standard error for input validation failures.
|
|
89
|
+
* This should be thrown by services when a member of the input structure
|
|
90
|
+
* falls outside of the modeled or documented constraints.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ConflictException} (client fault)
|
|
93
|
+
* The request conflicts with the current state of the resource.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
96
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
99
|
+
* One or more parameters provided in the request are invalid.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
102
|
+
* The request would exceed the service quota limit.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class GetRecommendationCommand extends GetRecommendationCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: GetRecommendationRequest;
|
|
115
|
+
output: GetRecommendationResponse;
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: GetRecommendationCommandInput;
|
|
119
|
+
output: GetRecommendationCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|