@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,105 @@
|
|
|
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 { DisableOperatorAppInput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisableOperatorAppCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisableOperatorAppCommandInput extends DisableOperatorAppInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisableOperatorAppCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisableOperatorAppCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisableOperatorAppCommand_base: {
|
|
25
|
+
new (input: DisableOperatorAppCommandInput): import("@smithy/smithy-client").CommandImpl<DisableOperatorAppCommandInput, DisableOperatorAppCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisableOperatorAppCommandInput): import("@smithy/smithy-client").CommandImpl<DisableOperatorAppCommandInput, DisableOperatorAppCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Disable the Operator App for the specified AgentSpace
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, DisableOperatorAppCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, DisableOperatorAppCommand } = 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 = { // DisableOperatorAppInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* authFlow: "iam" || "idc" || "idp",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DisableOperatorAppCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DisableOperatorAppCommandInput - {@link DisableOperatorAppCommandInput}
|
|
50
|
+
* @returns {@link DisableOperatorAppCommandOutput}
|
|
51
|
+
* @see {@link DisableOperatorAppCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DisableOperatorAppCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link IdentityCenterServiceException} (client fault)
|
|
56
|
+
* Calls to the customer Identity Center have failed
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* A standard error for input validation failures.
|
|
66
|
+
* This should be thrown by services when a member of the input structure
|
|
67
|
+
* falls outside of the modeled or documented constraints.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConflictException} (client fault)
|
|
73
|
+
* The request conflicts with the current state of the resource.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
76
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
79
|
+
* One or more parameters provided in the request are invalid.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* The requested resource could not be found.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
85
|
+
* The request would exceed the service quota limit.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class DisableOperatorAppCommand extends DisableOperatorAppCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: DisableOperatorAppInput;
|
|
98
|
+
output: {};
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: DisableOperatorAppCommandInput;
|
|
102
|
+
output: DisableOperatorAppCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 { DisassociateServiceInput, DisassociateServiceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateServiceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateServiceCommandInput extends DisassociateServiceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateServiceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateServiceCommandOutput extends DisassociateServiceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisassociateServiceCommand_base: {
|
|
25
|
+
new (input: DisassociateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateServiceCommandInput, DisassociateServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateServiceCommandInput, DisassociateServiceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Deletes a specific service association from an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, DisassociateServiceCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, DisassociateServiceCommand } = 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 = { // DisassociateServiceInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* associationId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DisassociateServiceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DisassociateServiceCommandInput - {@link DisassociateServiceCommandInput}
|
|
50
|
+
* @returns {@link DisassociateServiceCommandOutput}
|
|
51
|
+
* @see {@link DisassociateServiceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DisassociateServiceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* The requested resource could not be found.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* A standard error for input validation failures.
|
|
66
|
+
* This should be thrown by services when a member of the input structure
|
|
67
|
+
* falls outside of the modeled or documented constraints.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConflictException} (client fault)
|
|
73
|
+
* The request conflicts with the current state of the resource.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
76
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
79
|
+
* One or more parameters provided in the request are invalid.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* The request would exceed the service quota limit.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DisassociateServiceCommand extends DisassociateServiceCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: DisassociateServiceInput;
|
|
95
|
+
output: {};
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: DisassociateServiceCommandInput;
|
|
99
|
+
output: DisassociateServiceCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
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 { EnableOperatorAppInput, EnableOperatorAppOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EnableOperatorAppCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EnableOperatorAppCommandInput extends EnableOperatorAppInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EnableOperatorAppCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EnableOperatorAppCommandOutput extends EnableOperatorAppOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const EnableOperatorAppCommand_base: {
|
|
25
|
+
new (input: EnableOperatorAppCommandInput): import("@smithy/smithy-client").CommandImpl<EnableOperatorAppCommandInput, EnableOperatorAppCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: EnableOperatorAppCommandInput): import("@smithy/smithy-client").CommandImpl<EnableOperatorAppCommandInput, EnableOperatorAppCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Enable the Operator App to access the 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, EnableOperatorAppCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, EnableOperatorAppCommand } = 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 = { // EnableOperatorAppInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* authFlow: "iam" || "idc" || "idp", // required
|
|
42
|
+
* operatorAppRoleArn: "STRING_VALUE", // required
|
|
43
|
+
* idcInstanceArn: "STRING_VALUE",
|
|
44
|
+
* issuerUrl: "STRING_VALUE",
|
|
45
|
+
* idpClientId: "STRING_VALUE",
|
|
46
|
+
* idpClientSecret: "STRING_VALUE",
|
|
47
|
+
* provider: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new EnableOperatorAppCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // EnableOperatorAppOutput
|
|
52
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
53
|
+
* // iam: { // IamAuthConfiguration
|
|
54
|
+
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // },
|
|
58
|
+
* // idc: { // IdcAuthConfiguration
|
|
59
|
+
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
60
|
+
* // idcInstanceArn: "STRING_VALUE", // required
|
|
61
|
+
* // idcApplicationArn: "STRING_VALUE",
|
|
62
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // idp: { // IdpAuthConfiguration
|
|
66
|
+
* // issuerUrl: "STRING_VALUE", // required
|
|
67
|
+
* // clientId: "STRING_VALUE", // required
|
|
68
|
+
* // operatorAppRoleArn: "STRING_VALUE", // required
|
|
69
|
+
* // provider: "STRING_VALUE", // required
|
|
70
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // },
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param EnableOperatorAppCommandInput - {@link EnableOperatorAppCommandInput}
|
|
78
|
+
* @returns {@link EnableOperatorAppCommandOutput}
|
|
79
|
+
* @see {@link EnableOperatorAppCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link EnableOperatorAppCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link IdentityCenterServiceException} (client fault)
|
|
84
|
+
* Calls to the customer Identity Center have failed
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* A standard error for input validation failures.
|
|
94
|
+
* This should be thrown by services when a member of the input structure
|
|
95
|
+
* falls outside of the modeled or documented constraints.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
98
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ConflictException} (client fault)
|
|
101
|
+
* The request conflicts with the current state of the resource.
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
104
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
107
|
+
* One or more parameters provided in the request are invalid.
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
110
|
+
* The requested resource could not be found.
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
113
|
+
* The request would exceed the service quota limit.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
117
|
+
*
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class EnableOperatorAppCommand extends EnableOperatorAppCommand_base {
|
|
122
|
+
/** @internal type navigation helper, not in runtime. */
|
|
123
|
+
protected static __types: {
|
|
124
|
+
api: {
|
|
125
|
+
input: EnableOperatorAppInput;
|
|
126
|
+
output: EnableOperatorAppOutput;
|
|
127
|
+
};
|
|
128
|
+
sdk: {
|
|
129
|
+
input: EnableOperatorAppCommandInput;
|
|
130
|
+
output: EnableOperatorAppCommandOutput;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -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 { EndChatForCaseRequest, EndChatForCaseResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EndChatForCaseCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EndChatForCaseCommandInput extends EndChatForCaseRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EndChatForCaseCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EndChatForCaseCommandOutput extends EndChatForCaseResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const EndChatForCaseCommand_base: {
|
|
25
|
+
new (input: EndChatForCaseCommandInput): import("@smithy/smithy-client").CommandImpl<EndChatForCaseCommandInput, EndChatForCaseCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: EndChatForCaseCommandInput): import("@smithy/smithy-client").CommandImpl<EndChatForCaseCommandInput, EndChatForCaseCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* End a chat session for a 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, EndChatForCaseCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, EndChatForCaseCommand } = 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 = { // EndChatForCaseRequest
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* taskId: "STRING_VALUE", // required
|
|
42
|
+
* reason: "STRING_VALUE",
|
|
43
|
+
* requester: "STRING_VALUE",
|
|
44
|
+
* clientToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new EndChatForCaseCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // EndChatForCaseResponse
|
|
49
|
+
* // isDisconnected: true || false, // required
|
|
50
|
+
* // executionId: "STRING_VALUE",
|
|
51
|
+
* // errorMessage: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param EndChatForCaseCommandInput - {@link EndChatForCaseCommandInput}
|
|
57
|
+
* @returns {@link EndChatForCaseCommandOutput}
|
|
58
|
+
* @see {@link EndChatForCaseCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link EndChatForCaseCommandOutput} 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 InternalServerException} (server fault)
|
|
66
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* The requested resource could not be found.
|
|
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 ConflictException} (client fault)
|
|
80
|
+
* The request conflicts with the current state of the resource.
|
|
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 EndChatForCaseCommand extends EndChatForCaseCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: EndChatForCaseRequest;
|
|
102
|
+
output: EndChatForCaseResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: EndChatForCaseCommandInput;
|
|
106
|
+
output: EndChatForCaseCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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 { GetAccountUsageInput, GetAccountUsageOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAccountUsageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAccountUsageCommandInput extends GetAccountUsageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAccountUsageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAccountUsageCommandOutput extends GetAccountUsageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAccountUsageCommand_base: {
|
|
25
|
+
new (input: GetAccountUsageCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountUsageCommandInput, GetAccountUsageCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetAccountUsageCommandInput]): import("@smithy/smithy-client").CommandImpl<GetAccountUsageCommandInput, GetAccountUsageCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves monthly account usage metrics and limits for the AWS account.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, GetAccountUsageCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, GetAccountUsageCommand } = 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 = {};
|
|
40
|
+
* const command = new GetAccountUsageCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetAccountUsageOutput
|
|
43
|
+
* // monthlyAccountInvestigationHours: { // UsageMetric
|
|
44
|
+
* // limit: Number("int"), // required
|
|
45
|
+
* // usage: Number("double"), // required
|
|
46
|
+
* // },
|
|
47
|
+
* // monthlyAccountEvaluationHours: {
|
|
48
|
+
* // limit: Number("int"), // required
|
|
49
|
+
* // usage: Number("double"), // required
|
|
50
|
+
* // },
|
|
51
|
+
* // monthlyAccountSystemLearningHours: {
|
|
52
|
+
* // limit: Number("int"), // required
|
|
53
|
+
* // usage: Number("double"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // usagePeriodStartTime: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // usagePeriodEndTime: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetAccountUsageCommandInput - {@link GetAccountUsageCommandInput}
|
|
62
|
+
* @returns {@link GetAccountUsageCommandOutput}
|
|
63
|
+
* @see {@link GetAccountUsageCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetAccountUsageCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* The requested resource could not be found.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* A standard error for input validation failures.
|
|
81
|
+
* This should be thrown by services when a member of the input structure
|
|
82
|
+
* falls outside of the modeled or documented constraints.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* The request conflicts with the current state of the resource.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
88
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
91
|
+
* One or more parameters provided in the request are invalid.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
94
|
+
* The request would exceed the service quota limit.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class GetAccountUsageCommand extends GetAccountUsageCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: {};
|
|
107
|
+
output: GetAccountUsageOutput;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: GetAccountUsageCommandInput;
|
|
111
|
+
output: GetAccountUsageCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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 { GetAgentSpaceInput, GetAgentSpaceOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAgentSpaceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAgentSpaceCommandInput extends GetAgentSpaceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAgentSpaceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAgentSpaceCommandOutput extends GetAgentSpaceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAgentSpaceCommand_base: {
|
|
25
|
+
new (input: GetAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentSpaceCommandInput, GetAgentSpaceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAgentSpaceCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentSpaceCommandInput, GetAgentSpaceCommandOutput, DevOpsAgentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves detailed information about a specific AgentSpace.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DevOpsAgentClient, GetAgentSpaceCommand } from "@aws-sdk/client-devops-agent"; // ES Modules import
|
|
35
|
+
* // const { DevOpsAgentClient, GetAgentSpaceCommand } = 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 = { // GetAgentSpaceInput
|
|
40
|
+
* agentSpaceId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetAgentSpaceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetAgentSpaceOutput
|
|
45
|
+
* // agentSpace: { // AgentSpace
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // locale: "STRING_VALUE",
|
|
49
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
52
|
+
* // agentSpaceId: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // tags: { // Tags
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetAgentSpaceCommandInput - {@link GetAgentSpaceCommandInput}
|
|
62
|
+
* @returns {@link GetAgentSpaceCommandOutput}
|
|
63
|
+
* @see {@link GetAgentSpaceCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetAgentSpaceCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link DevOpsAgentClientResolvedConfig | config} for DevOpsAgentClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* This exception is thrown when an unexpected error occurs in the processing of a request.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* The requested resource could not be found.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* The request was throttled due to too many requests. Please slow down and try again.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* A standard error for input validation failures.
|
|
78
|
+
* This should be thrown by services when a member of the input structure
|
|
79
|
+
* falls outside of the modeled or documented constraints.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* Access to the requested resource is denied due to insufficient permissions.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* The request conflicts with the current state of the resource.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ContentSizeExceededException} (client fault)
|
|
88
|
+
* This exception is thrown when the content size exceeds the allowed limit.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
91
|
+
* One or more parameters provided in the request are invalid.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
94
|
+
* The request would exceed the service quota limit.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link DevOpsAgentServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from DevOpsAgent service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class GetAgentSpaceCommand extends GetAgentSpaceCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: GetAgentSpaceInput;
|
|
107
|
+
output: GetAgentSpaceOutput;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: GetAgentSpaceCommandInput;
|
|
111
|
+
output: GetAgentSpaceCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|