@aws-sdk/client-ssm-sap 3.315.0 → 3.316.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SsmSap = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const DeleteResourcePermissionCommand_1 = require("./commands/DeleteResourcePermissionCommand");
5
6
  const DeregisterApplicationCommand_1 = require("./commands/DeregisterApplicationCommand");
6
7
  const GetApplicationCommand_1 = require("./commands/GetApplicationCommand");
@@ -19,244 +20,26 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
19
20
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
20
21
  const UpdateApplicationSettingsCommand_1 = require("./commands/UpdateApplicationSettingsCommand");
21
22
  const SsmSapClient_1 = require("./SsmSapClient");
23
+ const commands = {
24
+ DeleteResourcePermissionCommand: DeleteResourcePermissionCommand_1.DeleteResourcePermissionCommand,
25
+ DeregisterApplicationCommand: DeregisterApplicationCommand_1.DeregisterApplicationCommand,
26
+ GetApplicationCommand: GetApplicationCommand_1.GetApplicationCommand,
27
+ GetComponentCommand: GetComponentCommand_1.GetComponentCommand,
28
+ GetDatabaseCommand: GetDatabaseCommand_1.GetDatabaseCommand,
29
+ GetOperationCommand: GetOperationCommand_1.GetOperationCommand,
30
+ GetResourcePermissionCommand: GetResourcePermissionCommand_1.GetResourcePermissionCommand,
31
+ ListApplicationsCommand: ListApplicationsCommand_1.ListApplicationsCommand,
32
+ ListComponentsCommand: ListComponentsCommand_1.ListComponentsCommand,
33
+ ListDatabasesCommand: ListDatabasesCommand_1.ListDatabasesCommand,
34
+ ListOperationsCommand: ListOperationsCommand_1.ListOperationsCommand,
35
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
36
+ PutResourcePermissionCommand: PutResourcePermissionCommand_1.PutResourcePermissionCommand,
37
+ RegisterApplicationCommand: RegisterApplicationCommand_1.RegisterApplicationCommand,
38
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
39
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
40
+ UpdateApplicationSettingsCommand: UpdateApplicationSettingsCommand_1.UpdateApplicationSettingsCommand,
41
+ };
22
42
  class SsmSap extends SsmSapClient_1.SsmSapClient {
23
- deleteResourcePermission(args, optionsOrCb, cb) {
24
- const command = new DeleteResourcePermissionCommand_1.DeleteResourcePermissionCommand(args);
25
- if (typeof optionsOrCb === "function") {
26
- this.send(command, optionsOrCb);
27
- }
28
- else if (typeof cb === "function") {
29
- if (typeof optionsOrCb !== "object")
30
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
31
- this.send(command, optionsOrCb || {}, cb);
32
- }
33
- else {
34
- return this.send(command, optionsOrCb);
35
- }
36
- }
37
- deregisterApplication(args, optionsOrCb, cb) {
38
- const command = new DeregisterApplicationCommand_1.DeregisterApplicationCommand(args);
39
- if (typeof optionsOrCb === "function") {
40
- this.send(command, optionsOrCb);
41
- }
42
- else if (typeof cb === "function") {
43
- if (typeof optionsOrCb !== "object")
44
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
45
- this.send(command, optionsOrCb || {}, cb);
46
- }
47
- else {
48
- return this.send(command, optionsOrCb);
49
- }
50
- }
51
- getApplication(args, optionsOrCb, cb) {
52
- const command = new GetApplicationCommand_1.GetApplicationCommand(args);
53
- if (typeof optionsOrCb === "function") {
54
- this.send(command, optionsOrCb);
55
- }
56
- else if (typeof cb === "function") {
57
- if (typeof optionsOrCb !== "object")
58
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
59
- this.send(command, optionsOrCb || {}, cb);
60
- }
61
- else {
62
- return this.send(command, optionsOrCb);
63
- }
64
- }
65
- getComponent(args, optionsOrCb, cb) {
66
- const command = new GetComponentCommand_1.GetComponentCommand(args);
67
- if (typeof optionsOrCb === "function") {
68
- this.send(command, optionsOrCb);
69
- }
70
- else if (typeof cb === "function") {
71
- if (typeof optionsOrCb !== "object")
72
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
73
- this.send(command, optionsOrCb || {}, cb);
74
- }
75
- else {
76
- return this.send(command, optionsOrCb);
77
- }
78
- }
79
- getDatabase(args, optionsOrCb, cb) {
80
- const command = new GetDatabaseCommand_1.GetDatabaseCommand(args);
81
- if (typeof optionsOrCb === "function") {
82
- this.send(command, optionsOrCb);
83
- }
84
- else if (typeof cb === "function") {
85
- if (typeof optionsOrCb !== "object")
86
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
87
- this.send(command, optionsOrCb || {}, cb);
88
- }
89
- else {
90
- return this.send(command, optionsOrCb);
91
- }
92
- }
93
- getOperation(args, optionsOrCb, cb) {
94
- const command = new GetOperationCommand_1.GetOperationCommand(args);
95
- if (typeof optionsOrCb === "function") {
96
- this.send(command, optionsOrCb);
97
- }
98
- else if (typeof cb === "function") {
99
- if (typeof optionsOrCb !== "object")
100
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
101
- this.send(command, optionsOrCb || {}, cb);
102
- }
103
- else {
104
- return this.send(command, optionsOrCb);
105
- }
106
- }
107
- getResourcePermission(args, optionsOrCb, cb) {
108
- const command = new GetResourcePermissionCommand_1.GetResourcePermissionCommand(args);
109
- if (typeof optionsOrCb === "function") {
110
- this.send(command, optionsOrCb);
111
- }
112
- else if (typeof cb === "function") {
113
- if (typeof optionsOrCb !== "object")
114
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
115
- this.send(command, optionsOrCb || {}, cb);
116
- }
117
- else {
118
- return this.send(command, optionsOrCb);
119
- }
120
- }
121
- listApplications(args, optionsOrCb, cb) {
122
- const command = new ListApplicationsCommand_1.ListApplicationsCommand(args);
123
- if (typeof optionsOrCb === "function") {
124
- this.send(command, optionsOrCb);
125
- }
126
- else if (typeof cb === "function") {
127
- if (typeof optionsOrCb !== "object")
128
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
129
- this.send(command, optionsOrCb || {}, cb);
130
- }
131
- else {
132
- return this.send(command, optionsOrCb);
133
- }
134
- }
135
- listComponents(args, optionsOrCb, cb) {
136
- const command = new ListComponentsCommand_1.ListComponentsCommand(args);
137
- if (typeof optionsOrCb === "function") {
138
- this.send(command, optionsOrCb);
139
- }
140
- else if (typeof cb === "function") {
141
- if (typeof optionsOrCb !== "object")
142
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
143
- this.send(command, optionsOrCb || {}, cb);
144
- }
145
- else {
146
- return this.send(command, optionsOrCb);
147
- }
148
- }
149
- listDatabases(args, optionsOrCb, cb) {
150
- const command = new ListDatabasesCommand_1.ListDatabasesCommand(args);
151
- if (typeof optionsOrCb === "function") {
152
- this.send(command, optionsOrCb);
153
- }
154
- else if (typeof cb === "function") {
155
- if (typeof optionsOrCb !== "object")
156
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
157
- this.send(command, optionsOrCb || {}, cb);
158
- }
159
- else {
160
- return this.send(command, optionsOrCb);
161
- }
162
- }
163
- listOperations(args, optionsOrCb, cb) {
164
- const command = new ListOperationsCommand_1.ListOperationsCommand(args);
165
- if (typeof optionsOrCb === "function") {
166
- this.send(command, optionsOrCb);
167
- }
168
- else if (typeof cb === "function") {
169
- if (typeof optionsOrCb !== "object")
170
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
171
- this.send(command, optionsOrCb || {}, cb);
172
- }
173
- else {
174
- return this.send(command, optionsOrCb);
175
- }
176
- }
177
- listTagsForResource(args, optionsOrCb, cb) {
178
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
179
- if (typeof optionsOrCb === "function") {
180
- this.send(command, optionsOrCb);
181
- }
182
- else if (typeof cb === "function") {
183
- if (typeof optionsOrCb !== "object")
184
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
185
- this.send(command, optionsOrCb || {}, cb);
186
- }
187
- else {
188
- return this.send(command, optionsOrCb);
189
- }
190
- }
191
- putResourcePermission(args, optionsOrCb, cb) {
192
- const command = new PutResourcePermissionCommand_1.PutResourcePermissionCommand(args);
193
- if (typeof optionsOrCb === "function") {
194
- this.send(command, optionsOrCb);
195
- }
196
- else if (typeof cb === "function") {
197
- if (typeof optionsOrCb !== "object")
198
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
199
- this.send(command, optionsOrCb || {}, cb);
200
- }
201
- else {
202
- return this.send(command, optionsOrCb);
203
- }
204
- }
205
- registerApplication(args, optionsOrCb, cb) {
206
- const command = new RegisterApplicationCommand_1.RegisterApplicationCommand(args);
207
- if (typeof optionsOrCb === "function") {
208
- this.send(command, optionsOrCb);
209
- }
210
- else if (typeof cb === "function") {
211
- if (typeof optionsOrCb !== "object")
212
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
213
- this.send(command, optionsOrCb || {}, cb);
214
- }
215
- else {
216
- return this.send(command, optionsOrCb);
217
- }
218
- }
219
- tagResource(args, optionsOrCb, cb) {
220
- const command = new TagResourceCommand_1.TagResourceCommand(args);
221
- if (typeof optionsOrCb === "function") {
222
- this.send(command, optionsOrCb);
223
- }
224
- else if (typeof cb === "function") {
225
- if (typeof optionsOrCb !== "object")
226
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
227
- this.send(command, optionsOrCb || {}, cb);
228
- }
229
- else {
230
- return this.send(command, optionsOrCb);
231
- }
232
- }
233
- untagResource(args, optionsOrCb, cb) {
234
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
235
- if (typeof optionsOrCb === "function") {
236
- this.send(command, optionsOrCb);
237
- }
238
- else if (typeof cb === "function") {
239
- if (typeof optionsOrCb !== "object")
240
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
241
- this.send(command, optionsOrCb || {}, cb);
242
- }
243
- else {
244
- return this.send(command, optionsOrCb);
245
- }
246
- }
247
- updateApplicationSettings(args, optionsOrCb, cb) {
248
- const command = new UpdateApplicationSettingsCommand_1.UpdateApplicationSettingsCommand(args);
249
- if (typeof optionsOrCb === "function") {
250
- this.send(command, optionsOrCb);
251
- }
252
- else if (typeof cb === "function") {
253
- if (typeof optionsOrCb !== "object")
254
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
255
- this.send(command, optionsOrCb || {}, cb);
256
- }
257
- else {
258
- return this.send(command, optionsOrCb);
259
- }
260
- }
261
43
  }
262
44
  exports.SsmSap = SsmSap;
45
+ (0, smithy_client_1.createAggregatedClient)(commands, SsmSap);
package/dist-es/SsmSap.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { DeleteResourcePermissionCommand, } from "./commands/DeleteResourcePermissionCommand";
2
3
  import { DeregisterApplicationCommand, } from "./commands/DeregisterApplicationCommand";
3
4
  import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
@@ -16,243 +17,25 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
16
17
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
17
18
  import { UpdateApplicationSettingsCommand, } from "./commands/UpdateApplicationSettingsCommand";
18
19
  import { SsmSapClient } from "./SsmSapClient";
20
+ const commands = {
21
+ DeleteResourcePermissionCommand,
22
+ DeregisterApplicationCommand,
23
+ GetApplicationCommand,
24
+ GetComponentCommand,
25
+ GetDatabaseCommand,
26
+ GetOperationCommand,
27
+ GetResourcePermissionCommand,
28
+ ListApplicationsCommand,
29
+ ListComponentsCommand,
30
+ ListDatabasesCommand,
31
+ ListOperationsCommand,
32
+ ListTagsForResourceCommand,
33
+ PutResourcePermissionCommand,
34
+ RegisterApplicationCommand,
35
+ TagResourceCommand,
36
+ UntagResourceCommand,
37
+ UpdateApplicationSettingsCommand,
38
+ };
19
39
  export class SsmSap extends SsmSapClient {
20
- deleteResourcePermission(args, optionsOrCb, cb) {
21
- const command = new DeleteResourcePermissionCommand(args);
22
- if (typeof optionsOrCb === "function") {
23
- this.send(command, optionsOrCb);
24
- }
25
- else if (typeof cb === "function") {
26
- if (typeof optionsOrCb !== "object")
27
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
28
- this.send(command, optionsOrCb || {}, cb);
29
- }
30
- else {
31
- return this.send(command, optionsOrCb);
32
- }
33
- }
34
- deregisterApplication(args, optionsOrCb, cb) {
35
- const command = new DeregisterApplicationCommand(args);
36
- if (typeof optionsOrCb === "function") {
37
- this.send(command, optionsOrCb);
38
- }
39
- else if (typeof cb === "function") {
40
- if (typeof optionsOrCb !== "object")
41
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
42
- this.send(command, optionsOrCb || {}, cb);
43
- }
44
- else {
45
- return this.send(command, optionsOrCb);
46
- }
47
- }
48
- getApplication(args, optionsOrCb, cb) {
49
- const command = new GetApplicationCommand(args);
50
- if (typeof optionsOrCb === "function") {
51
- this.send(command, optionsOrCb);
52
- }
53
- else if (typeof cb === "function") {
54
- if (typeof optionsOrCb !== "object")
55
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
56
- this.send(command, optionsOrCb || {}, cb);
57
- }
58
- else {
59
- return this.send(command, optionsOrCb);
60
- }
61
- }
62
- getComponent(args, optionsOrCb, cb) {
63
- const command = new GetComponentCommand(args);
64
- if (typeof optionsOrCb === "function") {
65
- this.send(command, optionsOrCb);
66
- }
67
- else if (typeof cb === "function") {
68
- if (typeof optionsOrCb !== "object")
69
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
70
- this.send(command, optionsOrCb || {}, cb);
71
- }
72
- else {
73
- return this.send(command, optionsOrCb);
74
- }
75
- }
76
- getDatabase(args, optionsOrCb, cb) {
77
- const command = new GetDatabaseCommand(args);
78
- if (typeof optionsOrCb === "function") {
79
- this.send(command, optionsOrCb);
80
- }
81
- else if (typeof cb === "function") {
82
- if (typeof optionsOrCb !== "object")
83
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
84
- this.send(command, optionsOrCb || {}, cb);
85
- }
86
- else {
87
- return this.send(command, optionsOrCb);
88
- }
89
- }
90
- getOperation(args, optionsOrCb, cb) {
91
- const command = new GetOperationCommand(args);
92
- if (typeof optionsOrCb === "function") {
93
- this.send(command, optionsOrCb);
94
- }
95
- else if (typeof cb === "function") {
96
- if (typeof optionsOrCb !== "object")
97
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
98
- this.send(command, optionsOrCb || {}, cb);
99
- }
100
- else {
101
- return this.send(command, optionsOrCb);
102
- }
103
- }
104
- getResourcePermission(args, optionsOrCb, cb) {
105
- const command = new GetResourcePermissionCommand(args);
106
- if (typeof optionsOrCb === "function") {
107
- this.send(command, optionsOrCb);
108
- }
109
- else if (typeof cb === "function") {
110
- if (typeof optionsOrCb !== "object")
111
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
112
- this.send(command, optionsOrCb || {}, cb);
113
- }
114
- else {
115
- return this.send(command, optionsOrCb);
116
- }
117
- }
118
- listApplications(args, optionsOrCb, cb) {
119
- const command = new ListApplicationsCommand(args);
120
- if (typeof optionsOrCb === "function") {
121
- this.send(command, optionsOrCb);
122
- }
123
- else if (typeof cb === "function") {
124
- if (typeof optionsOrCb !== "object")
125
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
126
- this.send(command, optionsOrCb || {}, cb);
127
- }
128
- else {
129
- return this.send(command, optionsOrCb);
130
- }
131
- }
132
- listComponents(args, optionsOrCb, cb) {
133
- const command = new ListComponentsCommand(args);
134
- if (typeof optionsOrCb === "function") {
135
- this.send(command, optionsOrCb);
136
- }
137
- else if (typeof cb === "function") {
138
- if (typeof optionsOrCb !== "object")
139
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
140
- this.send(command, optionsOrCb || {}, cb);
141
- }
142
- else {
143
- return this.send(command, optionsOrCb);
144
- }
145
- }
146
- listDatabases(args, optionsOrCb, cb) {
147
- const command = new ListDatabasesCommand(args);
148
- if (typeof optionsOrCb === "function") {
149
- this.send(command, optionsOrCb);
150
- }
151
- else if (typeof cb === "function") {
152
- if (typeof optionsOrCb !== "object")
153
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
154
- this.send(command, optionsOrCb || {}, cb);
155
- }
156
- else {
157
- return this.send(command, optionsOrCb);
158
- }
159
- }
160
- listOperations(args, optionsOrCb, cb) {
161
- const command = new ListOperationsCommand(args);
162
- if (typeof optionsOrCb === "function") {
163
- this.send(command, optionsOrCb);
164
- }
165
- else if (typeof cb === "function") {
166
- if (typeof optionsOrCb !== "object")
167
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
168
- this.send(command, optionsOrCb || {}, cb);
169
- }
170
- else {
171
- return this.send(command, optionsOrCb);
172
- }
173
- }
174
- listTagsForResource(args, optionsOrCb, cb) {
175
- const command = new ListTagsForResourceCommand(args);
176
- if (typeof optionsOrCb === "function") {
177
- this.send(command, optionsOrCb);
178
- }
179
- else if (typeof cb === "function") {
180
- if (typeof optionsOrCb !== "object")
181
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
182
- this.send(command, optionsOrCb || {}, cb);
183
- }
184
- else {
185
- return this.send(command, optionsOrCb);
186
- }
187
- }
188
- putResourcePermission(args, optionsOrCb, cb) {
189
- const command = new PutResourcePermissionCommand(args);
190
- if (typeof optionsOrCb === "function") {
191
- this.send(command, optionsOrCb);
192
- }
193
- else if (typeof cb === "function") {
194
- if (typeof optionsOrCb !== "object")
195
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
196
- this.send(command, optionsOrCb || {}, cb);
197
- }
198
- else {
199
- return this.send(command, optionsOrCb);
200
- }
201
- }
202
- registerApplication(args, optionsOrCb, cb) {
203
- const command = new RegisterApplicationCommand(args);
204
- if (typeof optionsOrCb === "function") {
205
- this.send(command, optionsOrCb);
206
- }
207
- else if (typeof cb === "function") {
208
- if (typeof optionsOrCb !== "object")
209
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
210
- this.send(command, optionsOrCb || {}, cb);
211
- }
212
- else {
213
- return this.send(command, optionsOrCb);
214
- }
215
- }
216
- tagResource(args, optionsOrCb, cb) {
217
- const command = new TagResourceCommand(args);
218
- if (typeof optionsOrCb === "function") {
219
- this.send(command, optionsOrCb);
220
- }
221
- else if (typeof cb === "function") {
222
- if (typeof optionsOrCb !== "object")
223
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
224
- this.send(command, optionsOrCb || {}, cb);
225
- }
226
- else {
227
- return this.send(command, optionsOrCb);
228
- }
229
- }
230
- untagResource(args, optionsOrCb, cb) {
231
- const command = new UntagResourceCommand(args);
232
- if (typeof optionsOrCb === "function") {
233
- this.send(command, optionsOrCb);
234
- }
235
- else if (typeof cb === "function") {
236
- if (typeof optionsOrCb !== "object")
237
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
238
- this.send(command, optionsOrCb || {}, cb);
239
- }
240
- else {
241
- return this.send(command, optionsOrCb);
242
- }
243
- }
244
- updateApplicationSettings(args, optionsOrCb, cb) {
245
- const command = new UpdateApplicationSettingsCommand(args);
246
- if (typeof optionsOrCb === "function") {
247
- this.send(command, optionsOrCb);
248
- }
249
- else if (typeof cb === "function") {
250
- if (typeof optionsOrCb !== "object")
251
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
252
- this.send(command, optionsOrCb || {}, cb);
253
- }
254
- else {
255
- return this.send(command, optionsOrCb);
256
- }
257
- }
258
40
  }
41
+ createAggregatedClient(commands, SsmSap);
@@ -17,144 +17,115 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
17
17
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
18
18
  import { UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput } from "./commands/UpdateApplicationSettingsCommand";
19
19
  import { SsmSapClient } from "./SsmSapClient";
20
- /**
21
- * @public
22
- * <p>This API reference provides descriptions, syntax, and other details about each of the
23
- * actions and data types for AWS Systems Manager for SAP. The topic for each action shows
24
- * the API request parameters and responses. </p>
25
- */
26
- export declare class SsmSap extends SsmSapClient {
20
+ export interface SsmSap {
27
21
  /**
28
- * @public
29
- * <p>Removes permissions associated with the target database.</p>
22
+ * @see {@link DeleteResourcePermissionCommand}
30
23
  */
31
24
  deleteResourcePermission(args: DeleteResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePermissionCommandOutput>;
32
25
  deleteResourcePermission(args: DeleteResourcePermissionCommandInput, cb: (err: any, data?: DeleteResourcePermissionCommandOutput) => void): void;
33
26
  deleteResourcePermission(args: DeleteResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePermissionCommandOutput) => void): void;
34
27
  /**
35
- * @public
36
- * <p>Deregister an SAP application with AWS Systems Manager for SAP. This action does not
37
- * affect the existing setup of your SAP workloads on Amazon EC2.</p>
28
+ * @see {@link DeregisterApplicationCommand}
38
29
  */
39
30
  deregisterApplication(args: DeregisterApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterApplicationCommandOutput>;
40
31
  deregisterApplication(args: DeregisterApplicationCommandInput, cb: (err: any, data?: DeregisterApplicationCommandOutput) => void): void;
41
32
  deregisterApplication(args: DeregisterApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterApplicationCommandOutput) => void): void;
42
33
  /**
43
- * @public
44
- * <p>Gets an application registered with AWS Systems Manager for SAP. It also returns the
45
- * components of the application.</p>
34
+ * @see {@link GetApplicationCommand}
46
35
  */
47
36
  getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
48
37
  getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
49
38
  getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
50
39
  /**
51
- * @public
52
- * <p>Gets the component of an application registered with AWS Systems Manager for
53
- * SAP.</p>
40
+ * @see {@link GetComponentCommand}
54
41
  */
55
42
  getComponent(args: GetComponentCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentCommandOutput>;
56
43
  getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
57
44
  getComponent(args: GetComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
58
45
  /**
59
- * @public
60
- * <p>Gets the SAP HANA database of an application registered with AWS Systems Manager for
61
- * SAP.</p>
46
+ * @see {@link GetDatabaseCommand}
62
47
  */
63
48
  getDatabase(args: GetDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<GetDatabaseCommandOutput>;
64
49
  getDatabase(args: GetDatabaseCommandInput, cb: (err: any, data?: GetDatabaseCommandOutput) => void): void;
65
50
  getDatabase(args: GetDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatabaseCommandOutput) => void): void;
66
51
  /**
67
- * @public
68
- * <p>Gets the details of an operation by specifying the operation ID.</p>
52
+ * @see {@link GetOperationCommand}
69
53
  */
70
54
  getOperation(args: GetOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetOperationCommandOutput>;
71
55
  getOperation(args: GetOperationCommandInput, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
72
56
  getOperation(args: GetOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
73
57
  /**
74
- * @public
75
- * <p>Gets permissions associated with the target database.</p>
58
+ * @see {@link GetResourcePermissionCommand}
76
59
  */
77
60
  getResourcePermission(args: GetResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePermissionCommandOutput>;
78
61
  getResourcePermission(args: GetResourcePermissionCommandInput, cb: (err: any, data?: GetResourcePermissionCommandOutput) => void): void;
79
62
  getResourcePermission(args: GetResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePermissionCommandOutput) => void): void;
80
63
  /**
81
- * @public
82
- * <p>Lists all the applications registered with AWS Systems Manager for SAP.</p>
64
+ * @see {@link ListApplicationsCommand}
83
65
  */
84
66
  listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
85
67
  listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
86
68
  listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
87
69
  /**
88
- * @public
89
- * <p>Lists all the components registered with AWS Systems Manager for SAP.</p>
70
+ * @see {@link ListComponentsCommand}
90
71
  */
91
72
  listComponents(args: ListComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentsCommandOutput>;
92
73
  listComponents(args: ListComponentsCommandInput, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
93
74
  listComponents(args: ListComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
94
75
  /**
95
- * @public
96
- * <p>Lists the SAP HANA databases of an application registered with AWS Systems Manager for
97
- * SAP.</p>
76
+ * @see {@link ListDatabasesCommand}
98
77
  */
99
78
  listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
100
79
  listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
101
80
  listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
102
81
  /**
103
- * @public
104
- * <p>Lists the operations performed by AWS Systems Manager for SAP.</p>
82
+ * @see {@link ListOperationsCommand}
105
83
  */
106
84
  listOperations(args: ListOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListOperationsCommandOutput>;
107
85
  listOperations(args: ListOperationsCommandInput, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
108
86
  listOperations(args: ListOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
109
87
  /**
110
- * @public
111
- * <p>Lists all tags on an SAP HANA application and/or database registered with AWS Systems
112
- * Manager for SAP.</p>
88
+ * @see {@link ListTagsForResourceCommand}
113
89
  */
114
90
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
115
91
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
116
92
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
117
93
  /**
118
- * @public
119
- * <p>Adds permissions to the target database.</p>
94
+ * @see {@link PutResourcePermissionCommand}
120
95
  */
121
96
  putResourcePermission(args: PutResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePermissionCommandOutput>;
122
97
  putResourcePermission(args: PutResourcePermissionCommandInput, cb: (err: any, data?: PutResourcePermissionCommandOutput) => void): void;
123
98
  putResourcePermission(args: PutResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePermissionCommandOutput) => void): void;
124
99
  /**
125
- * @public
126
- * <p>Register an SAP application with AWS Systems Manager for SAP. You must meet the
127
- * following requirements before registering. </p>
128
- * <p>The SAP application you want to register with AWS Systems Manager for SAP is running
129
- * on Amazon EC2.</p>
130
- * <p>AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required
131
- * IAM permissions.</p>
132
- * <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to
133
- * manage SAP applications and components.</p>
100
+ * @see {@link RegisterApplicationCommand}
134
101
  */
135
102
  registerApplication(args: RegisterApplicationCommandInput, options?: __HttpHandlerOptions): Promise<RegisterApplicationCommandOutput>;
136
103
  registerApplication(args: RegisterApplicationCommandInput, cb: (err: any, data?: RegisterApplicationCommandOutput) => void): void;
137
104
  registerApplication(args: RegisterApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterApplicationCommandOutput) => void): void;
138
105
  /**
139
- * @public
140
- * <p>Creates tag for a resource by specifying the ARN.</p>
106
+ * @see {@link TagResourceCommand}
141
107
  */
142
108
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
143
109
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
144
110
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
145
111
  /**
146
- * @public
147
- * <p>Delete the tags for a resource.</p>
112
+ * @see {@link UntagResourceCommand}
148
113
  */
149
114
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
150
115
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
151
116
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
152
117
  /**
153
- * @public
154
- * <p>Updates the settings of an application registered with AWS Systems Manager for
155
- * SAP.</p>
118
+ * @see {@link UpdateApplicationSettingsCommand}
156
119
  */
157
120
  updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationSettingsCommandOutput>;
158
121
  updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, cb: (err: any, data?: UpdateApplicationSettingsCommandOutput) => void): void;
159
122
  updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationSettingsCommandOutput) => void): void;
160
123
  }
124
+ /**
125
+ * @public
126
+ * <p>This API reference provides descriptions, syntax, and other details about each of the
127
+ * actions and data types for AWS Systems Manager for SAP. The topic for each action shows
128
+ * the API request parameters and responses. </p>
129
+ */
130
+ export declare class SsmSap extends SsmSapClient implements SsmSap {
131
+ }
@@ -68,7 +68,7 @@ import {
68
68
  UpdateApplicationSettingsCommandOutput,
69
69
  } from "./commands/UpdateApplicationSettingsCommand";
70
70
  import { SsmSapClient } from "./SsmSapClient";
71
- export declare class SsmSap extends SsmSapClient {
71
+ export interface SsmSap {
72
72
  deleteResourcePermission(
73
73
  args: DeleteResourcePermissionCommandInput,
74
74
  options?: __HttpHandlerOptions
@@ -291,3 +291,4 @@ export declare class SsmSap extends SsmSapClient {
291
291
  cb: (err: any, data?: UpdateApplicationSettingsCommandOutput) => void
292
292
  ): void;
293
293
  }
294
+ export declare class SsmSap extends SsmSapClient implements SsmSap {}
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.315.0",
4
+ "version": "3.316.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.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",