@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,188 @@
|
|
|
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 { GetServiceInput, GetServiceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetServiceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetServiceCommandInput extends GetServiceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetServiceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetServiceCommandOutput extends GetServiceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetServiceCommand_base: {
|
|
25
|
+
new (input: GetServiceCommandInput): import("@smithy/smithy-client").CommandImpl<GetServiceCommandInput, GetServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetServiceCommandInput): import("@smithy/smithy-client").CommandImpl<GetServiceCommandInput, GetServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves given service by it's unique identifier
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, GetServiceCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, GetServiceCommand } = 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 = { // GetServiceInput
|
|
40
|
+
* serviceId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetServiceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetServiceOutput
|
|
45
|
+
* // service: { // RegisteredService
|
|
46
|
+
* // serviceId: "STRING_VALUE", // required
|
|
47
|
+
* // serviceType: "github" || "slack" || "azure" || "azuredevops" || "msteams" || "dynatrace" || "servicenow" || "pagerduty" || "gitlab" || "eventChannel" || "mcpservernewrelic" || "mcpservergrafana" || "mcpserverdatadog" || "mcpserver" || "mcpserversplunk" || "azureidentity" || "mcpserversigv4", // required
|
|
48
|
+
* // name: "STRING_VALUE",
|
|
49
|
+
* // accessibleResources: [ // DocumentList
|
|
50
|
+
* // "DOCUMENT_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // additionalServiceDetails: { // AdditionalServiceDetails Union: only one key present
|
|
53
|
+
* // github: { // RegisteredGithubServiceDetails
|
|
54
|
+
* // owner: "STRING_VALUE", // required
|
|
55
|
+
* // ownerType: "organization" || "user", // required
|
|
56
|
+
* // targetUrl: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // slack: { // RegisteredSlackServiceDetails
|
|
59
|
+
* // teamId: "STRING_VALUE", // required
|
|
60
|
+
* // teamName: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // mcpserverdatadog: { // RegisteredMCPServerDetails
|
|
63
|
+
* // name: "STRING_VALUE", // required
|
|
64
|
+
* // endpoint: "STRING_VALUE", // required
|
|
65
|
+
* // authorizationMethod: "oauth-client-credentials" || "oauth-3lo" || "api-key" || "bearer-token", // required
|
|
66
|
+
* // description: "STRING_VALUE",
|
|
67
|
+
* // apiKeyHeader: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // mcpserver: {
|
|
70
|
+
* // name: "STRING_VALUE", // required
|
|
71
|
+
* // endpoint: "STRING_VALUE", // required
|
|
72
|
+
* // authorizationMethod: "oauth-client-credentials" || "oauth-3lo" || "api-key" || "bearer-token", // required
|
|
73
|
+
* // description: "STRING_VALUE",
|
|
74
|
+
* // apiKeyHeader: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // servicenow: { // RegisteredServiceNowDetails
|
|
77
|
+
* // instanceUrl: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // gitlab: { // RegisteredGitLabServiceDetails
|
|
80
|
+
* // targetUrl: "STRING_VALUE", // required
|
|
81
|
+
* // tokenType: "personal" || "group", // required
|
|
82
|
+
* // groupId: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // mcpserversplunk: {
|
|
85
|
+
* // name: "STRING_VALUE", // required
|
|
86
|
+
* // endpoint: "STRING_VALUE", // required
|
|
87
|
+
* // authorizationMethod: "oauth-client-credentials" || "oauth-3lo" || "api-key" || "bearer-token", // required
|
|
88
|
+
* // description: "STRING_VALUE",
|
|
89
|
+
* // apiKeyHeader: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // mcpservernewrelic: { // RegisteredNewRelicDetails
|
|
92
|
+
* // accountId: "STRING_VALUE", // required
|
|
93
|
+
* // region: "US" || "EU", // required
|
|
94
|
+
* // description: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // azuredevops: { // RegisteredAzureDevOpsServiceDetails
|
|
97
|
+
* // organizationName: "STRING_VALUE", // required
|
|
98
|
+
* // },
|
|
99
|
+
* // azureidentity: { // RegisteredAzureIdentityDetails
|
|
100
|
+
* // tenantId: "STRING_VALUE", // required
|
|
101
|
+
* // clientId: "STRING_VALUE", // required
|
|
102
|
+
* // webIdentityRoleArn: "STRING_VALUE", // required
|
|
103
|
+
* // webIdentityTokenAudiences: [ // WebIdentityTokenAudienceList // required
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // mcpservergrafana: { // RegisteredGrafanaServerDetails
|
|
108
|
+
* // endpoint: "STRING_VALUE", // required
|
|
109
|
+
* // authorizationMethod: "oauth-client-credentials" || "oauth-3lo" || "api-key" || "bearer-token", // required
|
|
110
|
+
* // },
|
|
111
|
+
* // pagerduty: { // RegisteredPagerDutyDetails
|
|
112
|
+
* // scopes: [ // PagerDutyScopesList // required
|
|
113
|
+
* // "STRING_VALUE",
|
|
114
|
+
* // ],
|
|
115
|
+
* // },
|
|
116
|
+
* // mcpserversigv4: { // RegisteredMCPServerSigV4Details
|
|
117
|
+
* // name: "STRING_VALUE", // required
|
|
118
|
+
* // endpoint: "STRING_VALUE", // required
|
|
119
|
+
* // description: "STRING_VALUE",
|
|
120
|
+
* // region: "STRING_VALUE", // required
|
|
121
|
+
* // service: "STRING_VALUE", // required
|
|
122
|
+
* // roleArn: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // },
|
|
125
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
126
|
+
* // privateConnectionName: "STRING_VALUE",
|
|
127
|
+
* // },
|
|
128
|
+
* // tags: { // Tags
|
|
129
|
+
* // "<keys>": "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // };
|
|
132
|
+
*
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* @param GetServiceCommandInput - {@link GetServiceCommandInput}
|
|
136
|
+
* @returns {@link GetServiceCommandOutput}
|
|
137
|
+
* @see {@link GetServiceCommandInput} for command's `input` shape.
|
|
138
|
+
* @see {@link GetServiceCommandOutput} for command's `response` shape.
|
|
139
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link InternalServerException} (server fault)
|
|
142
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
145
|
+
* The requested resource could not be found.
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
148
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link ValidationException} (client fault)
|
|
151
|
+
* A standard error for input validation failures.
|
|
152
|
+
* This should be thrown by services when a member of the input structure
|
|
153
|
+
* falls outside of the modeled or documented constraints.
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
156
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link ConflictException} (client fault)
|
|
159
|
+
* The request conflicts with the current state of the resource.
|
|
160
|
+
*
|
|
161
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
162
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
163
|
+
*
|
|
164
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
165
|
+
* One or more parameters provided in the request are invalid.
|
|
166
|
+
*
|
|
167
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
168
|
+
* The request would exceed the service quota limit.
|
|
169
|
+
*
|
|
170
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
171
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
172
|
+
*
|
|
173
|
+
*
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export declare class GetServiceCommand extends GetServiceCommand_base {
|
|
177
|
+
/** @internal type navigation helper, not in runtime. */
|
|
178
|
+
protected static __types: {
|
|
179
|
+
api: {
|
|
180
|
+
input: GetServiceInput;
|
|
181
|
+
output: GetServiceOutput;
|
|
182
|
+
};
|
|
183
|
+
sdk: {
|
|
184
|
+
input: GetServiceCommandInput;
|
|
185
|
+
output: GetServiceCommandOutput;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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 { InitiateChatForCaseRequest, InitiateChatForCaseResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link InitiateChatForCaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface InitiateChatForCaseCommandInput extends InitiateChatForCaseRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link InitiateChatForCaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface InitiateChatForCaseCommandOutput extends InitiateChatForCaseResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const InitiateChatForCaseCommand_base: {
|
|
25
|
+
new (input: InitiateChatForCaseCommandInput): import("@smithy/smithy-client").CommandImpl<InitiateChatForCaseCommandInput, InitiateChatForCaseCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: InitiateChatForCaseCommandInput): import("@smithy/smithy-client").CommandImpl<InitiateChatForCaseCommandInput, InitiateChatForCaseCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Initiate a chat for support case in the specified agent space
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, InitiateChatForCaseCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, InitiateChatForCaseCommand } = 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 = { // InitiateChatForCaseRequest
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* taskId: "STRING_VALUE", // required
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new InitiateChatForCaseCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // InitiateChatForCaseResponse
|
|
47
|
+
* // chatParticipantConnection: { // ChatParticipantConnection
|
|
48
|
+
* // initialContactId: "STRING_VALUE", // required
|
|
49
|
+
* // participantId: "STRING_VALUE", // required
|
|
50
|
+
* // participantToken: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param InitiateChatForCaseCommandInput - {@link InitiateChatForCaseCommandInput}
|
|
57
|
+
* @returns {@link InitiateChatForCaseCommandOutput}
|
|
58
|
+
* @see {@link InitiateChatForCaseCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link InitiateChatForCaseCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* The request conflicts with the current state of the resource.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* The requested resource could not be found.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* A standard error for input validation failures.
|
|
79
|
+
* This should be thrown by services when a member of the input structure
|
|
80
|
+
* falls outside of the modeled or documented constraints.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
83
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
86
|
+
* One or more parameters provided in the request are invalid.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
89
|
+
* The request would exceed the service quota limit.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class InitiateChatForCaseCommand extends InitiateChatForCaseCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: InitiateChatForCaseRequest;
|
|
102
|
+
output: InitiateChatForCaseResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: InitiateChatForCaseCommandInput;
|
|
106
|
+
output: InitiateChatForCaseCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { ListAgentSpacesInput, ListAgentSpacesOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAgentSpacesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAgentSpacesCommandInput extends ListAgentSpacesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAgentSpacesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAgentSpacesCommandOutput extends ListAgentSpacesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAgentSpacesCommand_base: {
|
|
25
|
+
new (input: ListAgentSpacesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAgentSpacesCommandInput, ListAgentSpacesCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAgentSpacesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAgentSpacesCommandInput, ListAgentSpacesCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists all AgentSpaces with optional pagination.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, ListAgentSpacesCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, ListAgentSpacesCommand } = 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 = { // ListAgentSpacesInput
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListAgentSpacesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListAgentSpacesOutput
|
|
46
|
+
* // nextToken: "STRING_VALUE",
|
|
47
|
+
* // agentSpaces: [ // AgentSpaceList // required
|
|
48
|
+
* // { // AgentSpace
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // locale: "STRING_VALUE",
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
55
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param ListAgentSpacesCommandInput - {@link ListAgentSpacesCommandInput}
|
|
63
|
+
* @returns {@link ListAgentSpacesCommandOutput}
|
|
64
|
+
* @see {@link ListAgentSpacesCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link ListAgentSpacesCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* A standard error for input validation failures.
|
|
76
|
+
* This should be thrown by services when a member of the input structure
|
|
77
|
+
* falls outside of the modeled or documented constraints.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ConflictException} (client fault)
|
|
83
|
+
* The request conflicts with the current state of the resource.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
86
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
89
|
+
* One or more parameters provided in the request are invalid.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* The requested resource could not be found.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
95
|
+
* The request would exceed the service quota limit.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class ListAgentSpacesCommand extends ListAgentSpacesCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: ListAgentSpacesInput;
|
|
108
|
+
output: ListAgentSpacesOutput;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: ListAgentSpacesCommandInput;
|
|
112
|
+
output: ListAgentSpacesCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
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 { ListAssociationsInput, ListAssociationsOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAssociationsCommandInput extends ListAssociationsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAssociationsCommandOutput extends ListAssociationsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAssociationsCommand_base: {
|
|
25
|
+
new (input: ListAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociationsCommandInput, ListAssociationsCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAssociationsCommandInput, ListAssociationsCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* List all associations for given AgentSpace
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, ListAssociationsCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, ListAssociationsCommand } = 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 = { // ListAssociationsInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* filterServiceTypes: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListAssociationsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListAssociationsOutput
|
|
48
|
+
* // nextToken: "STRING_VALUE",
|
|
49
|
+
* // associations: [ // AssociationsList // required
|
|
50
|
+
* // { // Association
|
|
51
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // status: "valid" || "invalid" || "pending-confirmation",
|
|
55
|
+
* // associationId: "STRING_VALUE", // required
|
|
56
|
+
* // serviceId: "STRING_VALUE", // required
|
|
57
|
+
* // configuration: { // ServiceConfiguration Union: only one key present
|
|
58
|
+
* // sourceAws: { // SourceAwsConfiguration
|
|
59
|
+
* // accountId: "STRING_VALUE", // required
|
|
60
|
+
* // accountType: "source", // required
|
|
61
|
+
* // assumableRoleArn: "STRING_VALUE", // required
|
|
62
|
+
* // externalId: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // aws: { // AWSConfiguration
|
|
65
|
+
* // assumableRoleArn: "STRING_VALUE", // required
|
|
66
|
+
* // accountId: "STRING_VALUE", // required
|
|
67
|
+
* // accountType: "monitor", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // github: { // GitHubConfiguration
|
|
70
|
+
* // repoName: "STRING_VALUE", // required
|
|
71
|
+
* // repoId: "STRING_VALUE", // required
|
|
72
|
+
* // owner: "STRING_VALUE", // required
|
|
73
|
+
* // ownerType: "organization" || "user", // required
|
|
74
|
+
* // instanceIdentifier: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // slack: { // SlackConfiguration
|
|
77
|
+
* // workspaceId: "STRING_VALUE", // required
|
|
78
|
+
* // workspaceName: "STRING_VALUE", // required
|
|
79
|
+
* // transmissionTarget: { // SlackTransmissionTarget
|
|
80
|
+
* // opsOncallTarget: { // SlackChannel
|
|
81
|
+
* // channelName: "STRING_VALUE",
|
|
82
|
+
* // channelId: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // opsSRETarget: {
|
|
85
|
+
* // channelName: "STRING_VALUE",
|
|
86
|
+
* // channelId: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // dynatrace: { // DynatraceConfiguration
|
|
91
|
+
* // envId: "STRING_VALUE", // required
|
|
92
|
+
* // resources: [ // DynatraceResourceList
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // servicenow: { // ServiceNowConfiguration
|
|
97
|
+
* // instanceId: "STRING_VALUE",
|
|
98
|
+
* // authScopes: [ // ServiceNowAuthenticationScopeList
|
|
99
|
+
* // "STRING_VALUE",
|
|
100
|
+
* // ],
|
|
101
|
+
* // },
|
|
102
|
+
* // mcpservernewrelic: { // MCPServerNewRelicConfiguration
|
|
103
|
+
* // accountId: "STRING_VALUE", // required
|
|
104
|
+
* // endpoint: "STRING_VALUE", // required
|
|
105
|
+
* // },
|
|
106
|
+
* // gitlab: { // GitLabConfiguration
|
|
107
|
+
* // projectId: "STRING_VALUE", // required
|
|
108
|
+
* // projectPath: "STRING_VALUE", // required
|
|
109
|
+
* // instanceIdentifier: "STRING_VALUE",
|
|
110
|
+
* // },
|
|
111
|
+
* // eventChannel: {},
|
|
112
|
+
* // azure: { // AzureConfiguration
|
|
113
|
+
* // subscriptionId: "STRING_VALUE", // required
|
|
114
|
+
* // },
|
|
115
|
+
* // azuredevops: { // AzureDevOpsConfiguration
|
|
116
|
+
* // organizationName: "STRING_VALUE", // required
|
|
117
|
+
* // projectId: "STRING_VALUE", // required
|
|
118
|
+
* // projectName: "STRING_VALUE", // required
|
|
119
|
+
* // },
|
|
120
|
+
* // mcpservergrafana: { // MCPServerGrafanaConfiguration
|
|
121
|
+
* // endpoint: "STRING_VALUE", // required
|
|
122
|
+
* // organizationId: "STRING_VALUE",
|
|
123
|
+
* // tools: [ // MCPToolsList
|
|
124
|
+
* // "STRING_VALUE",
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // pagerduty: { // PagerDutyConfiguration
|
|
128
|
+
* // services: [ // PagerDutyServicesList // required
|
|
129
|
+
* // "STRING_VALUE",
|
|
130
|
+
* // ],
|
|
131
|
+
* // customerEmail: "STRING_VALUE", // required
|
|
132
|
+
* // },
|
|
133
|
+
* // msteams: { // MSTeamsConfiguration
|
|
134
|
+
* // teamId: "STRING_VALUE", // required
|
|
135
|
+
* // teamName: "STRING_VALUE", // required
|
|
136
|
+
* // transmissionTarget: { // MSTeamsTransmissionTarget
|
|
137
|
+
* // opsOncallTarget: { // MSTeamsChannel
|
|
138
|
+
* // channelName: "STRING_VALUE", // required
|
|
139
|
+
* // channelId: "STRING_VALUE", // required
|
|
140
|
+
* // },
|
|
141
|
+
* // opsSRETarget: {
|
|
142
|
+
* // channelName: "STRING_VALUE", // required
|
|
143
|
+
* // channelId: "STRING_VALUE", // required
|
|
144
|
+
* // },
|
|
145
|
+
* // },
|
|
146
|
+
* // },
|
|
147
|
+
* // },
|
|
148
|
+
* // },
|
|
149
|
+
* // ],
|
|
150
|
+
* // };
|
|
151
|
+
*
|
|
152
|
+
* ```
|
|
153
|
+
*
|
|
154
|
+
* @param ListAssociationsCommandInput - {@link ListAssociationsCommandInput}
|
|
155
|
+
* @returns {@link ListAssociationsCommandOutput}
|
|
156
|
+
* @see {@link ListAssociationsCommandInput} for command's `input` shape.
|
|
157
|
+
* @see {@link ListAssociationsCommandOutput} for command's `response` shape.
|
|
158
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link InternalServerException} (server fault)
|
|
161
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
164
|
+
* The requested resource could not be found.
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
167
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link ValidationException} (client fault)
|
|
170
|
+
* A standard error for input validation failures.
|
|
171
|
+
* This should be thrown by services when a member of the input structure
|
|
172
|
+
* falls outside of the modeled or documented constraints.
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
175
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link ConflictException} (client fault)
|
|
178
|
+
* The request conflicts with the current state of the resource.
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
181
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
184
|
+
* One or more parameters provided in the request are invalid.
|
|
185
|
+
*
|
|
186
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
187
|
+
* The request would exceed the service quota limit.
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
190
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
191
|
+
*
|
|
192
|
+
*
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export declare class ListAssociationsCommand extends ListAssociationsCommand_base {
|
|
196
|
+
/** @internal type navigation helper, not in runtime. */
|
|
197
|
+
protected static __types: {
|
|
198
|
+
api: {
|
|
199
|
+
input: ListAssociationsInput;
|
|
200
|
+
output: ListAssociationsOutput;
|
|
201
|
+
};
|
|
202
|
+
sdk: {
|
|
203
|
+
input: ListAssociationsCommandInput;
|
|
204
|
+
output: ListAssociationsCommandOutput;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
}
|