@aws-sdk/client-ssm-sap 3.369.0 → 3.373.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/README.md +8 -0
- package/dist-cjs/SsmSap.js +2 -0
- package/dist-cjs/commands/StartApplicationRefreshCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +40 -1
- package/dist-cjs/protocols/Aws_restJson1.js +79 -1
- package/dist-es/SsmSap.js +2 -0
- package/dist-es/commands/StartApplicationRefreshCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +39 -0
- package/dist-es/protocols/Aws_restJson1.js +76 -0
- package/dist-types/SsmSap.d.ts +7 -0
- package/dist-types/SsmSapClient.d.ts +3 -2
- package/dist-types/commands/DeleteResourcePermissionCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationCommand.d.ts +3 -2
- package/dist-types/commands/GetComponentCommand.d.ts +27 -3
- package/dist-types/commands/GetDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/GetOperationCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePermissionCommand.d.ts +1 -1
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -1
- package/dist-types/commands/ListComponentsCommand.d.ts +2 -1
- package/dist-types/commands/ListDatabasesCommand.d.ts +1 -1
- package/dist-types/commands/ListOperationsCommand.d.ts +2 -2
- package/dist-types/commands/PutResourcePermissionCommand.d.ts +1 -1
- package/dist-types/commands/RegisterApplicationCommand.d.ts +5 -4
- package/dist-types/commands/StartApplicationRefreshCommand.d.ts +85 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +9 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +228 -13
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/SsmSap.d.ts +17 -0
- package/dist-types/ts3.4/SsmSapClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/StartApplicationRefreshCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +82 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +16 -17
|
@@ -1,5 +1,20 @@
|
|
|
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 ApplicationDiscoveryStatus: {
|
|
8
|
+
readonly DELETING: "DELETING";
|
|
9
|
+
readonly REFRESH_FAILED: "REFRESH_FAILED";
|
|
10
|
+
readonly REGISTERING: "REGISTERING";
|
|
11
|
+
readonly REGISTRATION_FAILED: "REGISTRATION_FAILED";
|
|
12
|
+
readonly SUCCESS: "SUCCESS";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type ApplicationDiscoveryStatus = (typeof ApplicationDiscoveryStatus)[keyof typeof ApplicationDiscoveryStatus];
|
|
3
18
|
/**
|
|
4
19
|
* @public
|
|
5
20
|
* @enum
|
|
@@ -54,6 +69,10 @@ export interface Application {
|
|
|
54
69
|
* <p>The status of the application.</p>
|
|
55
70
|
*/
|
|
56
71
|
Status?: ApplicationStatus | string;
|
|
72
|
+
/**
|
|
73
|
+
* <p>The latest discovery result for the application.</p>
|
|
74
|
+
*/
|
|
75
|
+
DiscoveryStatus?: ApplicationDiscoveryStatus | string;
|
|
57
76
|
/**
|
|
58
77
|
* <p>The components of the application.</p>
|
|
59
78
|
*/
|
|
@@ -120,12 +139,72 @@ export interface ApplicationSummary {
|
|
|
120
139
|
*/
|
|
121
140
|
Tags?: Record<string, string>;
|
|
122
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* <p>Describes the properties of the associated host.</p>
|
|
145
|
+
*/
|
|
146
|
+
export interface AssociatedHost {
|
|
147
|
+
/**
|
|
148
|
+
* <p>The name of the host.</p>
|
|
149
|
+
*/
|
|
150
|
+
Hostname?: string;
|
|
151
|
+
/**
|
|
152
|
+
* <p>The ID of the Amazon EC2 instance.</p>
|
|
153
|
+
*/
|
|
154
|
+
Ec2InstanceId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* <p>The version of the operating system.</p>
|
|
157
|
+
*/
|
|
158
|
+
OsVersion?: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* @enum
|
|
163
|
+
*/
|
|
164
|
+
export declare const BackintMode: {
|
|
165
|
+
readonly AWSBackup: "AWSBackup";
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type BackintMode = (typeof BackintMode)[keyof typeof BackintMode];
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
* <p>Configuration parameters for AWS Backint Agent for SAP HANA. You can backup your SAP
|
|
174
|
+
* HANA database with AWS Backup or Amazon S3.</p>
|
|
175
|
+
*/
|
|
176
|
+
export interface BackintConfig {
|
|
177
|
+
/**
|
|
178
|
+
* <p>AWS service for your database backup.</p>
|
|
179
|
+
*/
|
|
180
|
+
BackintMode: BackintMode | string | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p/>
|
|
183
|
+
*/
|
|
184
|
+
EnsureNoBackupInProcess: boolean | undefined;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* @public
|
|
188
|
+
* @enum
|
|
189
|
+
*/
|
|
190
|
+
export declare const ClusterStatus: {
|
|
191
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
192
|
+
readonly NONE: "NONE";
|
|
193
|
+
readonly OFFLINE: "OFFLINE";
|
|
194
|
+
readonly ONLINE: "ONLINE";
|
|
195
|
+
readonly STANDBY: "STANDBY";
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
123
201
|
/**
|
|
124
202
|
* @public
|
|
125
203
|
* @enum
|
|
126
204
|
*/
|
|
127
205
|
export declare const ComponentType: {
|
|
128
206
|
readonly HANA: "HANA";
|
|
207
|
+
readonly HANA_NODE: "HANA_NODE";
|
|
129
208
|
};
|
|
130
209
|
/**
|
|
131
210
|
* @public
|
|
@@ -154,18 +233,78 @@ export interface Host {
|
|
|
154
233
|
* <p>The name of the Dedicated Host.</p>
|
|
155
234
|
*/
|
|
156
235
|
HostName?: string;
|
|
157
|
-
/**
|
|
158
|
-
* <p>The role of the Dedicated Host.</p>
|
|
159
|
-
*/
|
|
160
|
-
HostRole?: HostRole | string;
|
|
161
236
|
/**
|
|
162
237
|
* <p>The IP address of the Dedicated Host. </p>
|
|
163
238
|
*/
|
|
164
239
|
HostIp?: string;
|
|
240
|
+
/**
|
|
241
|
+
* <p>The ID of Amazon EC2 instance.</p>
|
|
242
|
+
*/
|
|
243
|
+
EC2InstanceId?: string;
|
|
165
244
|
/**
|
|
166
245
|
* <p>The instance ID of the instance on the Dedicated Host.</p>
|
|
167
246
|
*/
|
|
168
247
|
InstanceId?: string;
|
|
248
|
+
/**
|
|
249
|
+
* <p>The role of the Dedicated Host.</p>
|
|
250
|
+
*/
|
|
251
|
+
HostRole?: HostRole | string;
|
|
252
|
+
/**
|
|
253
|
+
* <p>The version of the operating system.</p>
|
|
254
|
+
*/
|
|
255
|
+
OsVersion?: string;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
* @enum
|
|
260
|
+
*/
|
|
261
|
+
export declare const OperationMode: {
|
|
262
|
+
readonly DELTA_DATASHIPPING: "DELTA_DATASHIPPING";
|
|
263
|
+
readonly LOGREPLAY: "LOGREPLAY";
|
|
264
|
+
readonly LOGREPLAY_READACCESS: "LOGREPLAY_READACCESS";
|
|
265
|
+
readonly NONE: "NONE";
|
|
266
|
+
readonly PRIMARY: "PRIMARY";
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
export type OperationMode = (typeof OperationMode)[keyof typeof OperationMode];
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
* @enum
|
|
275
|
+
*/
|
|
276
|
+
export declare const ReplicationMode: {
|
|
277
|
+
readonly ASYNC: "ASYNC";
|
|
278
|
+
readonly NONE: "NONE";
|
|
279
|
+
readonly PRIMARY: "PRIMARY";
|
|
280
|
+
readonly SYNC: "SYNC";
|
|
281
|
+
readonly SYNCMEM: "SYNCMEM";
|
|
282
|
+
};
|
|
283
|
+
/**
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
export type ReplicationMode = (typeof ReplicationMode)[keyof typeof ReplicationMode];
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
* <p>Details of the SAP HANA system replication for the instance.</p>
|
|
290
|
+
*/
|
|
291
|
+
export interface Resilience {
|
|
292
|
+
/**
|
|
293
|
+
* <p>The tier of the component.</p>
|
|
294
|
+
*/
|
|
295
|
+
HsrTier?: string;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The replication mode of the component.</p>
|
|
298
|
+
*/
|
|
299
|
+
HsrReplicationMode?: ReplicationMode | string;
|
|
300
|
+
/**
|
|
301
|
+
* <p>The operation mode of the component.</p>
|
|
302
|
+
*/
|
|
303
|
+
HsrOperationMode?: OperationMode | string;
|
|
304
|
+
/**
|
|
305
|
+
* <p>The cluster status of the component.</p>
|
|
306
|
+
*/
|
|
307
|
+
ClusterStatus?: ClusterStatus | string;
|
|
169
308
|
}
|
|
170
309
|
/**
|
|
171
310
|
* @public
|
|
@@ -173,6 +312,12 @@ export interface Host {
|
|
|
173
312
|
*/
|
|
174
313
|
export declare const ComponentStatus: {
|
|
175
314
|
readonly ACTIVATED: "ACTIVATED";
|
|
315
|
+
readonly RUNNING: "RUNNING";
|
|
316
|
+
readonly RUNNING_WITH_ERROR: "RUNNING_WITH_ERROR";
|
|
317
|
+
readonly STARTING: "STARTING";
|
|
318
|
+
readonly STOPPED: "STOPPED";
|
|
319
|
+
readonly STOPPING: "STOPPING";
|
|
320
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
176
321
|
};
|
|
177
322
|
/**
|
|
178
323
|
* @public
|
|
@@ -187,6 +332,18 @@ export interface Component {
|
|
|
187
332
|
* <p>The ID of the component.</p>
|
|
188
333
|
*/
|
|
189
334
|
ComponentId?: string;
|
|
335
|
+
/**
|
|
336
|
+
* <p>The parent component of a highly available environment. For example, in a highly
|
|
337
|
+
* available SAP on AWS workload, the parent component consists of the entire setup,
|
|
338
|
+
* including the child components.</p>
|
|
339
|
+
*/
|
|
340
|
+
ParentComponent?: string;
|
|
341
|
+
/**
|
|
342
|
+
* <p>The child components of a highly available environment. For example, in a highly
|
|
343
|
+
* available SAP on AWS workload, the child component consists of the primary and secondar
|
|
344
|
+
* instances.</p>
|
|
345
|
+
*/
|
|
346
|
+
ChildComponents?: string[];
|
|
190
347
|
/**
|
|
191
348
|
* <p>The ID of the application.</p>
|
|
192
349
|
*/
|
|
@@ -199,15 +356,39 @@ export interface Component {
|
|
|
199
356
|
* <p>The status of the component.</p>
|
|
200
357
|
*/
|
|
201
358
|
Status?: ComponentStatus | string;
|
|
359
|
+
/**
|
|
360
|
+
* <p>The hostname of the component.</p>
|
|
361
|
+
*/
|
|
362
|
+
SapHostname?: string;
|
|
363
|
+
/**
|
|
364
|
+
* <p>The kernel version of the component.</p>
|
|
365
|
+
*/
|
|
366
|
+
SapKernelVersion?: string;
|
|
367
|
+
/**
|
|
368
|
+
* <p>The SAP HANA version of the component.</p>
|
|
369
|
+
*/
|
|
370
|
+
HdbVersion?: string;
|
|
371
|
+
/**
|
|
372
|
+
* <p>Details of the SAP HANA system replication for the component.</p>
|
|
373
|
+
*/
|
|
374
|
+
Resilience?: Resilience;
|
|
375
|
+
/**
|
|
376
|
+
* <p>The associated host of the component.</p>
|
|
377
|
+
*/
|
|
378
|
+
AssociatedHost?: AssociatedHost;
|
|
202
379
|
/**
|
|
203
380
|
* <p>The SAP HANA databases of the component.</p>
|
|
204
381
|
*/
|
|
205
382
|
Databases?: string[];
|
|
206
383
|
/**
|
|
384
|
+
* @deprecated
|
|
385
|
+
*
|
|
207
386
|
* <p>The hosts of the component.</p>
|
|
208
387
|
*/
|
|
209
388
|
Hosts?: Host[];
|
|
210
389
|
/**
|
|
390
|
+
* @deprecated
|
|
391
|
+
*
|
|
211
392
|
* <p>The primary host of the component.</p>
|
|
212
393
|
*/
|
|
213
394
|
PrimaryHost?: string;
|
|
@@ -215,6 +396,10 @@ export interface Component {
|
|
|
215
396
|
* <p>The time at which the component was last updated.</p>
|
|
216
397
|
*/
|
|
217
398
|
LastUpdated?: Date;
|
|
399
|
+
/**
|
|
400
|
+
* <p>The Amazon Resource Name (ARN) of the component.</p>
|
|
401
|
+
*/
|
|
402
|
+
Arn?: string;
|
|
218
403
|
}
|
|
219
404
|
/**
|
|
220
405
|
* @public
|
|
@@ -237,6 +422,10 @@ export interface ComponentSummary {
|
|
|
237
422
|
* <p>The tags of the component.</p>
|
|
238
423
|
*/
|
|
239
424
|
Tags?: Record<string, string>;
|
|
425
|
+
/**
|
|
426
|
+
* <p>The Amazon Resource Name (ARN) of the component summary.</p>
|
|
427
|
+
*/
|
|
428
|
+
Arn?: string;
|
|
240
429
|
}
|
|
241
430
|
/**
|
|
242
431
|
* @public
|
|
@@ -268,6 +457,7 @@ export type DatabaseType = (typeof DatabaseType)[keyof typeof DatabaseType];
|
|
|
268
457
|
* @enum
|
|
269
458
|
*/
|
|
270
459
|
export declare const DatabaseStatus: {
|
|
460
|
+
readonly ERROR: "ERROR";
|
|
271
461
|
readonly RUNNING: "RUNNING";
|
|
272
462
|
readonly STARTING: "STARTING";
|
|
273
463
|
readonly STOPPED: "STOPPED";
|
|
@@ -534,6 +724,10 @@ export interface GetComponentOutput {
|
|
|
534
724
|
* <p>The component of an application registered with AWS Systems Manager for SAP.</p>
|
|
535
725
|
*/
|
|
536
726
|
Component?: Component;
|
|
727
|
+
/**
|
|
728
|
+
* <p>The tags of a component.</p>
|
|
729
|
+
*/
|
|
730
|
+
Tags?: Record<string, string>;
|
|
537
731
|
}
|
|
538
732
|
/**
|
|
539
733
|
* @public
|
|
@@ -767,8 +961,8 @@ export interface ListDatabasesOutput {
|
|
|
767
961
|
*/
|
|
768
962
|
Databases?: DatabaseSummary[];
|
|
769
963
|
/**
|
|
770
|
-
* <p>The token to use to retrieve the next page of results. This value is null when there are
|
|
771
|
-
* results to return.</p>
|
|
964
|
+
* <p>The token to use to retrieve the next page of results. This value is null when there are
|
|
965
|
+
* no more results to return.</p>
|
|
772
966
|
*/
|
|
773
967
|
NextToken?: string;
|
|
774
968
|
}
|
|
@@ -781,14 +975,13 @@ export interface ListOperationsInput {
|
|
|
781
975
|
*/
|
|
782
976
|
ApplicationId: string | undefined;
|
|
783
977
|
/**
|
|
784
|
-
* <p>The maximum number of results to return with a single call. To retrieve the remaining
|
|
785
|
-
* another call with the returned nextToken value.
|
|
786
|
-
*
|
|
978
|
+
* <p>The maximum number of results to return with a single call. To retrieve the remaining
|
|
979
|
+
* results, make another call with the returned nextToken value. If you do not specify a value
|
|
980
|
+
* for MaxResults, the request returns 50 items per page by default.</p>
|
|
787
981
|
*/
|
|
788
982
|
MaxResults?: number;
|
|
789
983
|
/**
|
|
790
|
-
* <p>The token for the next page of results.
|
|
791
|
-
* </p>
|
|
984
|
+
* <p>The token for the next page of results. </p>
|
|
792
985
|
*/
|
|
793
986
|
NextToken?: string;
|
|
794
987
|
/**
|
|
@@ -805,8 +998,8 @@ export interface ListOperationsOutput {
|
|
|
805
998
|
*/
|
|
806
999
|
Operations?: Operation[];
|
|
807
1000
|
/**
|
|
808
|
-
* <p>The token to use to retrieve the next page of results. This value is null when there are
|
|
809
|
-
* results to return.</p>
|
|
1001
|
+
* <p>The token to use to retrieve the next page of results. This value is null when there are
|
|
1002
|
+
* no more results to return.</p>
|
|
810
1003
|
*/
|
|
811
1004
|
NextToken?: string;
|
|
812
1005
|
}
|
|
@@ -900,6 +1093,24 @@ export interface RegisterApplicationOutput {
|
|
|
900
1093
|
*/
|
|
901
1094
|
OperationId?: string;
|
|
902
1095
|
}
|
|
1096
|
+
/**
|
|
1097
|
+
* @public
|
|
1098
|
+
*/
|
|
1099
|
+
export interface StartApplicationRefreshInput {
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>The ID of the application.</p>
|
|
1102
|
+
*/
|
|
1103
|
+
ApplicationId: string | undefined;
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* @public
|
|
1107
|
+
*/
|
|
1108
|
+
export interface StartApplicationRefreshOutput {
|
|
1109
|
+
/**
|
|
1110
|
+
* <p>The ID of the operation.</p>
|
|
1111
|
+
*/
|
|
1112
|
+
OperationId?: string;
|
|
1113
|
+
}
|
|
903
1114
|
/**
|
|
904
1115
|
* @public
|
|
905
1116
|
*/
|
|
@@ -953,6 +1164,10 @@ export interface UpdateApplicationSettingsInput {
|
|
|
953
1164
|
* <p>The credentials to be removed.</p>
|
|
954
1165
|
*/
|
|
955
1166
|
CredentialsToRemove?: ApplicationCredential[];
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>Installation of AWS Backint Agent for SAP HANA.</p>
|
|
1169
|
+
*/
|
|
1170
|
+
Backint?: BackintConfig;
|
|
956
1171
|
}
|
|
957
1172
|
/**
|
|
958
1173
|
* @public
|
|
@@ -14,6 +14,7 @@ import { ListOperationsCommandInput, ListOperationsCommandOutput } from "../comm
|
|
|
14
14
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
15
15
|
import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "../commands/PutResourcePermissionCommand";
|
|
16
16
|
import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "../commands/RegisterApplicationCommand";
|
|
17
|
+
import { StartApplicationRefreshCommandInput, StartApplicationRefreshCommandOutput } from "../commands/StartApplicationRefreshCommand";
|
|
17
18
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
18
19
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
19
20
|
import { UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput } from "../commands/UpdateApplicationSettingsCommand";
|
|
@@ -73,6 +74,10 @@ export declare const se_PutResourcePermissionCommand: (input: PutResourcePermiss
|
|
|
73
74
|
* serializeAws_restJson1RegisterApplicationCommand
|
|
74
75
|
*/
|
|
75
76
|
export declare const se_RegisterApplicationCommand: (input: RegisterApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
77
|
+
/**
|
|
78
|
+
* serializeAws_restJson1StartApplicationRefreshCommand
|
|
79
|
+
*/
|
|
80
|
+
export declare const se_StartApplicationRefreshCommand: (input: StartApplicationRefreshCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
76
81
|
/**
|
|
77
82
|
* serializeAws_restJson1TagResourceCommand
|
|
78
83
|
*/
|
|
@@ -141,6 +146,10 @@ export declare const de_PutResourcePermissionCommand: (output: __HttpResponse, c
|
|
|
141
146
|
* deserializeAws_restJson1RegisterApplicationCommand
|
|
142
147
|
*/
|
|
143
148
|
export declare const de_RegisterApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterApplicationCommandOutput>;
|
|
149
|
+
/**
|
|
150
|
+
* deserializeAws_restJson1StartApplicationRefreshCommand
|
|
151
|
+
*/
|
|
152
|
+
export declare const de_StartApplicationRefreshCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartApplicationRefreshCommandOutput>;
|
|
144
153
|
/**
|
|
145
154
|
* deserializeAws_restJson1TagResourceCommand
|
|
146
155
|
*/
|
|
@@ -55,6 +55,10 @@ import {
|
|
|
55
55
|
RegisterApplicationCommandInput,
|
|
56
56
|
RegisterApplicationCommandOutput,
|
|
57
57
|
} from "./commands/RegisterApplicationCommand";
|
|
58
|
+
import {
|
|
59
|
+
StartApplicationRefreshCommandInput,
|
|
60
|
+
StartApplicationRefreshCommandOutput,
|
|
61
|
+
} from "./commands/StartApplicationRefreshCommand";
|
|
58
62
|
import {
|
|
59
63
|
TagResourceCommandInput,
|
|
60
64
|
TagResourceCommandOutput,
|
|
@@ -251,6 +255,19 @@ export interface SsmSap {
|
|
|
251
255
|
options: __HttpHandlerOptions,
|
|
252
256
|
cb: (err: any, data?: RegisterApplicationCommandOutput) => void
|
|
253
257
|
): void;
|
|
258
|
+
startApplicationRefresh(
|
|
259
|
+
args: StartApplicationRefreshCommandInput,
|
|
260
|
+
options?: __HttpHandlerOptions
|
|
261
|
+
): Promise<StartApplicationRefreshCommandOutput>;
|
|
262
|
+
startApplicationRefresh(
|
|
263
|
+
args: StartApplicationRefreshCommandInput,
|
|
264
|
+
cb: (err: any, data?: StartApplicationRefreshCommandOutput) => void
|
|
265
|
+
): void;
|
|
266
|
+
startApplicationRefresh(
|
|
267
|
+
args: StartApplicationRefreshCommandInput,
|
|
268
|
+
options: __HttpHandlerOptions,
|
|
269
|
+
cb: (err: any, data?: StartApplicationRefreshCommandOutput) => void
|
|
270
|
+
): void;
|
|
254
271
|
tagResource(
|
|
255
272
|
args: TagResourceCommandInput,
|
|
256
273
|
options?: __HttpHandlerOptions
|
|
@@ -100,6 +100,10 @@ import {
|
|
|
100
100
|
RegisterApplicationCommandInput,
|
|
101
101
|
RegisterApplicationCommandOutput,
|
|
102
102
|
} from "./commands/RegisterApplicationCommand";
|
|
103
|
+
import {
|
|
104
|
+
StartApplicationRefreshCommandInput,
|
|
105
|
+
StartApplicationRefreshCommandOutput,
|
|
106
|
+
} from "./commands/StartApplicationRefreshCommand";
|
|
103
107
|
import {
|
|
104
108
|
TagResourceCommandInput,
|
|
105
109
|
TagResourceCommandOutput,
|
|
@@ -133,6 +137,7 @@ export type ServiceInputTypes =
|
|
|
133
137
|
| ListTagsForResourceCommandInput
|
|
134
138
|
| PutResourcePermissionCommandInput
|
|
135
139
|
| RegisterApplicationCommandInput
|
|
140
|
+
| StartApplicationRefreshCommandInput
|
|
136
141
|
| TagResourceCommandInput
|
|
137
142
|
| UntagResourceCommandInput
|
|
138
143
|
| UpdateApplicationSettingsCommandInput;
|
|
@@ -151,6 +156,7 @@ export type ServiceOutputTypes =
|
|
|
151
156
|
| ListTagsForResourceCommandOutput
|
|
152
157
|
| PutResourcePermissionCommandOutput
|
|
153
158
|
| RegisterApplicationCommandOutput
|
|
159
|
+
| StartApplicationRefreshCommandOutput
|
|
154
160
|
| TagResourceCommandOutput
|
|
155
161
|
| UntagResourceCommandOutput
|
|
156
162
|
| UpdateApplicationSettingsCommandOutput;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
StartApplicationRefreshInput,
|
|
11
|
+
StartApplicationRefreshOutput,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
SsmSapClientResolvedConfig,
|
|
17
|
+
} from "../SsmSapClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface StartApplicationRefreshCommandInput
|
|
20
|
+
extends StartApplicationRefreshInput {}
|
|
21
|
+
export interface StartApplicationRefreshCommandOutput
|
|
22
|
+
extends StartApplicationRefreshOutput,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class StartApplicationRefreshCommand extends $Command<
|
|
25
|
+
StartApplicationRefreshCommandInput,
|
|
26
|
+
StartApplicationRefreshCommandOutput,
|
|
27
|
+
SsmSapClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: StartApplicationRefreshCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: StartApplicationRefreshCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: SsmSapClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
StartApplicationRefreshCommandInput,
|
|
38
|
+
StartApplicationRefreshCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./ListOperationsCommand";
|
|
|
12
12
|
export * from "./ListTagsForResourceCommand";
|
|
13
13
|
export * from "./PutResourcePermissionCommand";
|
|
14
14
|
export * from "./RegisterApplicationCommand";
|
|
15
|
+
export * from "./StartApplicationRefreshCommand";
|
|
15
16
|
export * from "./TagResourceCommand";
|
|
16
17
|
export * from "./UntagResourceCommand";
|
|
17
18
|
export * from "./UpdateApplicationSettingsCommand";
|
|
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
29
|
+
Region?: string;
|
|
30
30
|
UseDualStack?: boolean;
|
|
31
31
|
UseFIPS?: boolean;
|
|
32
32
|
Endpoint?: string;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
|
|
3
|
+
export declare const ApplicationDiscoveryStatus: {
|
|
4
|
+
readonly DELETING: "DELETING";
|
|
5
|
+
readonly REFRESH_FAILED: "REFRESH_FAILED";
|
|
6
|
+
readonly REGISTERING: "REGISTERING";
|
|
7
|
+
readonly REGISTRATION_FAILED: "REGISTRATION_FAILED";
|
|
8
|
+
readonly SUCCESS: "SUCCESS";
|
|
9
|
+
};
|
|
10
|
+
export type ApplicationDiscoveryStatus =
|
|
11
|
+
(typeof ApplicationDiscoveryStatus)[keyof typeof ApplicationDiscoveryStatus];
|
|
3
12
|
export declare const ApplicationStatus: {
|
|
4
13
|
readonly ACTIVATED: "ACTIVATED";
|
|
5
14
|
readonly DELETING: "DELETING";
|
|
@@ -23,6 +32,7 @@ export interface Application {
|
|
|
23
32
|
Arn?: string;
|
|
24
33
|
AppRegistryArn?: string;
|
|
25
34
|
Status?: ApplicationStatus | string;
|
|
35
|
+
DiscoveryStatus?: ApplicationDiscoveryStatus | string;
|
|
26
36
|
Components?: string[];
|
|
27
37
|
LastUpdated?: Date;
|
|
28
38
|
StatusMessage?: string;
|
|
@@ -43,8 +53,30 @@ export interface ApplicationSummary {
|
|
|
43
53
|
Arn?: string;
|
|
44
54
|
Tags?: Record<string, string>;
|
|
45
55
|
}
|
|
56
|
+
export interface AssociatedHost {
|
|
57
|
+
Hostname?: string;
|
|
58
|
+
Ec2InstanceId?: string;
|
|
59
|
+
OsVersion?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare const BackintMode: {
|
|
62
|
+
readonly AWSBackup: "AWSBackup";
|
|
63
|
+
};
|
|
64
|
+
export type BackintMode = (typeof BackintMode)[keyof typeof BackintMode];
|
|
65
|
+
export interface BackintConfig {
|
|
66
|
+
BackintMode: BackintMode | string | undefined;
|
|
67
|
+
EnsureNoBackupInProcess: boolean | undefined;
|
|
68
|
+
}
|
|
69
|
+
export declare const ClusterStatus: {
|
|
70
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
71
|
+
readonly NONE: "NONE";
|
|
72
|
+
readonly OFFLINE: "OFFLINE";
|
|
73
|
+
readonly ONLINE: "ONLINE";
|
|
74
|
+
readonly STANDBY: "STANDBY";
|
|
75
|
+
};
|
|
76
|
+
export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
46
77
|
export declare const ComponentType: {
|
|
47
78
|
readonly HANA: "HANA";
|
|
79
|
+
readonly HANA_NODE: "HANA_NODE";
|
|
48
80
|
};
|
|
49
81
|
export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
|
|
50
82
|
export declare const HostRole: {
|
|
@@ -56,30 +88,70 @@ export declare const HostRole: {
|
|
|
56
88
|
export type HostRole = (typeof HostRole)[keyof typeof HostRole];
|
|
57
89
|
export interface Host {
|
|
58
90
|
HostName?: string;
|
|
59
|
-
HostRole?: HostRole | string;
|
|
60
91
|
HostIp?: string;
|
|
92
|
+
EC2InstanceId?: string;
|
|
61
93
|
InstanceId?: string;
|
|
94
|
+
HostRole?: HostRole | string;
|
|
95
|
+
OsVersion?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare const OperationMode: {
|
|
98
|
+
readonly DELTA_DATASHIPPING: "DELTA_DATASHIPPING";
|
|
99
|
+
readonly LOGREPLAY: "LOGREPLAY";
|
|
100
|
+
readonly LOGREPLAY_READACCESS: "LOGREPLAY_READACCESS";
|
|
101
|
+
readonly NONE: "NONE";
|
|
102
|
+
readonly PRIMARY: "PRIMARY";
|
|
103
|
+
};
|
|
104
|
+
export type OperationMode = (typeof OperationMode)[keyof typeof OperationMode];
|
|
105
|
+
export declare const ReplicationMode: {
|
|
106
|
+
readonly ASYNC: "ASYNC";
|
|
107
|
+
readonly NONE: "NONE";
|
|
108
|
+
readonly PRIMARY: "PRIMARY";
|
|
109
|
+
readonly SYNC: "SYNC";
|
|
110
|
+
readonly SYNCMEM: "SYNCMEM";
|
|
111
|
+
};
|
|
112
|
+
export type ReplicationMode =
|
|
113
|
+
(typeof ReplicationMode)[keyof typeof ReplicationMode];
|
|
114
|
+
export interface Resilience {
|
|
115
|
+
HsrTier?: string;
|
|
116
|
+
HsrReplicationMode?: ReplicationMode | string;
|
|
117
|
+
HsrOperationMode?: OperationMode | string;
|
|
118
|
+
ClusterStatus?: ClusterStatus | string;
|
|
62
119
|
}
|
|
63
120
|
export declare const ComponentStatus: {
|
|
64
121
|
readonly ACTIVATED: "ACTIVATED";
|
|
122
|
+
readonly RUNNING: "RUNNING";
|
|
123
|
+
readonly RUNNING_WITH_ERROR: "RUNNING_WITH_ERROR";
|
|
124
|
+
readonly STARTING: "STARTING";
|
|
125
|
+
readonly STOPPED: "STOPPED";
|
|
126
|
+
readonly STOPPING: "STOPPING";
|
|
127
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
65
128
|
};
|
|
66
129
|
export type ComponentStatus =
|
|
67
130
|
(typeof ComponentStatus)[keyof typeof ComponentStatus];
|
|
68
131
|
export interface Component {
|
|
69
132
|
ComponentId?: string;
|
|
133
|
+
ParentComponent?: string;
|
|
134
|
+
ChildComponents?: string[];
|
|
70
135
|
ApplicationId?: string;
|
|
71
136
|
ComponentType?: ComponentType | string;
|
|
72
137
|
Status?: ComponentStatus | string;
|
|
138
|
+
SapHostname?: string;
|
|
139
|
+
SapKernelVersion?: string;
|
|
140
|
+
HdbVersion?: string;
|
|
141
|
+
Resilience?: Resilience;
|
|
142
|
+
AssociatedHost?: AssociatedHost;
|
|
73
143
|
Databases?: string[];
|
|
74
144
|
Hosts?: Host[];
|
|
75
145
|
PrimaryHost?: string;
|
|
76
146
|
LastUpdated?: Date;
|
|
147
|
+
Arn?: string;
|
|
77
148
|
}
|
|
78
149
|
export interface ComponentSummary {
|
|
79
150
|
ApplicationId?: string;
|
|
80
151
|
ComponentId?: string;
|
|
81
152
|
ComponentType?: ComponentType | string;
|
|
82
153
|
Tags?: Record<string, string>;
|
|
154
|
+
Arn?: string;
|
|
83
155
|
}
|
|
84
156
|
export declare class ConflictException extends __BaseException {
|
|
85
157
|
readonly name: "ConflictException";
|
|
@@ -93,6 +165,7 @@ export declare const DatabaseType: {
|
|
|
93
165
|
};
|
|
94
166
|
export type DatabaseType = (typeof DatabaseType)[keyof typeof DatabaseType];
|
|
95
167
|
export declare const DatabaseStatus: {
|
|
168
|
+
readonly ERROR: "ERROR";
|
|
96
169
|
readonly RUNNING: "RUNNING";
|
|
97
170
|
readonly STARTING: "STARTING";
|
|
98
171
|
readonly STOPPED: "STOPPED";
|
|
@@ -190,6 +263,7 @@ export interface GetComponentInput {
|
|
|
190
263
|
}
|
|
191
264
|
export interface GetComponentOutput {
|
|
192
265
|
Component?: Component;
|
|
266
|
+
Tags?: Record<string, string>;
|
|
193
267
|
}
|
|
194
268
|
export interface GetDatabaseInput {
|
|
195
269
|
ApplicationId?: string;
|
|
@@ -298,6 +372,12 @@ export interface RegisterApplicationOutput {
|
|
|
298
372
|
Application?: Application;
|
|
299
373
|
OperationId?: string;
|
|
300
374
|
}
|
|
375
|
+
export interface StartApplicationRefreshInput {
|
|
376
|
+
ApplicationId: string | undefined;
|
|
377
|
+
}
|
|
378
|
+
export interface StartApplicationRefreshOutput {
|
|
379
|
+
OperationId?: string;
|
|
380
|
+
}
|
|
301
381
|
export interface TagResourceRequest {
|
|
302
382
|
resourceArn: string | undefined;
|
|
303
383
|
tags: Record<string, string> | undefined;
|
|
@@ -312,6 +392,7 @@ export interface UpdateApplicationSettingsInput {
|
|
|
312
392
|
ApplicationId: string | undefined;
|
|
313
393
|
CredentialsToAddOrUpdate?: ApplicationCredential[];
|
|
314
394
|
CredentialsToRemove?: ApplicationCredential[];
|
|
395
|
+
Backint?: BackintConfig;
|
|
315
396
|
}
|
|
316
397
|
export interface UpdateApplicationSettingsOutput {
|
|
317
398
|
Message?: string;
|