@aws-sdk/client-ssm-sap 3.214.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 +207 -0
- package/dist-cjs/SsmSap.js +247 -0
- package/dist-cjs/SsmSapClient.js +40 -0
- package/dist-cjs/commands/DeleteResourcePermissionCommand.js +46 -0
- package/dist-cjs/commands/DeregisterApplicationCommand.js +46 -0
- package/dist-cjs/commands/GetApplicationCommand.js +46 -0
- package/dist-cjs/commands/GetComponentCommand.js +46 -0
- package/dist-cjs/commands/GetDatabaseCommand.js +46 -0
- package/dist-cjs/commands/GetOperationCommand.js +46 -0
- package/dist-cjs/commands/GetResourcePermissionCommand.js +46 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +46 -0
- package/dist-cjs/commands/ListComponentsCommand.js +46 -0
- package/dist-cjs/commands/ListDatabasesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/PutResourcePermissionCommand.js +46 -0
- package/dist-cjs/commands/RegisterApplicationCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateApplicationSettingsCommand.js +46 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SsmSapServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +293 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListComponentsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDatabasesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1356 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/SsmSap.js +243 -0
- package/dist-es/SsmSapClient.js +36 -0
- package/dist-es/commands/DeleteResourcePermissionCommand.js +42 -0
- package/dist-es/commands/DeregisterApplicationCommand.js +42 -0
- package/dist-es/commands/GetApplicationCommand.js +42 -0
- package/dist-es/commands/GetComponentCommand.js +42 -0
- package/dist-es/commands/GetDatabaseCommand.js +42 -0
- package/dist-es/commands/GetOperationCommand.js +42 -0
- package/dist-es/commands/GetResourcePermissionCommand.js +42 -0
- package/dist-es/commands/ListApplicationsCommand.js +42 -0
- package/dist-es/commands/ListComponentsCommand.js +42 -0
- package/dist-es/commands/ListDatabasesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/PutResourcePermissionCommand.js +42 -0
- package/dist-es/commands/RegisterApplicationCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateApplicationSettingsCommand.js +42 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SsmSapServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +244 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +32 -0
- package/dist-es/pagination/ListComponentsPaginator.js +32 -0
- package/dist-es/pagination/ListDatabasesPaginator.js +32 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1321 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/SsmSap.d.ts +134 -0
- package/dist-types/SsmSapClient.d.ts +159 -0
- package/dist-types/commands/DeleteResourcePermissionCommand.d.ts +37 -0
- package/dist-types/commands/DeregisterApplicationCommand.d.ts +38 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/commands/GetComponentCommand.d.ts +38 -0
- package/dist-types/commands/GetDatabaseCommand.d.ts +38 -0
- package/dist-types/commands/GetOperationCommand.d.ts +37 -0
- package/dist-types/commands/GetResourcePermissionCommand.d.ts +37 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +37 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +37 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +38 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/commands/PutResourcePermissionCommand.d.ts +37 -0
- package/dist-types/commands/RegisterApplicationCommand.d.ts +44 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/SsmSapServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +854 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDatabasesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +50 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/SsmSap.d.ts +276 -0
- package/dist-types/ts3.4/SsmSapClient.d.ts +207 -0
- package/dist-types/ts3.4/commands/DeleteResourcePermissionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeregisterApplicationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetResourcePermissionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePermissionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RegisterApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -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/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SsmSapServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +392 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +101 -0
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: true,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "booleanEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
ref: "UseFIPS",
|
|
124
|
+
},
|
|
125
|
+
true,
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fn: "booleanEquals",
|
|
130
|
+
argv: [
|
|
131
|
+
{
|
|
132
|
+
ref: "UseDualStack",
|
|
133
|
+
},
|
|
134
|
+
true,
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
type: "tree",
|
|
139
|
+
rules: [
|
|
140
|
+
{
|
|
141
|
+
conditions: [
|
|
142
|
+
{
|
|
143
|
+
fn: "booleanEquals",
|
|
144
|
+
argv: [
|
|
145
|
+
true,
|
|
146
|
+
{
|
|
147
|
+
fn: "getAttr",
|
|
148
|
+
argv: [
|
|
149
|
+
{
|
|
150
|
+
ref: "PartitionResult",
|
|
151
|
+
},
|
|
152
|
+
"supportsFIPS",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
fn: "booleanEquals",
|
|
159
|
+
argv: [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
fn: "getAttr",
|
|
163
|
+
argv: [
|
|
164
|
+
{
|
|
165
|
+
ref: "PartitionResult",
|
|
166
|
+
},
|
|
167
|
+
"supportsDualStack",
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
type: "tree",
|
|
174
|
+
rules: [
|
|
175
|
+
{
|
|
176
|
+
conditions: [],
|
|
177
|
+
endpoint: {
|
|
178
|
+
url: "https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
+
properties: {},
|
|
180
|
+
headers: {},
|
|
181
|
+
},
|
|
182
|
+
type: "endpoint",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: [],
|
|
188
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
conditions: [
|
|
195
|
+
{
|
|
196
|
+
fn: "booleanEquals",
|
|
197
|
+
argv: [
|
|
198
|
+
{
|
|
199
|
+
ref: "UseFIPS",
|
|
200
|
+
},
|
|
201
|
+
true,
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
type: "tree",
|
|
206
|
+
rules: [
|
|
207
|
+
{
|
|
208
|
+
conditions: [
|
|
209
|
+
{
|
|
210
|
+
fn: "booleanEquals",
|
|
211
|
+
argv: [
|
|
212
|
+
true,
|
|
213
|
+
{
|
|
214
|
+
fn: "getAttr",
|
|
215
|
+
argv: [
|
|
216
|
+
{
|
|
217
|
+
ref: "PartitionResult",
|
|
218
|
+
},
|
|
219
|
+
"supportsFIPS",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
type: "tree",
|
|
226
|
+
rules: [
|
|
227
|
+
{
|
|
228
|
+
conditions: [],
|
|
229
|
+
endpoint: {
|
|
230
|
+
url: "https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
231
|
+
properties: {},
|
|
232
|
+
headers: {},
|
|
233
|
+
},
|
|
234
|
+
type: "endpoint",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
conditions: [],
|
|
240
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
241
|
+
type: "error",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
conditions: [
|
|
247
|
+
{
|
|
248
|
+
fn: "booleanEquals",
|
|
249
|
+
argv: [
|
|
250
|
+
{
|
|
251
|
+
ref: "UseDualStack",
|
|
252
|
+
},
|
|
253
|
+
true,
|
|
254
|
+
],
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
type: "tree",
|
|
258
|
+
rules: [
|
|
259
|
+
{
|
|
260
|
+
conditions: [
|
|
261
|
+
{
|
|
262
|
+
fn: "booleanEquals",
|
|
263
|
+
argv: [
|
|
264
|
+
true,
|
|
265
|
+
{
|
|
266
|
+
fn: "getAttr",
|
|
267
|
+
argv: [
|
|
268
|
+
{
|
|
269
|
+
ref: "PartitionResult",
|
|
270
|
+
},
|
|
271
|
+
"supportsDualStack",
|
|
272
|
+
],
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
type: "tree",
|
|
278
|
+
rules: [
|
|
279
|
+
{
|
|
280
|
+
conditions: [],
|
|
281
|
+
endpoint: {
|
|
282
|
+
url: "https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
283
|
+
properties: {},
|
|
284
|
+
headers: {},
|
|
285
|
+
},
|
|
286
|
+
type: "endpoint",
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
conditions: [],
|
|
292
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
293
|
+
type: "error",
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
conditions: [],
|
|
299
|
+
endpoint: {
|
|
300
|
+
url: "https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}",
|
|
301
|
+
properties: {},
|
|
302
|
+
headers: {},
|
|
303
|
+
},
|
|
304
|
+
type: "endpoint",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
|
|
3
|
+
export var ApplicationStatus;
|
|
4
|
+
(function (ApplicationStatus) {
|
|
5
|
+
ApplicationStatus["ACTIVATED"] = "ACTIVATED";
|
|
6
|
+
ApplicationStatus["DELETING"] = "DELETING";
|
|
7
|
+
ApplicationStatus["FAILED"] = "FAILED";
|
|
8
|
+
ApplicationStatus["REGISTERING"] = "REGISTERING";
|
|
9
|
+
ApplicationStatus["STARTING"] = "STARTING";
|
|
10
|
+
ApplicationStatus["STOPPED"] = "STOPPED";
|
|
11
|
+
ApplicationStatus["STOPPING"] = "STOPPING";
|
|
12
|
+
ApplicationStatus["UNKNOWN"] = "UNKNOWN";
|
|
13
|
+
})(ApplicationStatus || (ApplicationStatus = {}));
|
|
14
|
+
export var ApplicationType;
|
|
15
|
+
(function (ApplicationType) {
|
|
16
|
+
ApplicationType["HANA"] = "HANA";
|
|
17
|
+
})(ApplicationType || (ApplicationType = {}));
|
|
18
|
+
export var CredentialType;
|
|
19
|
+
(function (CredentialType) {
|
|
20
|
+
CredentialType["ADMIN"] = "ADMIN";
|
|
21
|
+
})(CredentialType || (CredentialType = {}));
|
|
22
|
+
export var ComponentType;
|
|
23
|
+
(function (ComponentType) {
|
|
24
|
+
ComponentType["HANA"] = "HANA";
|
|
25
|
+
})(ComponentType || (ComponentType = {}));
|
|
26
|
+
export var HostRole;
|
|
27
|
+
(function (HostRole) {
|
|
28
|
+
HostRole["LEADER"] = "LEADER";
|
|
29
|
+
HostRole["STANDBY"] = "STANDBY";
|
|
30
|
+
HostRole["UNKNOWN"] = "UNKNOWN";
|
|
31
|
+
HostRole["WORKER"] = "WORKER";
|
|
32
|
+
})(HostRole || (HostRole = {}));
|
|
33
|
+
export var ComponentStatus;
|
|
34
|
+
(function (ComponentStatus) {
|
|
35
|
+
ComponentStatus["ACTIVATED"] = "ACTIVATED";
|
|
36
|
+
})(ComponentStatus || (ComponentStatus = {}));
|
|
37
|
+
export class ConflictException extends __BaseException {
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "ConflictException",
|
|
41
|
+
$fault: "client",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
this.name = "ConflictException";
|
|
45
|
+
this.$fault = "client";
|
|
46
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export var DatabaseType;
|
|
51
|
+
(function (DatabaseType) {
|
|
52
|
+
DatabaseType["SYSTEM"] = "SYSTEM";
|
|
53
|
+
DatabaseType["TENANT"] = "TENANT";
|
|
54
|
+
})(DatabaseType || (DatabaseType = {}));
|
|
55
|
+
export var DatabaseStatus;
|
|
56
|
+
(function (DatabaseStatus) {
|
|
57
|
+
DatabaseStatus["RUNNING"] = "RUNNING";
|
|
58
|
+
DatabaseStatus["STARTING"] = "STARTING";
|
|
59
|
+
DatabaseStatus["STOPPED"] = "STOPPED";
|
|
60
|
+
DatabaseStatus["UNKNOWN"] = "UNKNOWN";
|
|
61
|
+
DatabaseStatus["WARNING"] = "WARNING";
|
|
62
|
+
})(DatabaseStatus || (DatabaseStatus = {}));
|
|
63
|
+
export var PermissionActionType;
|
|
64
|
+
(function (PermissionActionType) {
|
|
65
|
+
PermissionActionType["RESTORE"] = "RESTORE";
|
|
66
|
+
})(PermissionActionType || (PermissionActionType = {}));
|
|
67
|
+
export class InternalServerException extends __BaseException {
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "InternalServerException",
|
|
71
|
+
$fault: "server",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
this.name = "InternalServerException";
|
|
75
|
+
this.$fault = "server";
|
|
76
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
77
|
+
this.Message = opts.Message;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "ResourceNotFoundException",
|
|
84
|
+
$fault: "client",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
this.name = "ResourceNotFoundException";
|
|
88
|
+
this.$fault = "client";
|
|
89
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
90
|
+
this.Message = opts.Message;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export class ValidationException extends __BaseException {
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ValidationException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
this.name = "ValidationException";
|
|
101
|
+
this.$fault = "client";
|
|
102
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
103
|
+
this.Message = opts.Message;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export var OperationStatus;
|
|
107
|
+
(function (OperationStatus) {
|
|
108
|
+
OperationStatus["ERROR"] = "ERROR";
|
|
109
|
+
OperationStatus["INPROGRESS"] = "INPROGRESS";
|
|
110
|
+
OperationStatus["SUCCESS"] = "SUCCESS";
|
|
111
|
+
})(OperationStatus || (OperationStatus = {}));
|
|
112
|
+
export const ApplicationFilterSensitiveLog = (obj) => ({
|
|
113
|
+
...obj,
|
|
114
|
+
});
|
|
115
|
+
export const ApplicationCredentialFilterSensitiveLog = (obj) => ({
|
|
116
|
+
...obj,
|
|
117
|
+
...(obj.SecretId && { SecretId: SENSITIVE_STRING }),
|
|
118
|
+
});
|
|
119
|
+
export const ApplicationSummaryFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
});
|
|
122
|
+
export const HostFilterSensitiveLog = (obj) => ({
|
|
123
|
+
...obj,
|
|
124
|
+
});
|
|
125
|
+
export const ComponentFilterSensitiveLog = (obj) => ({
|
|
126
|
+
...obj,
|
|
127
|
+
});
|
|
128
|
+
export const ComponentSummaryFilterSensitiveLog = (obj) => ({
|
|
129
|
+
...obj,
|
|
130
|
+
});
|
|
131
|
+
export const DatabaseFilterSensitiveLog = (obj) => ({
|
|
132
|
+
...obj,
|
|
133
|
+
...(obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }),
|
|
134
|
+
});
|
|
135
|
+
export const DatabaseSummaryFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
export const DeleteResourcePermissionInputFilterSensitiveLog = (obj) => ({
|
|
139
|
+
...obj,
|
|
140
|
+
});
|
|
141
|
+
export const DeleteResourcePermissionOutputFilterSensitiveLog = (obj) => ({
|
|
142
|
+
...obj,
|
|
143
|
+
});
|
|
144
|
+
export const DeregisterApplicationInputFilterSensitiveLog = (obj) => ({
|
|
145
|
+
...obj,
|
|
146
|
+
});
|
|
147
|
+
export const DeregisterApplicationOutputFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
export const GetApplicationInputFilterSensitiveLog = (obj) => ({
|
|
151
|
+
...obj,
|
|
152
|
+
});
|
|
153
|
+
export const GetApplicationOutputFilterSensitiveLog = (obj) => ({
|
|
154
|
+
...obj,
|
|
155
|
+
});
|
|
156
|
+
export const GetComponentInputFilterSensitiveLog = (obj) => ({
|
|
157
|
+
...obj,
|
|
158
|
+
});
|
|
159
|
+
export const GetComponentOutputFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
});
|
|
162
|
+
export const GetDatabaseInputFilterSensitiveLog = (obj) => ({
|
|
163
|
+
...obj,
|
|
164
|
+
});
|
|
165
|
+
export const GetDatabaseOutputFilterSensitiveLog = (obj) => ({
|
|
166
|
+
...obj,
|
|
167
|
+
...(obj.Database && { Database: DatabaseFilterSensitiveLog(obj.Database) }),
|
|
168
|
+
});
|
|
169
|
+
export const GetOperationInputFilterSensitiveLog = (obj) => ({
|
|
170
|
+
...obj,
|
|
171
|
+
});
|
|
172
|
+
export const OperationFilterSensitiveLog = (obj) => ({
|
|
173
|
+
...obj,
|
|
174
|
+
});
|
|
175
|
+
export const GetOperationOutputFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
});
|
|
178
|
+
export const GetResourcePermissionInputFilterSensitiveLog = (obj) => ({
|
|
179
|
+
...obj,
|
|
180
|
+
});
|
|
181
|
+
export const GetResourcePermissionOutputFilterSensitiveLog = (obj) => ({
|
|
182
|
+
...obj,
|
|
183
|
+
});
|
|
184
|
+
export const ListApplicationsInputFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
});
|
|
187
|
+
export const ListApplicationsOutputFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
export const ListComponentsInputFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
});
|
|
193
|
+
export const ListComponentsOutputFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
});
|
|
196
|
+
export const ListDatabasesInputFilterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
});
|
|
199
|
+
export const ListDatabasesOutputFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
});
|
|
202
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
});
|
|
205
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
206
|
+
...obj,
|
|
207
|
+
});
|
|
208
|
+
export const PutResourcePermissionInputFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
export const PutResourcePermissionOutputFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
export const RegisterApplicationInputFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
...(obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }),
|
|
217
|
+
});
|
|
218
|
+
export const RegisterApplicationOutputFilterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
});
|
|
221
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
+
...obj,
|
|
223
|
+
});
|
|
224
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
});
|
|
227
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
});
|
|
233
|
+
export const UpdateApplicationSettingsInputFilterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
...(obj.CredentialsToAddOrUpdate && {
|
|
236
|
+
CredentialsToAddOrUpdate: obj.CredentialsToAddOrUpdate.map((item) => ApplicationCredentialFilterSensitiveLog(item)),
|
|
237
|
+
}),
|
|
238
|
+
...(obj.CredentialsToRemove && {
|
|
239
|
+
CredentialsToRemove: obj.CredentialsToRemove.map((item) => ApplicationCredentialFilterSensitiveLog(item)),
|
|
240
|
+
}),
|
|
241
|
+
});
|
|
242
|
+
export const UpdateApplicationSettingsOutputFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
2
|
+
import { SsmSap } from "../SsmSap";
|
|
3
|
+
import { SsmSapClient } from "../SsmSapClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListApplicationsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listApplications(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof SsmSap) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SsmSapClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected SsmSap | SsmSapClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListComponentsCommand, } from "../commands/ListComponentsCommand";
|
|
2
|
+
import { SsmSap } from "../SsmSap";
|
|
3
|
+
import { SsmSapClient } from "../SsmSapClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListComponentsCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listComponents(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListComponents(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof SsmSap) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SsmSapClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected SsmSap | SsmSapClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ListDatabasesCommand, } from "../commands/ListDatabasesCommand";
|
|
2
|
+
import { SsmSap } from "../SsmSap";
|
|
3
|
+
import { SsmSapClient } from "../SsmSapClient";
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListDatabasesCommand(input), ...args);
|
|
6
|
+
};
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listDatabases(input, ...args);
|
|
9
|
+
};
|
|
10
|
+
export async function* paginateListDatabases(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof SsmSap) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof SsmSapClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected SsmSap | SsmSapClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
30
|
+
}
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|