@aws-sdk/client-ssm-sap 3.256.0 → 3.258.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/SsmSap.js +15 -0
- package/dist-cjs/commands/ListOperationsCommand.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 +20 -2
- package/dist-cjs/pagination/ListOperationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +91 -1
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/SsmSap.js +15 -0
- package/dist-es/commands/ListOperationsCommand.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 +15 -0
- package/dist-es/pagination/ListOperationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +88 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/SsmSap.d.ts +11 -3
- package/dist-types/SsmSapClient.d.ts +3 -2
- package/dist-types/commands/ListOperationsCommand.d.ts +37 -0
- package/dist-types/commands/RegisterApplicationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +214 -127
- package/dist-types/pagination/ListOperationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -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/ListOperationsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -0
- package/dist-types/ts3.4/pagination/ListOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +30 -31
|
@@ -52,6 +52,7 @@ export const serializeAws_restJson1GetApplicationCommand = async (input, context
|
|
|
52
52
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/get-application";
|
|
53
53
|
let body;
|
|
54
54
|
body = JSON.stringify({
|
|
55
|
+
...(input.AppRegistryArn != null && { AppRegistryArn: input.AppRegistryArn }),
|
|
55
56
|
...(input.ApplicationArn != null && { ApplicationArn: input.ApplicationArn }),
|
|
56
57
|
...(input.ApplicationId != null && { ApplicationId: input.ApplicationId }),
|
|
57
58
|
});
|
|
@@ -216,6 +217,29 @@ export const serializeAws_restJson1ListDatabasesCommand = async (input, context)
|
|
|
216
217
|
body,
|
|
217
218
|
});
|
|
218
219
|
};
|
|
220
|
+
export const serializeAws_restJson1ListOperationsCommand = async (input, context) => {
|
|
221
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
222
|
+
const headers = {
|
|
223
|
+
"content-type": "application/json",
|
|
224
|
+
};
|
|
225
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-operations";
|
|
226
|
+
let body;
|
|
227
|
+
body = JSON.stringify({
|
|
228
|
+
...(input.ApplicationId != null && { ApplicationId: input.ApplicationId }),
|
|
229
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) }),
|
|
230
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
231
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
232
|
+
});
|
|
233
|
+
return new __HttpRequest({
|
|
234
|
+
protocol,
|
|
235
|
+
hostname,
|
|
236
|
+
port,
|
|
237
|
+
method: "POST",
|
|
238
|
+
headers,
|
|
239
|
+
path: resolvedPath,
|
|
240
|
+
body,
|
|
241
|
+
});
|
|
242
|
+
};
|
|
219
243
|
export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
|
|
220
244
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
221
245
|
const headers = {};
|
|
@@ -739,6 +763,45 @@ const deserializeAws_restJson1ListDatabasesCommandError = async (output, context
|
|
|
739
763
|
});
|
|
740
764
|
}
|
|
741
765
|
};
|
|
766
|
+
export const deserializeAws_restJson1ListOperationsCommand = async (output, context) => {
|
|
767
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
768
|
+
return deserializeAws_restJson1ListOperationsCommandError(output, context);
|
|
769
|
+
}
|
|
770
|
+
const contents = map({
|
|
771
|
+
$metadata: deserializeMetadata(output),
|
|
772
|
+
});
|
|
773
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
774
|
+
if (data.NextToken != null) {
|
|
775
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
776
|
+
}
|
|
777
|
+
if (data.Operations != null) {
|
|
778
|
+
contents.Operations = deserializeAws_restJson1OperationList(data.Operations, context);
|
|
779
|
+
}
|
|
780
|
+
return contents;
|
|
781
|
+
};
|
|
782
|
+
const deserializeAws_restJson1ListOperationsCommandError = async (output, context) => {
|
|
783
|
+
const parsedOutput = {
|
|
784
|
+
...output,
|
|
785
|
+
body: await parseErrorBody(output.body, context),
|
|
786
|
+
};
|
|
787
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
788
|
+
switch (errorCode) {
|
|
789
|
+
case "InternalServerException":
|
|
790
|
+
case "com.amazonaws.ssmsap#InternalServerException":
|
|
791
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
792
|
+
case "ValidationException":
|
|
793
|
+
case "com.amazonaws.ssmsap#ValidationException":
|
|
794
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
795
|
+
default:
|
|
796
|
+
const parsedBody = parsedOutput.body;
|
|
797
|
+
throwDefaultError({
|
|
798
|
+
output,
|
|
799
|
+
parsedBody,
|
|
800
|
+
exceptionCtor: __BaseException,
|
|
801
|
+
errorCode,
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
};
|
|
742
805
|
export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
743
806
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
744
807
|
return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
|
|
@@ -1036,6 +1099,20 @@ const serializeAws_restJson1ApplicationCredentialList = (input, context) => {
|
|
|
1036
1099
|
return serializeAws_restJson1ApplicationCredential(entry, context);
|
|
1037
1100
|
});
|
|
1038
1101
|
};
|
|
1102
|
+
const serializeAws_restJson1Filter = (input, context) => {
|
|
1103
|
+
return {
|
|
1104
|
+
...(input.Name != null && { Name: input.Name }),
|
|
1105
|
+
...(input.Operator != null && { Operator: input.Operator }),
|
|
1106
|
+
...(input.Value != null && { Value: input.Value }),
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
const serializeAws_restJson1FilterList = (input, context) => {
|
|
1110
|
+
return input
|
|
1111
|
+
.filter((e) => e != null)
|
|
1112
|
+
.map((entry) => {
|
|
1113
|
+
return serializeAws_restJson1Filter(entry, context);
|
|
1114
|
+
});
|
|
1115
|
+
};
|
|
1039
1116
|
const serializeAws_restJson1InstanceList = (input, context) => {
|
|
1040
1117
|
return input
|
|
1041
1118
|
.filter((e) => e != null)
|
|
@@ -1245,6 +1322,17 @@ const deserializeAws_restJson1OperationIdList = (output, context) => {
|
|
|
1245
1322
|
});
|
|
1246
1323
|
return retVal;
|
|
1247
1324
|
};
|
|
1325
|
+
const deserializeAws_restJson1OperationList = (output, context) => {
|
|
1326
|
+
const retVal = (output || [])
|
|
1327
|
+
.filter((e) => e != null)
|
|
1328
|
+
.map((entry) => {
|
|
1329
|
+
if (entry === null) {
|
|
1330
|
+
return null;
|
|
1331
|
+
}
|
|
1332
|
+
return deserializeAws_restJson1Operation(entry, context);
|
|
1333
|
+
});
|
|
1334
|
+
return retVal;
|
|
1335
|
+
};
|
|
1248
1336
|
const deserializeAws_restJson1OperationProperties = (output, context) => {
|
|
1249
1337
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1250
1338
|
if (value === null) {
|
|
@@ -6,7 +6,6 @@ import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
|
6
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
10
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
11
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
@@ -31,7 +30,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
32
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
35
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
36
33
|
};
|
|
37
34
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -9,7 +9,6 @@ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/nod
|
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
10
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
14
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
@@ -40,7 +39,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
39
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
40
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
41
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
44
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
45
42
|
};
|
|
46
43
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
4
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
6
|
export const getRuntimeConfig = (config) => ({
|
|
6
7
|
apiVersion: "2018-05-10",
|
|
@@ -11,4 +12,6 @@ export const getRuntimeConfig = (config) => ({
|
|
|
11
12
|
logger: config?.logger ?? new NoOpLogger(),
|
|
12
13
|
serviceId: config?.serviceId ?? "Ssm Sap",
|
|
13
14
|
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
14
17
|
});
|
package/dist-types/SsmSap.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput }
|
|
|
9
9
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
10
10
|
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
|
|
11
11
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
12
|
+
import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
|
|
12
13
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
13
14
|
import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "./commands/PutResourcePermissionCommand";
|
|
14
15
|
import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "./commands/RegisterApplicationCommand";
|
|
@@ -87,6 +88,12 @@ export declare class SsmSap extends SsmSapClient {
|
|
|
87
88
|
listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
|
|
88
89
|
listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
89
90
|
listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* <p>Lists the operations performed by AWS Systems Manager for SAP.</p>
|
|
93
|
+
*/
|
|
94
|
+
listOperations(args: ListOperationsCommandInput, options?: __HttpHandlerOptions): Promise<ListOperationsCommandOutput>;
|
|
95
|
+
listOperations(args: ListOperationsCommandInput, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
|
|
96
|
+
listOperations(args: ListOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOperationsCommandOutput) => void): void;
|
|
90
97
|
/**
|
|
91
98
|
* <p>Lists all tags on an SAP HANA application and/or database registered with AWS Systems
|
|
92
99
|
* Manager for SAP.</p>
|
|
@@ -107,8 +114,8 @@ export declare class SsmSap extends SsmSapClient {
|
|
|
107
114
|
* on Amazon EC2.</p>
|
|
108
115
|
* <p>AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required
|
|
109
116
|
* IAM permissions.</p>
|
|
110
|
-
* <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets
|
|
111
|
-
*
|
|
117
|
+
* <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to
|
|
118
|
+
* manage SAP applications and components.</p>
|
|
112
119
|
*/
|
|
113
120
|
registerApplication(args: RegisterApplicationCommandInput, options?: __HttpHandlerOptions): Promise<RegisterApplicationCommandOutput>;
|
|
114
121
|
registerApplication(args: RegisterApplicationCommandInput, cb: (err: any, data?: RegisterApplicationCommandOutput) => void): void;
|
|
@@ -126,7 +133,8 @@ export declare class SsmSap extends SsmSapClient {
|
|
|
126
133
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
127
134
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
128
135
|
/**
|
|
129
|
-
* <p
|
|
136
|
+
* <p>Updates the settings of an application registered with AWS Systems Manager for
|
|
137
|
+
* SAP.</p>
|
|
130
138
|
*/
|
|
131
139
|
updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationSettingsCommandOutput>;
|
|
132
140
|
updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, cb: (err: any, data?: UpdateApplicationSettingsCommandOutput) => void): void;
|
|
@@ -17,6 +17,7 @@ import { GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput }
|
|
|
17
17
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
18
18
|
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
|
|
19
19
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
20
|
+
import { ListOperationsCommandInput, ListOperationsCommandOutput } from "./commands/ListOperationsCommand";
|
|
20
21
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
21
22
|
import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "./commands/PutResourcePermissionCommand";
|
|
22
23
|
import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "./commands/RegisterApplicationCommand";
|
|
@@ -24,8 +25,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
24
25
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
26
|
import { UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput } from "./commands/UpdateApplicationSettingsCommand";
|
|
26
27
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
27
|
-
export declare type ServiceInputTypes = DeleteResourcePermissionCommandInput | DeregisterApplicationCommandInput | GetApplicationCommandInput | GetComponentCommandInput | GetDatabaseCommandInput | GetOperationCommandInput | GetResourcePermissionCommandInput | ListApplicationsCommandInput | ListComponentsCommandInput | ListDatabasesCommandInput | ListTagsForResourceCommandInput | PutResourcePermissionCommandInput | RegisterApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationSettingsCommandInput;
|
|
28
|
-
export declare type ServiceOutputTypes = DeleteResourcePermissionCommandOutput | DeregisterApplicationCommandOutput | GetApplicationCommandOutput | GetComponentCommandOutput | GetDatabaseCommandOutput | GetOperationCommandOutput | GetResourcePermissionCommandOutput | ListApplicationsCommandOutput | ListComponentsCommandOutput | ListDatabasesCommandOutput | ListTagsForResourceCommandOutput | PutResourcePermissionCommandOutput | RegisterApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationSettingsCommandOutput;
|
|
28
|
+
export declare type ServiceInputTypes = DeleteResourcePermissionCommandInput | DeregisterApplicationCommandInput | GetApplicationCommandInput | GetComponentCommandInput | GetDatabaseCommandInput | GetOperationCommandInput | GetResourcePermissionCommandInput | ListApplicationsCommandInput | ListComponentsCommandInput | ListDatabasesCommandInput | ListOperationsCommandInput | ListTagsForResourceCommandInput | PutResourcePermissionCommandInput | RegisterApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationSettingsCommandInput;
|
|
29
|
+
export declare type ServiceOutputTypes = DeleteResourcePermissionCommandOutput | DeregisterApplicationCommandOutput | GetApplicationCommandOutput | GetComponentCommandOutput | GetDatabaseCommandOutput | GetOperationCommandOutput | GetResourcePermissionCommandOutput | ListApplicationsCommandOutput | ListComponentsCommandOutput | ListDatabasesCommandOutput | ListOperationsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePermissionCommandOutput | RegisterApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationSettingsCommandOutput;
|
|
29
30
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
30
31
|
/**
|
|
31
32
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListOperationsInput, ListOperationsOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface ListOperationsCommandInput extends ListOperationsInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListOperationsCommandOutput extends ListOperationsOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the operations performed by AWS Systems Manager for SAP.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SsmSapClient, ListOperationsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, ListOperationsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new ListOperationsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListOperationsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListOperationsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListOperationsCommand extends $Command<ListOperationsCommandInput, ListOperationsCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: ListOperationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListOperationsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListOperationsCommandInput, ListOperationsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -14,8 +14,8 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
|
|
|
14
14
|
* on Amazon EC2.</p>
|
|
15
15
|
* <p>AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required
|
|
16
16
|
* IAM permissions.</p>
|
|
17
|
-
* <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets
|
|
18
|
-
*
|
|
17
|
+
* <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to
|
|
18
|
+
* manage SAP applications and components.</p>
|
|
19
19
|
* @example
|
|
20
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
21
|
* ```javascript
|
|
@@ -8,7 +8,8 @@ export interface UpdateApplicationSettingsCommandInput extends UpdateApplication
|
|
|
8
8
|
export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicationSettingsOutput, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p
|
|
11
|
+
* <p>Updates the settings of an application registered with AWS Systems Manager for
|
|
12
|
+
* SAP.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -8,6 +8,7 @@ export * from "./GetResourcePermissionCommand";
|
|
|
8
8
|
export * from "./ListApplicationsCommand";
|
|
9
9
|
export * from "./ListComponentsCommand";
|
|
10
10
|
export * from "./ListDatabasesCommand";
|
|
11
|
+
export * from "./ListOperationsCommand";
|
|
11
12
|
export * from "./ListTagsForResourceCommand";
|
|
12
13
|
export * from "./PutResourcePermissionCommand";
|
|
13
14
|
export * from "./RegisterApplicationCommand";
|