@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,110 @@
|
|
|
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 { ListWebhooksInput, ListWebhooksOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListWebhooksCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWebhooksCommandInput extends ListWebhooksInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWebhooksCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWebhooksCommandOutput extends ListWebhooksOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListWebhooksCommand_base: {
|
|
25
|
+
new (input: ListWebhooksCommandInput): import("@smithy/smithy-client").CommandImpl<ListWebhooksCommandInput, ListWebhooksCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListWebhooksCommandInput): import("@smithy/smithy-client").CommandImpl<ListWebhooksCommandInput, ListWebhooksCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* List all webhooks for given Association
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, ListWebhooksCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, ListWebhooksCommand } = 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 = { // ListWebhooksInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* associationId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListWebhooksCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListWebhooksOutput
|
|
46
|
+
* // webhooks: [ // WebhooksList // required
|
|
47
|
+
* // { // Webhook
|
|
48
|
+
* // webhookUrl: "STRING_VALUE", // required
|
|
49
|
+
* // webhookType: "hmac" || "apikey" || "gitlab" || "pagerduty",
|
|
50
|
+
* // webhookId: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListWebhooksCommandInput - {@link ListWebhooksCommandInput}
|
|
58
|
+
* @returns {@link ListWebhooksCommandOutput}
|
|
59
|
+
* @see {@link ListWebhooksCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListWebhooksCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* The requested resource could not be found.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* A standard error for input validation failures.
|
|
74
|
+
* This should be thrown by services when a member of the input structure
|
|
75
|
+
* falls outside of the modeled or documented constraints.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* The request conflicts with the current state of the resource.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
84
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
87
|
+
* One or more parameters provided in the request are invalid.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
90
|
+
* The request would exceed the service quota limit.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ListWebhooksCommand extends ListWebhooksCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: ListWebhooksInput;
|
|
103
|
+
output: ListWebhooksOutput;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: ListWebhooksCommandInput;
|
|
107
|
+
output: ListWebhooksCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,347 @@
|
|
|
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 { RegisterServiceInput, RegisterServiceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RegisterServiceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RegisterServiceCommandInput extends RegisterServiceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RegisterServiceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisterServiceCommandOutput extends RegisterServiceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RegisterServiceCommand_base: {
|
|
25
|
+
new (input: RegisterServiceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterServiceCommandInput, RegisterServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RegisterServiceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterServiceCommandInput, RegisterServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* This operation registers the specified service
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, RegisterServiceCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, RegisterServiceCommand } = 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 = { // RegisterServiceInput
|
|
40
|
+
* service: "dynatrace" || "servicenow" || "pagerduty" || "gitlab" || "eventChannel" || "mcpservernewrelic" || "mcpservergrafana" || "mcpserverdatadog" || "mcpserver" || "mcpserversplunk" || "azureidentity" || "mcpserversigv4", // required
|
|
41
|
+
* serviceDetails: { // ServiceDetails Union: only one key present
|
|
42
|
+
* dynatrace: { // DynatraceServiceDetails
|
|
43
|
+
* accountUrn: "STRING_VALUE", // required
|
|
44
|
+
* authorizationConfig: { // DynatraceServiceAuthorizationConfig Union: only one key present
|
|
45
|
+
* oAuthClientCredentials: { // DynatraceOAuthClientCredentialsConfig
|
|
46
|
+
* clientName: "STRING_VALUE",
|
|
47
|
+
* clientId: "STRING_VALUE", // required
|
|
48
|
+
* exchangeParameters: { // ExchangeParameters
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* clientSecret: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* servicenow: { // ServiceNowServiceDetails
|
|
56
|
+
* instanceUrl: "STRING_VALUE", // required
|
|
57
|
+
* authorizationConfig: { // ServiceNowServiceAuthorizationConfig Union: only one key present
|
|
58
|
+
* oAuthClientCredentials: { // ServiceNowOAuthClientCredentialsConfig
|
|
59
|
+
* clientName: "STRING_VALUE",
|
|
60
|
+
* clientId: "STRING_VALUE", // required
|
|
61
|
+
* exchangeParameters: {
|
|
62
|
+
* "<keys>": "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* clientSecret: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* mcpserverdatadog: { // DatadogServiceDetails
|
|
69
|
+
* name: "STRING_VALUE", // required
|
|
70
|
+
* endpoint: "STRING_VALUE", // required
|
|
71
|
+
* description: "STRING_VALUE",
|
|
72
|
+
* authorizationConfig: { // DatadogAuthorizationConfig Union: only one key present
|
|
73
|
+
* authorizationDiscovery: { // MCPServerAuthorizationDiscoveryConfig
|
|
74
|
+
* returnToEndpoint: "STRING_VALUE", // required
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* mcpserver: { // MCPServerDetails
|
|
79
|
+
* name: "STRING_VALUE", // required
|
|
80
|
+
* endpoint: "STRING_VALUE", // required
|
|
81
|
+
* description: "STRING_VALUE",
|
|
82
|
+
* authorizationConfig: { // MCPServerAuthorizationConfig Union: only one key present
|
|
83
|
+
* oAuthClientCredentials: { // MCPServerOAuthClientCredentialsConfig
|
|
84
|
+
* clientName: "STRING_VALUE",
|
|
85
|
+
* clientId: "STRING_VALUE", // required
|
|
86
|
+
* exchangeParameters: {
|
|
87
|
+
* "<keys>": "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* clientSecret: "STRING_VALUE", // required
|
|
90
|
+
* exchangeUrl: "STRING_VALUE", // required
|
|
91
|
+
* scopes: [ // Scopes
|
|
92
|
+
* "STRING_VALUE",
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* oAuth3LO: { // MCPServerOAuth3LOConfig
|
|
96
|
+
* clientName: "STRING_VALUE",
|
|
97
|
+
* clientId: "STRING_VALUE", // required
|
|
98
|
+
* exchangeParameters: {
|
|
99
|
+
* "<keys>": "STRING_VALUE",
|
|
100
|
+
* },
|
|
101
|
+
* returnToEndpoint: "STRING_VALUE", // required
|
|
102
|
+
* authorizationUrl: "STRING_VALUE", // required
|
|
103
|
+
* exchangeUrl: "STRING_VALUE", // required
|
|
104
|
+
* clientSecret: "STRING_VALUE",
|
|
105
|
+
* supportCodeChallenge: true || false,
|
|
106
|
+
* scopes: [
|
|
107
|
+
* "STRING_VALUE",
|
|
108
|
+
* ],
|
|
109
|
+
* },
|
|
110
|
+
* apiKey: { // MCPServerAPIKeyConfig
|
|
111
|
+
* apiKeyName: "STRING_VALUE", // required
|
|
112
|
+
* apiKeyValue: "STRING_VALUE", // required
|
|
113
|
+
* apiKeyHeader: "STRING_VALUE", // required
|
|
114
|
+
* },
|
|
115
|
+
* bearerToken: { // MCPServerBearerTokenConfig
|
|
116
|
+
* tokenName: "STRING_VALUE", // required
|
|
117
|
+
* tokenValue: "STRING_VALUE", // required
|
|
118
|
+
* authorizationHeader: "STRING_VALUE",
|
|
119
|
+
* },
|
|
120
|
+
* authorizationDiscovery: {
|
|
121
|
+
* returnToEndpoint: "STRING_VALUE", // required
|
|
122
|
+
* },
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* gitlab: { // GitLabDetails
|
|
126
|
+
* targetUrl: "STRING_VALUE", // required
|
|
127
|
+
* tokenType: "personal" || "group", // required
|
|
128
|
+
* tokenValue: "STRING_VALUE", // required
|
|
129
|
+
* groupId: "STRING_VALUE",
|
|
130
|
+
* },
|
|
131
|
+
* mcpserversplunk: {
|
|
132
|
+
* name: "STRING_VALUE", // required
|
|
133
|
+
* endpoint: "STRING_VALUE", // required
|
|
134
|
+
* description: "STRING_VALUE",
|
|
135
|
+
* authorizationConfig: {// Union: only one key present
|
|
136
|
+
* oAuthClientCredentials: {
|
|
137
|
+
* clientName: "STRING_VALUE",
|
|
138
|
+
* clientId: "STRING_VALUE", // required
|
|
139
|
+
* exchangeParameters: {
|
|
140
|
+
* "<keys>": "STRING_VALUE",
|
|
141
|
+
* },
|
|
142
|
+
* clientSecret: "STRING_VALUE", // required
|
|
143
|
+
* exchangeUrl: "STRING_VALUE", // required
|
|
144
|
+
* scopes: [
|
|
145
|
+
* "STRING_VALUE",
|
|
146
|
+
* ],
|
|
147
|
+
* },
|
|
148
|
+
* oAuth3LO: {
|
|
149
|
+
* clientName: "STRING_VALUE",
|
|
150
|
+
* clientId: "STRING_VALUE", // required
|
|
151
|
+
* exchangeParameters: "<ExchangeParameters>",
|
|
152
|
+
* returnToEndpoint: "STRING_VALUE", // required
|
|
153
|
+
* authorizationUrl: "STRING_VALUE", // required
|
|
154
|
+
* exchangeUrl: "STRING_VALUE", // required
|
|
155
|
+
* clientSecret: "STRING_VALUE",
|
|
156
|
+
* supportCodeChallenge: true || false,
|
|
157
|
+
* scopes: [
|
|
158
|
+
* "STRING_VALUE",
|
|
159
|
+
* ],
|
|
160
|
+
* },
|
|
161
|
+
* apiKey: {
|
|
162
|
+
* apiKeyName: "STRING_VALUE", // required
|
|
163
|
+
* apiKeyValue: "STRING_VALUE", // required
|
|
164
|
+
* apiKeyHeader: "STRING_VALUE", // required
|
|
165
|
+
* },
|
|
166
|
+
* bearerToken: {
|
|
167
|
+
* tokenName: "STRING_VALUE", // required
|
|
168
|
+
* tokenValue: "STRING_VALUE", // required
|
|
169
|
+
* authorizationHeader: "STRING_VALUE",
|
|
170
|
+
* },
|
|
171
|
+
* authorizationDiscovery: {
|
|
172
|
+
* returnToEndpoint: "STRING_VALUE", // required
|
|
173
|
+
* },
|
|
174
|
+
* },
|
|
175
|
+
* },
|
|
176
|
+
* mcpservernewrelic: { // NewRelicServiceDetails
|
|
177
|
+
* authorizationConfig: { // NewRelicServiceAuthorizationConfig Union: only one key present
|
|
178
|
+
* apiKey: { // NewRelicApiKeyConfig
|
|
179
|
+
* apiKey: "STRING_VALUE", // required
|
|
180
|
+
* accountId: "STRING_VALUE", // required
|
|
181
|
+
* region: "US" || "EU", // required
|
|
182
|
+
* applicationIds: [ // NewRelicApplicationIds
|
|
183
|
+
* "STRING_VALUE",
|
|
184
|
+
* ],
|
|
185
|
+
* entityGuids: [ // NewRelicEntityGuids
|
|
186
|
+
* "STRING_VALUE",
|
|
187
|
+
* ],
|
|
188
|
+
* alertPolicyIds: [ // NewRelicAlertPolicyIds
|
|
189
|
+
* "STRING_VALUE",
|
|
190
|
+
* ],
|
|
191
|
+
* },
|
|
192
|
+
* },
|
|
193
|
+
* },
|
|
194
|
+
* eventChannel: { // EventChannelDetails
|
|
195
|
+
* type: "webhook",
|
|
196
|
+
* },
|
|
197
|
+
* mcpservergrafana: { // GrafanaServiceDetails
|
|
198
|
+
* name: "STRING_VALUE", // required
|
|
199
|
+
* endpoint: "STRING_VALUE", // required
|
|
200
|
+
* description: "STRING_VALUE",
|
|
201
|
+
* authorizationConfig: {// Union: only one key present
|
|
202
|
+
* oAuthClientCredentials: {
|
|
203
|
+
* clientName: "STRING_VALUE",
|
|
204
|
+
* clientId: "STRING_VALUE", // required
|
|
205
|
+
* exchangeParameters: "<ExchangeParameters>",
|
|
206
|
+
* clientSecret: "STRING_VALUE", // required
|
|
207
|
+
* exchangeUrl: "STRING_VALUE", // required
|
|
208
|
+
* scopes: [
|
|
209
|
+
* "STRING_VALUE",
|
|
210
|
+
* ],
|
|
211
|
+
* },
|
|
212
|
+
* oAuth3LO: {
|
|
213
|
+
* clientName: "STRING_VALUE",
|
|
214
|
+
* clientId: "STRING_VALUE", // required
|
|
215
|
+
* exchangeParameters: "<ExchangeParameters>",
|
|
216
|
+
* returnToEndpoint: "STRING_VALUE", // required
|
|
217
|
+
* authorizationUrl: "STRING_VALUE", // required
|
|
218
|
+
* exchangeUrl: "STRING_VALUE", // required
|
|
219
|
+
* clientSecret: "STRING_VALUE",
|
|
220
|
+
* supportCodeChallenge: true || false,
|
|
221
|
+
* scopes: "<Scopes>",
|
|
222
|
+
* },
|
|
223
|
+
* apiKey: {
|
|
224
|
+
* apiKeyName: "STRING_VALUE", // required
|
|
225
|
+
* apiKeyValue: "STRING_VALUE", // required
|
|
226
|
+
* apiKeyHeader: "STRING_VALUE", // required
|
|
227
|
+
* },
|
|
228
|
+
* bearerToken: {
|
|
229
|
+
* tokenName: "STRING_VALUE", // required
|
|
230
|
+
* tokenValue: "STRING_VALUE", // required
|
|
231
|
+
* authorizationHeader: "STRING_VALUE",
|
|
232
|
+
* },
|
|
233
|
+
* authorizationDiscovery: {
|
|
234
|
+
* returnToEndpoint: "STRING_VALUE", // required
|
|
235
|
+
* },
|
|
236
|
+
* },
|
|
237
|
+
* },
|
|
238
|
+
* pagerduty: { // PagerDutyDetails
|
|
239
|
+
* scopes: [ // PagerDutyScopes // required
|
|
240
|
+
* "STRING_VALUE",
|
|
241
|
+
* ],
|
|
242
|
+
* authorizationConfig: { // PagerDutyAuthorizationConfig Union: only one key present
|
|
243
|
+
* oAuthClientCredentials: { // PagerDutyOAuthClientCredentialsConfig
|
|
244
|
+
* clientName: "STRING_VALUE",
|
|
245
|
+
* clientId: "STRING_VALUE", // required
|
|
246
|
+
* exchangeParameters: "<ExchangeParameters>",
|
|
247
|
+
* clientSecret: "STRING_VALUE", // required
|
|
248
|
+
* },
|
|
249
|
+
* },
|
|
250
|
+
* },
|
|
251
|
+
* azureidentity: { // RegisteredAzureIdentityDetails
|
|
252
|
+
* tenantId: "STRING_VALUE", // required
|
|
253
|
+
* clientId: "STRING_VALUE", // required
|
|
254
|
+
* webIdentityRoleArn: "STRING_VALUE", // required
|
|
255
|
+
* webIdentityTokenAudiences: [ // WebIdentityTokenAudienceList // required
|
|
256
|
+
* "STRING_VALUE",
|
|
257
|
+
* ],
|
|
258
|
+
* },
|
|
259
|
+
* mcpserversigv4: { // MCPServerSigV4ServiceDetails
|
|
260
|
+
* name: "STRING_VALUE", // required
|
|
261
|
+
* endpoint: "STRING_VALUE", // required
|
|
262
|
+
* description: "STRING_VALUE",
|
|
263
|
+
* authorizationConfig: { // MCPServerSigV4AuthorizationConfig
|
|
264
|
+
* region: "STRING_VALUE", // required
|
|
265
|
+
* service: "STRING_VALUE", // required
|
|
266
|
+
* roleArn: "STRING_VALUE", // required
|
|
267
|
+
* },
|
|
268
|
+
* },
|
|
269
|
+
* },
|
|
270
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
271
|
+
* privateConnectionName: "STRING_VALUE",
|
|
272
|
+
* name: "STRING_VALUE",
|
|
273
|
+
* tags: { // Tags
|
|
274
|
+
* "<keys>": "STRING_VALUE",
|
|
275
|
+
* },
|
|
276
|
+
* };
|
|
277
|
+
* const command = new RegisterServiceCommand(input);
|
|
278
|
+
* const response = await client.send(command);
|
|
279
|
+
* // { // RegisterServiceOutput
|
|
280
|
+
* // serviceId: "STRING_VALUE",
|
|
281
|
+
* // additionalStep: { // AdditionalServiceRegistrationStep Union: only one key present
|
|
282
|
+
* // oauth: { // OAuthAdditionalStepDetails
|
|
283
|
+
* // authorizationUrl: "STRING_VALUE", // required
|
|
284
|
+
* // },
|
|
285
|
+
* // },
|
|
286
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
287
|
+
* // tags: { // Tags
|
|
288
|
+
* // "<keys>": "STRING_VALUE",
|
|
289
|
+
* // },
|
|
290
|
+
* // };
|
|
291
|
+
*
|
|
292
|
+
* ```
|
|
293
|
+
*
|
|
294
|
+
* @param RegisterServiceCommandInput - {@link RegisterServiceCommandInput}
|
|
295
|
+
* @returns {@link RegisterServiceCommandOutput}
|
|
296
|
+
* @see {@link RegisterServiceCommandInput} for command's `input` shape.
|
|
297
|
+
* @see {@link RegisterServiceCommandOutput} for command's `response` shape.
|
|
298
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
299
|
+
*
|
|
300
|
+
* @throws {@link InternalServerException} (server fault)
|
|
301
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
302
|
+
*
|
|
303
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
304
|
+
* One or more parameters provided in the request are invalid.
|
|
305
|
+
*
|
|
306
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
307
|
+
* The requested resource could not be found.
|
|
308
|
+
*
|
|
309
|
+
* @throws {@link ValidationException} (client fault)
|
|
310
|
+
* A standard error for input validation failures.
|
|
311
|
+
* This should be thrown by services when a member of the input structure
|
|
312
|
+
* falls outside of the modeled or documented constraints.
|
|
313
|
+
*
|
|
314
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
315
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
316
|
+
*
|
|
317
|
+
* @throws {@link ConflictException} (client fault)
|
|
318
|
+
* The request conflicts with the current state of the resource.
|
|
319
|
+
*
|
|
320
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
321
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
322
|
+
*
|
|
323
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
324
|
+
* The request would exceed the service quota limit.
|
|
325
|
+
*
|
|
326
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
327
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
328
|
+
*
|
|
329
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
330
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
331
|
+
*
|
|
332
|
+
*
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
export declare class RegisterServiceCommand extends RegisterServiceCommand_base {
|
|
336
|
+
/** @internal type navigation helper, not in runtime. */
|
|
337
|
+
protected static __types: {
|
|
338
|
+
api: {
|
|
339
|
+
input: RegisterServiceInput;
|
|
340
|
+
output: RegisterServiceOutput;
|
|
341
|
+
};
|
|
342
|
+
sdk: {
|
|
343
|
+
input: RegisterServiceCommandInput;
|
|
344
|
+
output: RegisterServiceCommandOutput;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
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 { SendMessageRequest, SendMessageResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendMessageCommandInput extends SendMessageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendMessageCommandOutput extends SendMessageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendMessageCommand_base: {
|
|
25
|
+
new (input: SendMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendMessageCommandInput, SendMessageCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendMessageCommandInput, SendMessageCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Sends a chat message and streams the response for the specified agent space execution
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, SendMessageCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, SendMessageCommand } = 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 = { // SendMessageRequest
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* executionId: "STRING_VALUE", // required
|
|
42
|
+
* content: "STRING_VALUE", // required
|
|
43
|
+
* context: { // SendMessageContext
|
|
44
|
+
* currentPage: "STRING_VALUE",
|
|
45
|
+
* lastMessage: "STRING_VALUE",
|
|
46
|
+
* userActionResponse: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* userId: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
50
|
+
* const command = new SendMessageCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // SendMessageResponse
|
|
53
|
+
* // events: { // SendMessageEvents Union: only one key present
|
|
54
|
+
* // responseCreated: { // SendMessageResponseCreatedEvent
|
|
55
|
+
* // responseId: "STRING_VALUE",
|
|
56
|
+
* // sequenceNumber: Number("int"),
|
|
57
|
+
* // },
|
|
58
|
+
* // responseInProgress: { // SendMessageResponseInProgressEvent
|
|
59
|
+
* // responseId: "STRING_VALUE",
|
|
60
|
+
* // sequenceNumber: Number("int"),
|
|
61
|
+
* // },
|
|
62
|
+
* // responseCompleted: { // SendMessageResponseCompletedEvent
|
|
63
|
+
* // responseId: "STRING_VALUE",
|
|
64
|
+
* // usage: { // SendMessageUsageInfo
|
|
65
|
+
* // inputTokens: Number("int"),
|
|
66
|
+
* // outputTokens: Number("int"),
|
|
67
|
+
* // totalTokens: Number("int"),
|
|
68
|
+
* // },
|
|
69
|
+
* // sequenceNumber: Number("int"),
|
|
70
|
+
* // },
|
|
71
|
+
* // responseFailed: { // SendMessageResponseFailedEvent
|
|
72
|
+
* // responseId: "STRING_VALUE",
|
|
73
|
+
* // errorCode: "STRING_VALUE",
|
|
74
|
+
* // errorMessage: "STRING_VALUE",
|
|
75
|
+
* // sequenceNumber: Number("int"),
|
|
76
|
+
* // },
|
|
77
|
+
* // summary: { // SendMessageSummaryEvent
|
|
78
|
+
* // content: "STRING_VALUE",
|
|
79
|
+
* // sequenceNumber: Number("int"),
|
|
80
|
+
* // },
|
|
81
|
+
* // heartbeat: {},
|
|
82
|
+
* // contentBlockStart: { // SendMessageContentBlockStartEvent
|
|
83
|
+
* // index: Number("int"),
|
|
84
|
+
* // type: "STRING_VALUE",
|
|
85
|
+
* // id: "STRING_VALUE",
|
|
86
|
+
* // parentId: "STRING_VALUE",
|
|
87
|
+
* // sequenceNumber: Number("int"),
|
|
88
|
+
* // },
|
|
89
|
+
* // contentBlockDelta: { // SendMessageContentBlockDeltaEvent
|
|
90
|
+
* // index: Number("int"),
|
|
91
|
+
* // delta: { // SendMessageContentBlockDelta Union: only one key present
|
|
92
|
+
* // textDelta: { // SendMessageTextDelta
|
|
93
|
+
* // text: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // jsonDelta: { // SendMessageJsonDelta
|
|
96
|
+
* // partialJson: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // },
|
|
99
|
+
* // sequenceNumber: Number("int"),
|
|
100
|
+
* // },
|
|
101
|
+
* // contentBlockStop: { // SendMessageContentBlockStopEvent
|
|
102
|
+
* // index: Number("int"),
|
|
103
|
+
* // type: "STRING_VALUE",
|
|
104
|
+
* // text: "STRING_VALUE",
|
|
105
|
+
* // last: true || false,
|
|
106
|
+
* // sequenceNumber: Number("int"),
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param SendMessageCommandInput - {@link SendMessageCommandInput}
|
|
114
|
+
* @returns {@link SendMessageCommandOutput}
|
|
115
|
+
* @see {@link SendMessageCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link SendMessageCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
120
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link InternalServerException} (server fault)
|
|
123
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
126
|
+
* The requested resource could not be found.
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
129
|
+
* The request would exceed the service quota limit.
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
132
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link ValidationException} (client fault)
|
|
135
|
+
* A standard error for input validation failures.
|
|
136
|
+
* This should be thrown by services when a member of the input structure
|
|
137
|
+
* falls outside of the modeled or documented constraints.
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link ConflictException} (client fault)
|
|
140
|
+
* The request conflicts with the current state of the resource.
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
143
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
146
|
+
* One or more parameters provided in the request are invalid.
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
150
|
+
*
|
|
151
|
+
*
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export declare class SendMessageCommand extends SendMessageCommand_base {
|
|
155
|
+
/** @internal type navigation helper, not in runtime. */
|
|
156
|
+
protected static __types: {
|
|
157
|
+
api: {
|
|
158
|
+
input: SendMessageRequest;
|
|
159
|
+
output: SendMessageResponse;
|
|
160
|
+
};
|
|
161
|
+
sdk: {
|
|
162
|
+
input: SendMessageCommandInput;
|
|
163
|
+
output: SendMessageCommandOutput;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
}
|