@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,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DevOpsAgentServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class DevOpsAgentServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, DevOpsAgentServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.DevOpsAgentServiceException = DevOpsAgentServiceException;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IdentityCenterServiceException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InvalidParameterException = exports.InternalServerException = exports.ContentSizeExceededException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const DevOpsAgentServiceException_1 = require("./DevOpsAgentServiceException");
|
|
5
|
+
class AccessDeniedException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConflictException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ConflictException = ConflictException;
|
|
31
|
+
class ContentSizeExceededException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
32
|
+
name = "ContentSizeExceededException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ContentSizeExceededException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ContentSizeExceededException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ContentSizeExceededException = ContentSizeExceededException;
|
|
44
|
+
class InternalServerException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
45
|
+
name = "InternalServerException";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
$retryable = {};
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServerException",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.InternalServerException = InternalServerException;
|
|
58
|
+
class InvalidParameterException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
59
|
+
name = "InvalidParameterException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "InvalidParameterException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
71
|
+
class ResourceNotFoundException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
72
|
+
name = "ResourceNotFoundException";
|
|
73
|
+
$fault = "client";
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "ResourceNotFoundException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
84
|
+
class ServiceQuotaExceededException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
85
|
+
name = "ServiceQuotaExceededException";
|
|
86
|
+
$fault = "client";
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceQuotaExceededException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
97
|
+
class ThrottlingException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
98
|
+
name = "ThrottlingException";
|
|
99
|
+
$fault = "client";
|
|
100
|
+
$retryable = {};
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ThrottlingException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ThrottlingException = ThrottlingException;
|
|
111
|
+
class ValidationException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
112
|
+
name = "ValidationException";
|
|
113
|
+
$fault = "client";
|
|
114
|
+
fieldList;
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "ValidationException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
122
|
+
this.fieldList = opts.fieldList;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.ValidationException = ValidationException;
|
|
126
|
+
class IdentityCenterServiceException extends DevOpsAgentServiceException_1.DevOpsAgentServiceException {
|
|
127
|
+
name = "IdentityCenterServiceException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
underlyingErrorCode;
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "IdentityCenterServiceException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
Object.setPrototypeOf(this, IdentityCenterServiceException.prototype);
|
|
137
|
+
this.underlyingErrorCode = opts.underlyingErrorCode;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.IdentityCenterServiceException = IdentityCenterServiceException;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
+
const eventstream_serde_browser_1 = require("@smithy/eventstream-serde-browser");
|
|
10
|
+
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
11
|
+
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
12
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
13
|
+
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
14
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
15
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
16
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
+
const getRuntimeConfig = (config) => {
|
|
18
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
21
|
+
return {
|
|
22
|
+
...clientSharedValues,
|
|
23
|
+
...config,
|
|
24
|
+
runtime: "browser",
|
|
25
|
+
defaultsMode,
|
|
26
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
27
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
28
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider,
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
32
|
+
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
33
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
34
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
35
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
37
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
|
+
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
+
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
11
|
+
const eventstream_serde_node_1 = require("@smithy/eventstream-serde-node");
|
|
12
|
+
const hash_node_1 = require("@smithy/hash-node");
|
|
13
|
+
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
14
|
+
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
15
|
+
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
16
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
17
|
+
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
18
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
20
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
21
|
+
const getRuntimeConfig = (config) => {
|
|
22
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
23
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
24
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
25
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
27
|
+
const loaderConfig = {
|
|
28
|
+
profile: config?.profile,
|
|
29
|
+
logger: clientSharedValues.logger,
|
|
30
|
+
};
|
|
31
|
+
return {
|
|
32
|
+
...clientSharedValues,
|
|
33
|
+
...config,
|
|
34
|
+
runtime: "node",
|
|
35
|
+
defaultsMode,
|
|
36
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
37
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
38
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
39
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
40
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,
|
|
41
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
42
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
43
|
+
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
44
|
+
retryMode: config?.retryMode ??
|
|
45
|
+
(0, node_config_provider_1.loadConfig)({
|
|
46
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
47
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
48
|
+
}, config),
|
|
49
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
50
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
51
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
52
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
53
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
+
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
8
|
+
return {
|
|
9
|
+
...browserDefaults,
|
|
10
|
+
...config,
|
|
11
|
+
runtime: "react-native",
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
const url_parser_1 = require("@smithy/url-parser");
|
|
8
|
+
const util_base64_1 = require("@smithy/util-base64");
|
|
9
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
|
+
const getRuntimeConfig = (config) => {
|
|
14
|
+
return {
|
|
15
|
+
apiVersion: "2026-01-01",
|
|
16
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
17
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
18
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
|
+
extensions: config?.extensions ?? [],
|
|
21
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultDevOpsAgentHttpAuthSchemeProvider,
|
|
22
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
23
|
+
{
|
|
24
|
+
schemeId: "aws.auth#sigv4",
|
|
25
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
30
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
32
|
+
defaultNamespace: "com.amazonaws.devopsagent",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
34
|
+
version: "2026-01-01",
|
|
35
|
+
serviceTarget: "DevOpsAgent",
|
|
36
|
+
},
|
|
37
|
+
serviceId: config?.serviceId ?? "DevOps Agent",
|
|
38
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
39
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
40
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|