@aws-sdk/client-ssm-sap 3.436.0 → 3.437.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/dist-cjs/models/models_0.js +32 -1
- package/dist-cjs/protocols/Aws_restJson1.js +38 -0
- package/dist-es/models/models_0.js +30 -0
- package/dist-es/protocols/Aws_restJson1.js +39 -1
- package/dist-types/commands/DeregisterApplicationCommand.d.ts +3 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetComponentCommand.d.ts +20 -1
- package/dist-types/commands/ListApplicationsCommand.d.ts +9 -1
- package/dist-types/commands/ListComponentsCommand.d.ts +4 -1
- package/dist-types/commands/RegisterApplicationCommand.d.ts +7 -3
- package/dist-types/commands/StartApplicationRefreshCommand.d.ts +3 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +168 -1
- package/dist-types/ts3.4/models/models_0.d.ts +50 -1
- package/package.json +4 -4
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateApplicationSettingsInputFilterSensitiveLog = exports.RegisterApplicationInputFilterSensitiveLog = exports.GetDatabaseOutputFilterSensitiveLog = exports.DatabaseFilterSensitiveLog = exports.ApplicationCredentialFilterSensitiveLog = exports.OperationStatus = exports.FilterOperator = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.PermissionActionType = exports.DatabaseStatus = exports.DatabaseType = exports.ConflictException = exports.ComponentStatus = exports.ReplicationMode = exports.OperationMode = exports.HostRole = exports.ComponentType = exports.ClusterStatus = exports.BackintMode = exports.CredentialType = exports.ApplicationType = exports.ApplicationStatus = exports.ApplicationDiscoveryStatus = void 0;
|
|
3
|
+
exports.UpdateApplicationSettingsInputFilterSensitiveLog = exports.RegisterApplicationInputFilterSensitiveLog = exports.GetDatabaseOutputFilterSensitiveLog = exports.DatabaseFilterSensitiveLog = exports.ApplicationCredentialFilterSensitiveLog = exports.OperationStatus = exports.FilterOperator = exports.UnauthorizedException = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.PermissionActionType = exports.DatabaseStatus = exports.DatabaseType = exports.ConflictException = exports.ComponentStatus = exports.ReplicationMode = exports.OperationMode = exports.HostRole = exports.DatabaseConnectionMethod = exports.ComponentType = exports.ClusterStatus = exports.BackintMode = exports.CredentialType = exports.ApplicationType = exports.ApplicationStatus = exports.ApplicationDiscoveryStatus = exports.AllocationType = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const SsmSapServiceException_1 = require("./SsmSapServiceException");
|
|
6
|
+
exports.AllocationType = {
|
|
7
|
+
ELASTIC_IP: "ELASTIC_IP",
|
|
8
|
+
OVERLAY: "OVERLAY",
|
|
9
|
+
UNKNOWN: "UNKNOWN",
|
|
10
|
+
VPC_SUBNET: "VPC_SUBNET",
|
|
11
|
+
};
|
|
6
12
|
exports.ApplicationDiscoveryStatus = {
|
|
7
13
|
DELETING: "DELETING",
|
|
8
14
|
REFRESH_FAILED: "REFRESH_FAILED",
|
|
@@ -22,6 +28,7 @@ exports.ApplicationStatus = {
|
|
|
22
28
|
};
|
|
23
29
|
exports.ApplicationType = {
|
|
24
30
|
HANA: "HANA",
|
|
31
|
+
SAP_ABAP: "SAP_ABAP",
|
|
25
32
|
};
|
|
26
33
|
exports.CredentialType = {
|
|
27
34
|
ADMIN: "ADMIN",
|
|
@@ -37,8 +44,18 @@ exports.ClusterStatus = {
|
|
|
37
44
|
STANDBY: "STANDBY",
|
|
38
45
|
};
|
|
39
46
|
exports.ComponentType = {
|
|
47
|
+
ABAP: "ABAP",
|
|
48
|
+
ASCS: "ASCS",
|
|
49
|
+
DIALOG: "DIALOG",
|
|
50
|
+
ERS: "ERS",
|
|
40
51
|
HANA: "HANA",
|
|
41
52
|
HANA_NODE: "HANA_NODE",
|
|
53
|
+
WD: "WD",
|
|
54
|
+
WEBDISP: "WEBDISP",
|
|
55
|
+
};
|
|
56
|
+
exports.DatabaseConnectionMethod = {
|
|
57
|
+
DIRECT: "DIRECT",
|
|
58
|
+
OVERLAY: "OVERLAY",
|
|
42
59
|
};
|
|
43
60
|
exports.HostRole = {
|
|
44
61
|
LEADER: "LEADER",
|
|
@@ -140,6 +157,20 @@ class ValidationException extends SsmSapServiceException_1.SsmSapServiceExceptio
|
|
|
140
157
|
}
|
|
141
158
|
}
|
|
142
159
|
exports.ValidationException = ValidationException;
|
|
160
|
+
class UnauthorizedException extends SsmSapServiceException_1.SsmSapServiceException {
|
|
161
|
+
constructor(opts) {
|
|
162
|
+
super({
|
|
163
|
+
name: "UnauthorizedException",
|
|
164
|
+
$fault: "client",
|
|
165
|
+
...opts,
|
|
166
|
+
});
|
|
167
|
+
this.name = "UnauthorizedException";
|
|
168
|
+
this.$fault = "client";
|
|
169
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
170
|
+
this.Message = opts.Message;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
143
174
|
exports.FilterOperator = {
|
|
144
175
|
EQUALS: "Equals",
|
|
145
176
|
GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
|
|
@@ -169,6 +169,7 @@ const se_ListApplicationsCommand = async (input, context) => {
|
|
|
169
169
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-applications";
|
|
170
170
|
let body;
|
|
171
171
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
172
|
+
Filters: (_) => (0, smithy_client_1._json)(_),
|
|
172
173
|
MaxResults: [],
|
|
173
174
|
NextToken: [],
|
|
174
175
|
}));
|
|
@@ -305,6 +306,7 @@ const se_RegisterApplicationCommand = async (input, context) => {
|
|
|
305
306
|
ApplicationId: [],
|
|
306
307
|
ApplicationType: [],
|
|
307
308
|
Credentials: (_) => (0, smithy_client_1._json)(_),
|
|
309
|
+
DatabaseArn: [],
|
|
308
310
|
Instances: (_) => (0, smithy_client_1._json)(_),
|
|
309
311
|
SapInstanceNumber: [],
|
|
310
312
|
Sid: [],
|
|
@@ -400,6 +402,7 @@ const se_UpdateApplicationSettingsCommand = async (input, context) => {
|
|
|
400
402
|
Backint: (_) => (0, smithy_client_1._json)(_),
|
|
401
403
|
CredentialsToAddOrUpdate: (_) => (0, smithy_client_1._json)(_),
|
|
402
404
|
CredentialsToRemove: (_) => (0, smithy_client_1._json)(_),
|
|
405
|
+
DatabaseArn: [],
|
|
403
406
|
}));
|
|
404
407
|
return new protocol_http_1.HttpRequest({
|
|
405
408
|
protocol,
|
|
@@ -473,6 +476,9 @@ const de_DeregisterApplicationCommandError = async (output, context) => {
|
|
|
473
476
|
case "InternalServerException":
|
|
474
477
|
case "com.amazonaws.ssmsap#InternalServerException":
|
|
475
478
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
479
|
+
case "UnauthorizedException":
|
|
480
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
481
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
476
482
|
case "ValidationException":
|
|
477
483
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
478
484
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -549,6 +555,9 @@ const de_GetComponentCommandError = async (output, context) => {
|
|
|
549
555
|
case "InternalServerException":
|
|
550
556
|
case "com.amazonaws.ssmsap#InternalServerException":
|
|
551
557
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
558
|
+
case "UnauthorizedException":
|
|
559
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
560
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
552
561
|
case "ValidationException":
|
|
553
562
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
554
563
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -746,6 +755,9 @@ const de_ListComponentsCommandError = async (output, context) => {
|
|
|
746
755
|
case "ResourceNotFoundException":
|
|
747
756
|
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
748
757
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
758
|
+
case "UnauthorizedException":
|
|
759
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
760
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
749
761
|
case "ValidationException":
|
|
750
762
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
751
763
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -946,6 +958,9 @@ const de_RegisterApplicationCommandError = async (output, context) => {
|
|
|
946
958
|
case "InternalServerException":
|
|
947
959
|
case "com.amazonaws.ssmsap#InternalServerException":
|
|
948
960
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
961
|
+
case "ResourceNotFoundException":
|
|
962
|
+
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
963
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
949
964
|
case "ValidationException":
|
|
950
965
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
951
966
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -989,6 +1004,9 @@ const de_StartApplicationRefreshCommandError = async (output, context) => {
|
|
|
989
1004
|
case "ResourceNotFoundException":
|
|
990
1005
|
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
991
1006
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1007
|
+
case "UnauthorizedException":
|
|
1008
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
1009
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
992
1010
|
case "ValidationException":
|
|
993
1011
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
994
1012
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -1105,6 +1123,9 @@ const de_UpdateApplicationSettingsCommandError = async (output, context) => {
|
|
|
1105
1123
|
case "ResourceNotFoundException":
|
|
1106
1124
|
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
1107
1125
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1126
|
+
case "UnauthorizedException":
|
|
1127
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
1128
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1108
1129
|
case "ValidationException":
|
|
1109
1130
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
1110
1131
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -1157,6 +1178,19 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1157
1178
|
});
|
|
1158
1179
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1159
1180
|
};
|
|
1181
|
+
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1182
|
+
const contents = (0, smithy_client_1.map)({});
|
|
1183
|
+
const data = parsedOutput.body;
|
|
1184
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1185
|
+
Message: smithy_client_1.expectString,
|
|
1186
|
+
});
|
|
1187
|
+
Object.assign(contents, doc);
|
|
1188
|
+
const exception = new models_0_1.UnauthorizedException({
|
|
1189
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1190
|
+
...contents,
|
|
1191
|
+
});
|
|
1192
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1193
|
+
};
|
|
1160
1194
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1161
1195
|
const contents = (0, smithy_client_1.map)({});
|
|
1162
1196
|
const data = parsedOutput.body;
|
|
@@ -1191,6 +1225,7 @@ const de_Component = (output, context) => {
|
|
|
1191
1225
|
ChildComponents: smithy_client_1._json,
|
|
1192
1226
|
ComponentId: smithy_client_1.expectString,
|
|
1193
1227
|
ComponentType: smithy_client_1.expectString,
|
|
1228
|
+
DatabaseConnection: smithy_client_1._json,
|
|
1194
1229
|
Databases: smithy_client_1._json,
|
|
1195
1230
|
HdbVersion: smithy_client_1.expectString,
|
|
1196
1231
|
Hosts: smithy_client_1._json,
|
|
@@ -1198,9 +1233,12 @@ const de_Component = (output, context) => {
|
|
|
1198
1233
|
ParentComponent: smithy_client_1.expectString,
|
|
1199
1234
|
PrimaryHost: smithy_client_1.expectString,
|
|
1200
1235
|
Resilience: smithy_client_1._json,
|
|
1236
|
+
SapFeature: smithy_client_1.expectString,
|
|
1201
1237
|
SapHostname: smithy_client_1.expectString,
|
|
1202
1238
|
SapKernelVersion: smithy_client_1.expectString,
|
|
1239
|
+
Sid: smithy_client_1.expectString,
|
|
1203
1240
|
Status: smithy_client_1.expectString,
|
|
1241
|
+
SystemNumber: smithy_client_1.expectString,
|
|
1204
1242
|
});
|
|
1205
1243
|
};
|
|
1206
1244
|
const de_Database = (output, context) => {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
|
|
3
|
+
export const AllocationType = {
|
|
4
|
+
ELASTIC_IP: "ELASTIC_IP",
|
|
5
|
+
OVERLAY: "OVERLAY",
|
|
6
|
+
UNKNOWN: "UNKNOWN",
|
|
7
|
+
VPC_SUBNET: "VPC_SUBNET",
|
|
8
|
+
};
|
|
3
9
|
export const ApplicationDiscoveryStatus = {
|
|
4
10
|
DELETING: "DELETING",
|
|
5
11
|
REFRESH_FAILED: "REFRESH_FAILED",
|
|
@@ -19,6 +25,7 @@ export const ApplicationStatus = {
|
|
|
19
25
|
};
|
|
20
26
|
export const ApplicationType = {
|
|
21
27
|
HANA: "HANA",
|
|
28
|
+
SAP_ABAP: "SAP_ABAP",
|
|
22
29
|
};
|
|
23
30
|
export const CredentialType = {
|
|
24
31
|
ADMIN: "ADMIN",
|
|
@@ -34,8 +41,18 @@ export const ClusterStatus = {
|
|
|
34
41
|
STANDBY: "STANDBY",
|
|
35
42
|
};
|
|
36
43
|
export const ComponentType = {
|
|
44
|
+
ABAP: "ABAP",
|
|
45
|
+
ASCS: "ASCS",
|
|
46
|
+
DIALOG: "DIALOG",
|
|
47
|
+
ERS: "ERS",
|
|
37
48
|
HANA: "HANA",
|
|
38
49
|
HANA_NODE: "HANA_NODE",
|
|
50
|
+
WD: "WD",
|
|
51
|
+
WEBDISP: "WEBDISP",
|
|
52
|
+
};
|
|
53
|
+
export const DatabaseConnectionMethod = {
|
|
54
|
+
DIRECT: "DIRECT",
|
|
55
|
+
OVERLAY: "OVERLAY",
|
|
39
56
|
};
|
|
40
57
|
export const HostRole = {
|
|
41
58
|
LEADER: "LEADER",
|
|
@@ -133,6 +150,19 @@ export class ValidationException extends __BaseException {
|
|
|
133
150
|
this.Message = opts.Message;
|
|
134
151
|
}
|
|
135
152
|
}
|
|
153
|
+
export class UnauthorizedException extends __BaseException {
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "UnauthorizedException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
this.name = "UnauthorizedException";
|
|
161
|
+
this.$fault = "client";
|
|
162
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
163
|
+
this.Message = opts.Message;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
136
166
|
export const FilterOperator = {
|
|
137
167
|
EQUALS: "Equals",
|
|
138
168
|
GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
-
import { ConflictException, InternalServerException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
|
|
3
|
+
import { ConflictException, InternalServerException, ResourceNotFoundException, UnauthorizedException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { SsmSapServiceException as __BaseException } from "../models/SsmSapServiceException";
|
|
5
5
|
export const se_DeleteResourcePermissionCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -159,6 +159,7 @@ export const se_ListApplicationsCommand = async (input, context) => {
|
|
|
159
159
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-applications";
|
|
160
160
|
let body;
|
|
161
161
|
body = JSON.stringify(take(input, {
|
|
162
|
+
Filters: (_) => _json(_),
|
|
162
163
|
MaxResults: [],
|
|
163
164
|
NextToken: [],
|
|
164
165
|
}));
|
|
@@ -289,6 +290,7 @@ export const se_RegisterApplicationCommand = async (input, context) => {
|
|
|
289
290
|
ApplicationId: [],
|
|
290
291
|
ApplicationType: [],
|
|
291
292
|
Credentials: (_) => _json(_),
|
|
293
|
+
DatabaseArn: [],
|
|
292
294
|
Instances: (_) => _json(_),
|
|
293
295
|
SapInstanceNumber: [],
|
|
294
296
|
Sid: [],
|
|
@@ -380,6 +382,7 @@ export const se_UpdateApplicationSettingsCommand = async (input, context) => {
|
|
|
380
382
|
Backint: (_) => _json(_),
|
|
381
383
|
CredentialsToAddOrUpdate: (_) => _json(_),
|
|
382
384
|
CredentialsToRemove: (_) => _json(_),
|
|
385
|
+
DatabaseArn: [],
|
|
383
386
|
}));
|
|
384
387
|
return new __HttpRequest({
|
|
385
388
|
protocol,
|
|
@@ -450,6 +453,9 @@ const de_DeregisterApplicationCommandError = async (output, context) => {
|
|
|
450
453
|
case "InternalServerException":
|
|
451
454
|
case "com.amazonaws.ssmsap#InternalServerException":
|
|
452
455
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
456
|
+
case "UnauthorizedException":
|
|
457
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
458
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
453
459
|
case "ValidationException":
|
|
454
460
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
455
461
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -524,6 +530,9 @@ const de_GetComponentCommandError = async (output, context) => {
|
|
|
524
530
|
case "InternalServerException":
|
|
525
531
|
case "com.amazonaws.ssmsap#InternalServerException":
|
|
526
532
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
533
|
+
case "UnauthorizedException":
|
|
534
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
535
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
527
536
|
case "ValidationException":
|
|
528
537
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
529
538
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -716,6 +725,9 @@ const de_ListComponentsCommandError = async (output, context) => {
|
|
|
716
725
|
case "ResourceNotFoundException":
|
|
717
726
|
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
718
727
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
728
|
+
case "UnauthorizedException":
|
|
729
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
730
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
719
731
|
case "ValidationException":
|
|
720
732
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
721
733
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -911,6 +923,9 @@ const de_RegisterApplicationCommandError = async (output, context) => {
|
|
|
911
923
|
case "InternalServerException":
|
|
912
924
|
case "com.amazonaws.ssmsap#InternalServerException":
|
|
913
925
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
926
|
+
case "ResourceNotFoundException":
|
|
927
|
+
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
928
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
914
929
|
case "ValidationException":
|
|
915
930
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
916
931
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -953,6 +968,9 @@ const de_StartApplicationRefreshCommandError = async (output, context) => {
|
|
|
953
968
|
case "ResourceNotFoundException":
|
|
954
969
|
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
955
970
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
971
|
+
case "UnauthorizedException":
|
|
972
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
973
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
956
974
|
case "ValidationException":
|
|
957
975
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
958
976
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -1066,6 +1084,9 @@ const de_UpdateApplicationSettingsCommandError = async (output, context) => {
|
|
|
1066
1084
|
case "ResourceNotFoundException":
|
|
1067
1085
|
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
1068
1086
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1087
|
+
case "UnauthorizedException":
|
|
1088
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
1089
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1069
1090
|
case "ValidationException":
|
|
1070
1091
|
case "com.amazonaws.ssmsap#ValidationException":
|
|
1071
1092
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
@@ -1118,6 +1139,19 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1118
1139
|
});
|
|
1119
1140
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1120
1141
|
};
|
|
1142
|
+
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1143
|
+
const contents = map({});
|
|
1144
|
+
const data = parsedOutput.body;
|
|
1145
|
+
const doc = take(data, {
|
|
1146
|
+
Message: __expectString,
|
|
1147
|
+
});
|
|
1148
|
+
Object.assign(contents, doc);
|
|
1149
|
+
const exception = new UnauthorizedException({
|
|
1150
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1151
|
+
...contents,
|
|
1152
|
+
});
|
|
1153
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1154
|
+
};
|
|
1121
1155
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1122
1156
|
const contents = map({});
|
|
1123
1157
|
const data = parsedOutput.body;
|
|
@@ -1152,6 +1186,7 @@ const de_Component = (output, context) => {
|
|
|
1152
1186
|
ChildComponents: _json,
|
|
1153
1187
|
ComponentId: __expectString,
|
|
1154
1188
|
ComponentType: __expectString,
|
|
1189
|
+
DatabaseConnection: _json,
|
|
1155
1190
|
Databases: _json,
|
|
1156
1191
|
HdbVersion: __expectString,
|
|
1157
1192
|
Hosts: _json,
|
|
@@ -1159,9 +1194,12 @@ const de_Component = (output, context) => {
|
|
|
1159
1194
|
ParentComponent: __expectString,
|
|
1160
1195
|
PrimaryHost: __expectString,
|
|
1161
1196
|
Resilience: _json,
|
|
1197
|
+
SapFeature: __expectString,
|
|
1162
1198
|
SapHostname: __expectString,
|
|
1163
1199
|
SapKernelVersion: __expectString,
|
|
1200
|
+
Sid: __expectString,
|
|
1164
1201
|
Status: __expectString,
|
|
1202
|
+
SystemNumber: __expectString,
|
|
1165
1203
|
});
|
|
1166
1204
|
};
|
|
1167
1205
|
const de_Database = (output, context) => {
|
|
@@ -49,6 +49,9 @@ export interface DeregisterApplicationCommandOutput extends DeregisterApplicatio
|
|
|
49
49
|
* @throws {@link InternalServerException} (server fault)
|
|
50
50
|
* <p>An internal error has occurred.</p>
|
|
51
51
|
*
|
|
52
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
53
|
+
* <p>The request is not authorized.</p>
|
|
54
|
+
*
|
|
52
55
|
* @throws {@link ValidationException} (client fault)
|
|
53
56
|
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
|
|
54
57
|
*
|
|
@@ -41,7 +41,7 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met
|
|
|
41
41
|
* // { // GetApplicationOutput
|
|
42
42
|
* // Application: { // Application
|
|
43
43
|
* // Id: "STRING_VALUE",
|
|
44
|
-
* // Type: "HANA",
|
|
44
|
+
* // Type: "HANA" || "SAP_ABAP",
|
|
45
45
|
* // Arn: "STRING_VALUE",
|
|
46
46
|
* // AppRegistryArn: "STRING_VALUE",
|
|
47
47
|
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN",
|
|
@@ -40,14 +40,17 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
|
|
|
40
40
|
* // { // GetComponentOutput
|
|
41
41
|
* // Component: { // Component
|
|
42
42
|
* // ComponentId: "STRING_VALUE",
|
|
43
|
+
* // Sid: "STRING_VALUE",
|
|
44
|
+
* // SystemNumber: "STRING_VALUE",
|
|
43
45
|
* // ParentComponent: "STRING_VALUE",
|
|
44
46
|
* // ChildComponents: [ // ComponentIdList
|
|
45
47
|
* // "STRING_VALUE",
|
|
46
48
|
* // ],
|
|
47
49
|
* // ApplicationId: "STRING_VALUE",
|
|
48
|
-
* // ComponentType: "HANA" || "HANA_NODE",
|
|
50
|
+
* // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS",
|
|
49
51
|
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "RUNNING" || "RUNNING_WITH_ERROR" || "UNDEFINED",
|
|
50
52
|
* // SapHostname: "STRING_VALUE",
|
|
53
|
+
* // SapFeature: "STRING_VALUE",
|
|
51
54
|
* // SapKernelVersion: "STRING_VALUE",
|
|
52
55
|
* // HdbVersion: "STRING_VALUE",
|
|
53
56
|
* // Resilience: { // Resilience
|
|
@@ -55,10 +58,18 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
|
|
|
55
58
|
* // HsrReplicationMode: "PRIMARY" || "NONE" || "SYNC" || "SYNCMEM" || "ASYNC",
|
|
56
59
|
* // HsrOperationMode: "PRIMARY" || "LOGREPLAY" || "DELTA_DATASHIPPING" || "LOGREPLAY_READACCESS" || "NONE",
|
|
57
60
|
* // ClusterStatus: "ONLINE" || "STANDBY" || "MAINTENANCE" || "OFFLINE" || "NONE",
|
|
61
|
+
* // EnqueueReplication: true || false,
|
|
58
62
|
* // },
|
|
59
63
|
* // AssociatedHost: { // AssociatedHost
|
|
60
64
|
* // Hostname: "STRING_VALUE",
|
|
61
65
|
* // Ec2InstanceId: "STRING_VALUE",
|
|
66
|
+
* // IpAddresses: [ // IpAddressList
|
|
67
|
+
* // { // IpAddressMember
|
|
68
|
+
* // IpAddress: "STRING_VALUE",
|
|
69
|
+
* // Primary: true || false,
|
|
70
|
+
* // AllocationType: "VPC_SUBNET" || "ELASTIC_IP" || "OVERLAY" || "UNKNOWN",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
62
73
|
* // OsVersion: "STRING_VALUE",
|
|
63
74
|
* // },
|
|
64
75
|
* // Databases: [ // DatabaseIdList
|
|
@@ -75,6 +86,11 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
|
|
|
75
86
|
* // },
|
|
76
87
|
* // ],
|
|
77
88
|
* // PrimaryHost: "STRING_VALUE",
|
|
89
|
+
* // DatabaseConnection: { // DatabaseConnection
|
|
90
|
+
* // DatabaseConnectionMethod: "DIRECT" || "OVERLAY",
|
|
91
|
+
* // DatabaseArn: "STRING_VALUE",
|
|
92
|
+
* // ConnectionIp: "STRING_VALUE",
|
|
93
|
+
* // },
|
|
78
94
|
* // LastUpdated: new Date("TIMESTAMP"),
|
|
79
95
|
* // Arn: "STRING_VALUE",
|
|
80
96
|
* // },
|
|
@@ -94,6 +110,9 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
|
|
|
94
110
|
* @throws {@link InternalServerException} (server fault)
|
|
95
111
|
* <p>An internal error has occurred.</p>
|
|
96
112
|
*
|
|
113
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
114
|
+
* <p>The request is not authorized.</p>
|
|
115
|
+
*
|
|
97
116
|
* @throws {@link ValidationException} (client fault)
|
|
98
117
|
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
|
|
99
118
|
*
|
|
@@ -33,6 +33,13 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _
|
|
|
33
33
|
* const input = { // ListApplicationsInput
|
|
34
34
|
* NextToken: "STRING_VALUE",
|
|
35
35
|
* MaxResults: Number("int"),
|
|
36
|
+
* Filters: [ // FilterList
|
|
37
|
+
* { // Filter
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* Operator: "Equals" || "GreaterThanOrEquals" || "LessThanOrEquals", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
36
43
|
* };
|
|
37
44
|
* const command = new ListApplicationsCommand(input);
|
|
38
45
|
* const response = await client.send(command);
|
|
@@ -40,7 +47,8 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _
|
|
|
40
47
|
* // Applications: [ // ApplicationSummaryList
|
|
41
48
|
* // { // ApplicationSummary
|
|
42
49
|
* // Id: "STRING_VALUE",
|
|
43
|
-
* //
|
|
50
|
+
* // DiscoveryStatus: "SUCCESS" || "REGISTRATION_FAILED" || "REFRESH_FAILED" || "REGISTERING" || "DELETING",
|
|
51
|
+
* // Type: "HANA" || "SAP_ABAP",
|
|
44
52
|
* // Arn: "STRING_VALUE",
|
|
45
53
|
* // Tags: { // TagMap
|
|
46
54
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -42,7 +42,7 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
|
|
|
42
42
|
* // { // ComponentSummary
|
|
43
43
|
* // ApplicationId: "STRING_VALUE",
|
|
44
44
|
* // ComponentId: "STRING_VALUE",
|
|
45
|
-
* // ComponentType: "HANA" || "HANA_NODE",
|
|
45
|
+
* // ComponentType: "HANA" || "HANA_NODE" || "ABAP" || "ASCS" || "DIALOG" || "WEBDISP" || "WD" || "ERS",
|
|
46
46
|
* // Tags: { // TagMap
|
|
47
47
|
* // "<keys>": "STRING_VALUE",
|
|
48
48
|
* // },
|
|
@@ -66,6 +66,9 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
|
|
|
66
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
67
|
* <p>The resource is not available.</p>
|
|
68
68
|
*
|
|
69
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
70
|
+
* <p>The request is not authorized.</p>
|
|
71
|
+
*
|
|
69
72
|
* @throws {@link ValidationException} (client fault)
|
|
70
73
|
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
|
|
71
74
|
*
|
|
@@ -39,7 +39,7 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
|
|
|
39
39
|
* const client = new SsmSapClient(config);
|
|
40
40
|
* const input = { // RegisterApplicationInput
|
|
41
41
|
* ApplicationId: "STRING_VALUE", // required
|
|
42
|
-
* ApplicationType: "HANA", // required
|
|
42
|
+
* ApplicationType: "HANA" || "SAP_ABAP", // required
|
|
43
43
|
* Instances: [ // InstanceList // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
@@ -48,20 +48,21 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
|
|
|
48
48
|
* Tags: { // TagMap
|
|
49
49
|
* "<keys>": "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
|
-
* Credentials: [ // ApplicationCredentialList
|
|
51
|
+
* Credentials: [ // ApplicationCredentialList
|
|
52
52
|
* { // ApplicationCredential
|
|
53
53
|
* DatabaseName: "STRING_VALUE", // required
|
|
54
54
|
* CredentialType: "ADMIN", // required
|
|
55
55
|
* SecretId: "STRING_VALUE", // required
|
|
56
56
|
* },
|
|
57
57
|
* ],
|
|
58
|
+
* DatabaseArn: "STRING_VALUE",
|
|
58
59
|
* };
|
|
59
60
|
* const command = new RegisterApplicationCommand(input);
|
|
60
61
|
* const response = await client.send(command);
|
|
61
62
|
* // { // RegisterApplicationOutput
|
|
62
63
|
* // Application: { // Application
|
|
63
64
|
* // Id: "STRING_VALUE",
|
|
64
|
-
* // Type: "HANA",
|
|
65
|
+
* // Type: "HANA" || "SAP_ABAP",
|
|
65
66
|
* // Arn: "STRING_VALUE",
|
|
66
67
|
* // AppRegistryArn: "STRING_VALUE",
|
|
67
68
|
* // Status: "ACTIVATED" || "STARTING" || "STOPPED" || "STOPPING" || "FAILED" || "REGISTERING" || "DELETING" || "UNKNOWN",
|
|
@@ -89,6 +90,9 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
|
|
|
89
90
|
* @throws {@link InternalServerException} (server fault)
|
|
90
91
|
* <p>An internal error has occurred.</p>
|
|
91
92
|
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>The resource is not available.</p>
|
|
95
|
+
*
|
|
92
96
|
* @throws {@link ValidationException} (client fault)
|
|
93
97
|
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
|
|
94
98
|
*
|
|
@@ -56,6 +56,9 @@ export interface StartApplicationRefreshCommandOutput extends StartApplicationRe
|
|
|
56
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
57
|
* <p>The resource is not available.</p>
|
|
58
58
|
*
|
|
59
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
60
|
+
* <p>The request is not authorized.</p>
|
|
61
|
+
*
|
|
59
62
|
* @throws {@link ValidationException} (client fault)
|
|
60
63
|
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
|
|
61
64
|
*
|
|
@@ -51,6 +51,7 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
|
|
|
51
51
|
* BackintMode: "AWSBackup", // required
|
|
52
52
|
* EnsureNoBackupInProcess: true || false, // required
|
|
53
53
|
* },
|
|
54
|
+
* DatabaseArn: "STRING_VALUE",
|
|
54
55
|
* };
|
|
55
56
|
* const command = new UpdateApplicationSettingsCommand(input);
|
|
56
57
|
* const response = await client.send(command);
|
|
@@ -78,6 +79,9 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
|
|
|
78
79
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
80
|
* <p>The resource is not available.</p>
|
|
80
81
|
*
|
|
82
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
83
|
+
* <p>The request is not authorized.</p>
|
|
84
|
+
*
|
|
81
85
|
* @throws {@link ValidationException} (client fault)
|
|
82
86
|
* <p>The input fails to satisfy the constraints specified by an AWS service. </p>
|
|
83
87
|
*
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const AllocationType: {
|
|
8
|
+
readonly ELASTIC_IP: "ELASTIC_IP";
|
|
9
|
+
readonly OVERLAY: "OVERLAY";
|
|
10
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
11
|
+
readonly VPC_SUBNET: "VPC_SUBNET";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type AllocationType = (typeof AllocationType)[keyof typeof AllocationType];
|
|
3
17
|
/**
|
|
4
18
|
* @public
|
|
5
19
|
* @enum
|
|
@@ -39,6 +53,7 @@ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof Applicat
|
|
|
39
53
|
*/
|
|
40
54
|
export declare const ApplicationType: {
|
|
41
55
|
readonly HANA: "HANA";
|
|
56
|
+
readonly SAP_ABAP: "SAP_ABAP";
|
|
42
57
|
};
|
|
43
58
|
/**
|
|
44
59
|
* @public
|
|
@@ -139,6 +154,11 @@ export interface ApplicationSummary {
|
|
|
139
154
|
* <p>The ID of the application.</p>
|
|
140
155
|
*/
|
|
141
156
|
Id?: string;
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* <p>The status of the latest discovery.</p>
|
|
160
|
+
*/
|
|
161
|
+
DiscoveryStatus?: ApplicationDiscoveryStatus;
|
|
142
162
|
/**
|
|
143
163
|
* @public
|
|
144
164
|
* <p>The type of the application.</p>
|
|
@@ -155,6 +175,27 @@ export interface ApplicationSummary {
|
|
|
155
175
|
*/
|
|
156
176
|
Tags?: Record<string, string>;
|
|
157
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* <p>Provides information of the IP address.</p>
|
|
181
|
+
*/
|
|
182
|
+
export interface IpAddressMember {
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
* <p>The IP address.</p>
|
|
186
|
+
*/
|
|
187
|
+
IpAddress?: string;
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
* <p>The primary IP address.</p>
|
|
191
|
+
*/
|
|
192
|
+
Primary?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
* <p>The type of allocation for the IP address.</p>
|
|
196
|
+
*/
|
|
197
|
+
AllocationType?: AllocationType;
|
|
198
|
+
}
|
|
158
199
|
/**
|
|
159
200
|
* @public
|
|
160
201
|
* <p>Describes the properties of the associated host.</p>
|
|
@@ -170,6 +211,11 @@ export interface AssociatedHost {
|
|
|
170
211
|
* <p>The ID of the Amazon EC2 instance.</p>
|
|
171
212
|
*/
|
|
172
213
|
Ec2InstanceId?: string;
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* <p>The IP addresses of the associated host.</p>
|
|
217
|
+
*/
|
|
218
|
+
IpAddresses?: IpAddressMember[];
|
|
173
219
|
/**
|
|
174
220
|
* @public
|
|
175
221
|
* <p>The version of the operating system.</p>
|
|
@@ -224,13 +270,52 @@ export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
|
224
270
|
* @enum
|
|
225
271
|
*/
|
|
226
272
|
export declare const ComponentType: {
|
|
273
|
+
readonly ABAP: "ABAP";
|
|
274
|
+
readonly ASCS: "ASCS";
|
|
275
|
+
readonly DIALOG: "DIALOG";
|
|
276
|
+
readonly ERS: "ERS";
|
|
227
277
|
readonly HANA: "HANA";
|
|
228
278
|
readonly HANA_NODE: "HANA_NODE";
|
|
279
|
+
readonly WD: "WD";
|
|
280
|
+
readonly WEBDISP: "WEBDISP";
|
|
229
281
|
};
|
|
230
282
|
/**
|
|
231
283
|
* @public
|
|
232
284
|
*/
|
|
233
285
|
export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* @enum
|
|
289
|
+
*/
|
|
290
|
+
export declare const DatabaseConnectionMethod: {
|
|
291
|
+
readonly DIRECT: "DIRECT";
|
|
292
|
+
readonly OVERLAY: "OVERLAY";
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
export type DatabaseConnectionMethod = (typeof DatabaseConnectionMethod)[keyof typeof DatabaseConnectionMethod];
|
|
298
|
+
/**
|
|
299
|
+
* @public
|
|
300
|
+
* <p>The connection specifications for the database.</p>
|
|
301
|
+
*/
|
|
302
|
+
export interface DatabaseConnection {
|
|
303
|
+
/**
|
|
304
|
+
* @public
|
|
305
|
+
* <p>The method of connection.</p>
|
|
306
|
+
*/
|
|
307
|
+
DatabaseConnectionMethod?: DatabaseConnectionMethod;
|
|
308
|
+
/**
|
|
309
|
+
* @public
|
|
310
|
+
* <p>The Amazon Resource Name of the connected SAP HANA database.</p>
|
|
311
|
+
*/
|
|
312
|
+
DatabaseArn?: string;
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
* <p>The IP address for connection.</p>
|
|
316
|
+
*/
|
|
317
|
+
ConnectionIp?: string;
|
|
318
|
+
}
|
|
234
319
|
/**
|
|
235
320
|
* @public
|
|
236
321
|
* @enum
|
|
@@ -336,6 +421,11 @@ export interface Resilience {
|
|
|
336
421
|
* <p>The cluster status of the component.</p>
|
|
337
422
|
*/
|
|
338
423
|
ClusterStatus?: ClusterStatus;
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
* <p>Indicates if or not enqueue replication is enabled for the ASCS component.</p>
|
|
427
|
+
*/
|
|
428
|
+
EnqueueReplication?: boolean;
|
|
339
429
|
}
|
|
340
430
|
/**
|
|
341
431
|
* @public
|
|
@@ -364,6 +454,16 @@ export interface Component {
|
|
|
364
454
|
* <p>The ID of the component.</p>
|
|
365
455
|
*/
|
|
366
456
|
ComponentId?: string;
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
* <p>The SAP System Identifier of the application component.</p>
|
|
460
|
+
*/
|
|
461
|
+
Sid?: string;
|
|
462
|
+
/**
|
|
463
|
+
* @public
|
|
464
|
+
* <p>The SAP system number of the application component.</p>
|
|
465
|
+
*/
|
|
466
|
+
SystemNumber?: string;
|
|
367
467
|
/**
|
|
368
468
|
* @public
|
|
369
469
|
* <p>The parent component of a highly available environment. For example, in a highly
|
|
@@ -391,6 +491,34 @@ export interface Component {
|
|
|
391
491
|
/**
|
|
392
492
|
* @public
|
|
393
493
|
* <p>The status of the component.</p>
|
|
494
|
+
* <ul>
|
|
495
|
+
* <li>
|
|
496
|
+
* <p>ACTIVATED - this status has been deprecated.</p>
|
|
497
|
+
* </li>
|
|
498
|
+
* <li>
|
|
499
|
+
* <p>STARTING - the component is in the process of being started.</p>
|
|
500
|
+
* </li>
|
|
501
|
+
* <li>
|
|
502
|
+
* <p>STOPPED - the component is not running.</p>
|
|
503
|
+
* </li>
|
|
504
|
+
* <li>
|
|
505
|
+
* <p>STOPPING - the component is in the process of being stopped.</p>
|
|
506
|
+
* </li>
|
|
507
|
+
* <li>
|
|
508
|
+
* <p>RUNNING - the component is running.</p>
|
|
509
|
+
* </li>
|
|
510
|
+
* <li>
|
|
511
|
+
* <p>RUNNING_WITH_ERROR - one or more child component(s) of the parent component is not
|
|
512
|
+
* running. Call <a href="https://docs.aws.amazon.com/ssmsap/latest/APIReference/API_GetComponent.html">
|
|
513
|
+
* <code>GetComponent</code>
|
|
514
|
+
* </a> to review the status of each child
|
|
515
|
+
* component.</p>
|
|
516
|
+
* </li>
|
|
517
|
+
* <li>
|
|
518
|
+
* <p>UNDEFINED - AWS Systems Manager for SAP cannot provide the component status
|
|
519
|
+
* based on the discovered information. Verify your SAP application.</p>
|
|
520
|
+
* </li>
|
|
521
|
+
* </ul>
|
|
394
522
|
*/
|
|
395
523
|
Status?: ComponentStatus;
|
|
396
524
|
/**
|
|
@@ -398,6 +526,11 @@ export interface Component {
|
|
|
398
526
|
* <p>The hostname of the component.</p>
|
|
399
527
|
*/
|
|
400
528
|
SapHostname?: string;
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
* <p>The SAP feature of the component.</p>
|
|
532
|
+
*/
|
|
533
|
+
SapFeature?: string;
|
|
401
534
|
/**
|
|
402
535
|
* @public
|
|
403
536
|
* <p>The kernel version of the component.</p>
|
|
@@ -437,6 +570,11 @@ export interface Component {
|
|
|
437
570
|
* <p>The primary host of the component.</p>
|
|
438
571
|
*/
|
|
439
572
|
PrimaryHost?: string;
|
|
573
|
+
/**
|
|
574
|
+
* @public
|
|
575
|
+
* <p>The connection specifications for the database of the component.</p>
|
|
576
|
+
*/
|
|
577
|
+
DatabaseConnection?: DatabaseConnection;
|
|
440
578
|
/**
|
|
441
579
|
* @public
|
|
442
580
|
* <p>The time at which the component was last updated.</p>
|
|
@@ -713,6 +851,19 @@ export interface DeregisterApplicationInput {
|
|
|
713
851
|
*/
|
|
714
852
|
export interface DeregisterApplicationOutput {
|
|
715
853
|
}
|
|
854
|
+
/**
|
|
855
|
+
* @public
|
|
856
|
+
* <p>The request is not authorized.</p>
|
|
857
|
+
*/
|
|
858
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
859
|
+
readonly name: "UnauthorizedException";
|
|
860
|
+
readonly $fault: "client";
|
|
861
|
+
Message?: string;
|
|
862
|
+
/**
|
|
863
|
+
* @internal
|
|
864
|
+
*/
|
|
865
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
866
|
+
}
|
|
716
867
|
/**
|
|
717
868
|
* @public
|
|
718
869
|
* @enum
|
|
@@ -990,6 +1141,11 @@ export interface ListApplicationsInput {
|
|
|
990
1141
|
* results, make another call with the returned nextToken value. </p>
|
|
991
1142
|
*/
|
|
992
1143
|
MaxResults?: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* @public
|
|
1146
|
+
* <p>The filter of name, value, and operator.</p>
|
|
1147
|
+
*/
|
|
1148
|
+
Filters?: Filter[];
|
|
993
1149
|
}
|
|
994
1150
|
/**
|
|
995
1151
|
* @public
|
|
@@ -1220,7 +1376,12 @@ export interface RegisterApplicationInput {
|
|
|
1220
1376
|
* @public
|
|
1221
1377
|
* <p>The credentials of the SAP application.</p>
|
|
1222
1378
|
*/
|
|
1223
|
-
Credentials
|
|
1379
|
+
Credentials?: ApplicationCredential[];
|
|
1380
|
+
/**
|
|
1381
|
+
* @public
|
|
1382
|
+
* <p>The Amazon Resource Name of the SAP HANA database.</p>
|
|
1383
|
+
*/
|
|
1384
|
+
DatabaseArn?: string;
|
|
1224
1385
|
}
|
|
1225
1386
|
/**
|
|
1226
1387
|
* @public
|
|
@@ -1322,6 +1483,12 @@ export interface UpdateApplicationSettingsInput {
|
|
|
1322
1483
|
* <p>Installation of AWS Backint Agent for SAP HANA.</p>
|
|
1323
1484
|
*/
|
|
1324
1485
|
Backint?: BackintConfig;
|
|
1486
|
+
/**
|
|
1487
|
+
* @public
|
|
1488
|
+
* <p>The Amazon Resource Name of the SAP HANA database that replaces the current SAP HANA
|
|
1489
|
+
* connection with the SAP_ABAP application.</p>
|
|
1490
|
+
*/
|
|
1491
|
+
DatabaseArn?: string;
|
|
1325
1492
|
}
|
|
1326
1493
|
/**
|
|
1327
1494
|
* @public
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
|
|
3
|
+
export declare const AllocationType: {
|
|
4
|
+
readonly ELASTIC_IP: "ELASTIC_IP";
|
|
5
|
+
readonly OVERLAY: "OVERLAY";
|
|
6
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
7
|
+
readonly VPC_SUBNET: "VPC_SUBNET";
|
|
8
|
+
};
|
|
9
|
+
export type AllocationType =
|
|
10
|
+
(typeof AllocationType)[keyof typeof AllocationType];
|
|
3
11
|
export declare const ApplicationDiscoveryStatus: {
|
|
4
12
|
readonly DELETING: "DELETING";
|
|
5
13
|
readonly REFRESH_FAILED: "REFRESH_FAILED";
|
|
@@ -23,6 +31,7 @@ export type ApplicationStatus =
|
|
|
23
31
|
(typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
|
24
32
|
export declare const ApplicationType: {
|
|
25
33
|
readonly HANA: "HANA";
|
|
34
|
+
readonly SAP_ABAP: "SAP_ABAP";
|
|
26
35
|
};
|
|
27
36
|
export type ApplicationType =
|
|
28
37
|
(typeof ApplicationType)[keyof typeof ApplicationType];
|
|
@@ -49,13 +58,20 @@ export interface ApplicationCredential {
|
|
|
49
58
|
}
|
|
50
59
|
export interface ApplicationSummary {
|
|
51
60
|
Id?: string;
|
|
61
|
+
DiscoveryStatus?: ApplicationDiscoveryStatus;
|
|
52
62
|
Type?: ApplicationType;
|
|
53
63
|
Arn?: string;
|
|
54
64
|
Tags?: Record<string, string>;
|
|
55
65
|
}
|
|
66
|
+
export interface IpAddressMember {
|
|
67
|
+
IpAddress?: string;
|
|
68
|
+
Primary?: boolean;
|
|
69
|
+
AllocationType?: AllocationType;
|
|
70
|
+
}
|
|
56
71
|
export interface AssociatedHost {
|
|
57
72
|
Hostname?: string;
|
|
58
73
|
Ec2InstanceId?: string;
|
|
74
|
+
IpAddresses?: IpAddressMember[];
|
|
59
75
|
OsVersion?: string;
|
|
60
76
|
}
|
|
61
77
|
export declare const BackintMode: {
|
|
@@ -75,10 +91,27 @@ export declare const ClusterStatus: {
|
|
|
75
91
|
};
|
|
76
92
|
export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
77
93
|
export declare const ComponentType: {
|
|
94
|
+
readonly ABAP: "ABAP";
|
|
95
|
+
readonly ASCS: "ASCS";
|
|
96
|
+
readonly DIALOG: "DIALOG";
|
|
97
|
+
readonly ERS: "ERS";
|
|
78
98
|
readonly HANA: "HANA";
|
|
79
99
|
readonly HANA_NODE: "HANA_NODE";
|
|
100
|
+
readonly WD: "WD";
|
|
101
|
+
readonly WEBDISP: "WEBDISP";
|
|
80
102
|
};
|
|
81
103
|
export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
|
|
104
|
+
export declare const DatabaseConnectionMethod: {
|
|
105
|
+
readonly DIRECT: "DIRECT";
|
|
106
|
+
readonly OVERLAY: "OVERLAY";
|
|
107
|
+
};
|
|
108
|
+
export type DatabaseConnectionMethod =
|
|
109
|
+
(typeof DatabaseConnectionMethod)[keyof typeof DatabaseConnectionMethod];
|
|
110
|
+
export interface DatabaseConnection {
|
|
111
|
+
DatabaseConnectionMethod?: DatabaseConnectionMethod;
|
|
112
|
+
DatabaseArn?: string;
|
|
113
|
+
ConnectionIp?: string;
|
|
114
|
+
}
|
|
82
115
|
export declare const HostRole: {
|
|
83
116
|
readonly LEADER: "LEADER";
|
|
84
117
|
readonly STANDBY: "STANDBY";
|
|
@@ -116,6 +149,7 @@ export interface Resilience {
|
|
|
116
149
|
HsrReplicationMode?: ReplicationMode;
|
|
117
150
|
HsrOperationMode?: OperationMode;
|
|
118
151
|
ClusterStatus?: ClusterStatus;
|
|
152
|
+
EnqueueReplication?: boolean;
|
|
119
153
|
}
|
|
120
154
|
export declare const ComponentStatus: {
|
|
121
155
|
readonly ACTIVATED: "ACTIVATED";
|
|
@@ -130,12 +164,15 @@ export type ComponentStatus =
|
|
|
130
164
|
(typeof ComponentStatus)[keyof typeof ComponentStatus];
|
|
131
165
|
export interface Component {
|
|
132
166
|
ComponentId?: string;
|
|
167
|
+
Sid?: string;
|
|
168
|
+
SystemNumber?: string;
|
|
133
169
|
ParentComponent?: string;
|
|
134
170
|
ChildComponents?: string[];
|
|
135
171
|
ApplicationId?: string;
|
|
136
172
|
ComponentType?: ComponentType;
|
|
137
173
|
Status?: ComponentStatus;
|
|
138
174
|
SapHostname?: string;
|
|
175
|
+
SapFeature?: string;
|
|
139
176
|
SapKernelVersion?: string;
|
|
140
177
|
HdbVersion?: string;
|
|
141
178
|
Resilience?: Resilience;
|
|
@@ -143,6 +180,7 @@ export interface Component {
|
|
|
143
180
|
Databases?: string[];
|
|
144
181
|
Hosts?: Host[];
|
|
145
182
|
PrimaryHost?: string;
|
|
183
|
+
DatabaseConnection?: DatabaseConnection;
|
|
146
184
|
LastUpdated?: Date;
|
|
147
185
|
Arn?: string;
|
|
148
186
|
}
|
|
@@ -236,6 +274,14 @@ export interface DeregisterApplicationInput {
|
|
|
236
274
|
ApplicationId: string | undefined;
|
|
237
275
|
}
|
|
238
276
|
export interface DeregisterApplicationOutput {}
|
|
277
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
278
|
+
readonly name: "UnauthorizedException";
|
|
279
|
+
readonly $fault: "client";
|
|
280
|
+
Message?: string;
|
|
281
|
+
constructor(
|
|
282
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
283
|
+
);
|
|
284
|
+
}
|
|
239
285
|
export declare const FilterOperator: {
|
|
240
286
|
readonly EQUALS: "Equals";
|
|
241
287
|
readonly GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals";
|
|
@@ -311,6 +357,7 @@ export interface GetResourcePermissionOutput {
|
|
|
311
357
|
export interface ListApplicationsInput {
|
|
312
358
|
NextToken?: string;
|
|
313
359
|
MaxResults?: number;
|
|
360
|
+
Filters?: Filter[];
|
|
314
361
|
}
|
|
315
362
|
export interface ListApplicationsOutput {
|
|
316
363
|
Applications?: ApplicationSummary[];
|
|
@@ -366,7 +413,8 @@ export interface RegisterApplicationInput {
|
|
|
366
413
|
SapInstanceNumber?: string;
|
|
367
414
|
Sid?: string;
|
|
368
415
|
Tags?: Record<string, string>;
|
|
369
|
-
Credentials
|
|
416
|
+
Credentials?: ApplicationCredential[];
|
|
417
|
+
DatabaseArn?: string;
|
|
370
418
|
}
|
|
371
419
|
export interface RegisterApplicationOutput {
|
|
372
420
|
Application?: Application;
|
|
@@ -393,6 +441,7 @@ export interface UpdateApplicationSettingsInput {
|
|
|
393
441
|
CredentialsToAddOrUpdate?: ApplicationCredential[];
|
|
394
442
|
CredentialsToRemove?: ApplicationCredential[];
|
|
395
443
|
Backint?: BackintConfig;
|
|
444
|
+
DatabaseArn?: string;
|
|
396
445
|
}
|
|
397
446
|
export interface UpdateApplicationSettingsOutput {
|
|
398
447
|
Message?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-sap",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Sap Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.437.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.437.0",
|
|
25
25
|
"@aws-sdk/core": "3.436.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.437.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/types": "3.433.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.433.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.437.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.16",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.2.4",
|
|
39
39
|
"@smithy/hash-node": "^2.0.12",
|