@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.
Files changed (147) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +207 -0
  3. package/dist-cjs/SsmSap.js +247 -0
  4. package/dist-cjs/SsmSapClient.js +40 -0
  5. package/dist-cjs/commands/DeleteResourcePermissionCommand.js +46 -0
  6. package/dist-cjs/commands/DeregisterApplicationCommand.js +46 -0
  7. package/dist-cjs/commands/GetApplicationCommand.js +46 -0
  8. package/dist-cjs/commands/GetComponentCommand.js +46 -0
  9. package/dist-cjs/commands/GetDatabaseCommand.js +46 -0
  10. package/dist-cjs/commands/GetOperationCommand.js +46 -0
  11. package/dist-cjs/commands/GetResourcePermissionCommand.js +46 -0
  12. package/dist-cjs/commands/ListApplicationsCommand.js +46 -0
  13. package/dist-cjs/commands/ListComponentsCommand.js +46 -0
  14. package/dist-cjs/commands/ListDatabasesCommand.js +46 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  16. package/dist-cjs/commands/PutResourcePermissionCommand.js +46 -0
  17. package/dist-cjs/commands/RegisterApplicationCommand.js +46 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  20. package/dist-cjs/commands/UpdateApplicationSettingsCommand.js +46 -0
  21. package/dist-cjs/commands/index.js +19 -0
  22. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  24. package/dist-cjs/endpoint/ruleset.js +312 -0
  25. package/dist-cjs/index.js +11 -0
  26. package/dist-cjs/models/SsmSapServiceException.js +11 -0
  27. package/dist-cjs/models/index.js +4 -0
  28. package/dist-cjs/models/models_0.js +293 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
  31. package/dist-cjs/pagination/ListComponentsPaginator.js +36 -0
  32. package/dist-cjs/pagination/ListDatabasesPaginator.js +36 -0
  33. package/dist-cjs/pagination/index.js +7 -0
  34. package/dist-cjs/protocols/Aws_restJson1.js +1356 -0
  35. package/dist-cjs/runtimeConfig.browser.js +42 -0
  36. package/dist-cjs/runtimeConfig.js +50 -0
  37. package/dist-cjs/runtimeConfig.native.js +15 -0
  38. package/dist-cjs/runtimeConfig.shared.js +18 -0
  39. package/dist-es/SsmSap.js +243 -0
  40. package/dist-es/SsmSapClient.js +36 -0
  41. package/dist-es/commands/DeleteResourcePermissionCommand.js +42 -0
  42. package/dist-es/commands/DeregisterApplicationCommand.js +42 -0
  43. package/dist-es/commands/GetApplicationCommand.js +42 -0
  44. package/dist-es/commands/GetComponentCommand.js +42 -0
  45. package/dist-es/commands/GetDatabaseCommand.js +42 -0
  46. package/dist-es/commands/GetOperationCommand.js +42 -0
  47. package/dist-es/commands/GetResourcePermissionCommand.js +42 -0
  48. package/dist-es/commands/ListApplicationsCommand.js +42 -0
  49. package/dist-es/commands/ListComponentsCommand.js +42 -0
  50. package/dist-es/commands/ListDatabasesCommand.js +42 -0
  51. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  52. package/dist-es/commands/PutResourcePermissionCommand.js +42 -0
  53. package/dist-es/commands/RegisterApplicationCommand.js +42 -0
  54. package/dist-es/commands/TagResourceCommand.js +42 -0
  55. package/dist-es/commands/UntagResourceCommand.js +42 -0
  56. package/dist-es/commands/UpdateApplicationSettingsCommand.js +42 -0
  57. package/dist-es/commands/index.js +16 -0
  58. package/dist-es/endpoint/EndpointParameters.js +8 -0
  59. package/dist-es/endpoint/endpointResolver.js +8 -0
  60. package/dist-es/endpoint/ruleset.js +309 -0
  61. package/dist-es/index.js +6 -0
  62. package/dist-es/models/SsmSapServiceException.js +7 -0
  63. package/dist-es/models/index.js +1 -0
  64. package/dist-es/models/models_0.js +244 -0
  65. package/dist-es/pagination/Interfaces.js +1 -0
  66. package/dist-es/pagination/ListApplicationsPaginator.js +32 -0
  67. package/dist-es/pagination/ListComponentsPaginator.js +32 -0
  68. package/dist-es/pagination/ListDatabasesPaginator.js +32 -0
  69. package/dist-es/pagination/index.js +4 -0
  70. package/dist-es/protocols/Aws_restJson1.js +1321 -0
  71. package/dist-es/runtimeConfig.browser.js +37 -0
  72. package/dist-es/runtimeConfig.js +45 -0
  73. package/dist-es/runtimeConfig.native.js +11 -0
  74. package/dist-es/runtimeConfig.shared.js +14 -0
  75. package/dist-types/SsmSap.d.ts +134 -0
  76. package/dist-types/SsmSapClient.d.ts +159 -0
  77. package/dist-types/commands/DeleteResourcePermissionCommand.d.ts +37 -0
  78. package/dist-types/commands/DeregisterApplicationCommand.d.ts +38 -0
  79. package/dist-types/commands/GetApplicationCommand.d.ts +38 -0
  80. package/dist-types/commands/GetComponentCommand.d.ts +38 -0
  81. package/dist-types/commands/GetDatabaseCommand.d.ts +38 -0
  82. package/dist-types/commands/GetOperationCommand.d.ts +37 -0
  83. package/dist-types/commands/GetResourcePermissionCommand.d.ts +37 -0
  84. package/dist-types/commands/ListApplicationsCommand.d.ts +37 -0
  85. package/dist-types/commands/ListComponentsCommand.d.ts +37 -0
  86. package/dist-types/commands/ListDatabasesCommand.d.ts +38 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
  88. package/dist-types/commands/PutResourcePermissionCommand.d.ts +37 -0
  89. package/dist-types/commands/RegisterApplicationCommand.d.ts +44 -0
  90. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  92. package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +37 -0
  93. package/dist-types/commands/index.d.ts +16 -0
  94. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  95. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  96. package/dist-types/endpoint/ruleset.d.ts +2 -0
  97. package/dist-types/index.d.ts +6 -0
  98. package/dist-types/models/SsmSapServiceException.d.ts +10 -0
  99. package/dist-types/models/index.d.ts +1 -0
  100. package/dist-types/models/models_0.d.ts +854 -0
  101. package/dist-types/pagination/Interfaces.d.ts +6 -0
  102. package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
  103. package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
  104. package/dist-types/pagination/ListDatabasesPaginator.d.ts +4 -0
  105. package/dist-types/pagination/index.d.ts +4 -0
  106. package/dist-types/protocols/Aws_restJson1.d.ts +50 -0
  107. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  108. package/dist-types/runtimeConfig.d.ts +42 -0
  109. package/dist-types/runtimeConfig.native.d.ts +41 -0
  110. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  111. package/dist-types/ts3.4/SsmSap.d.ts +276 -0
  112. package/dist-types/ts3.4/SsmSapClient.d.ts +207 -0
  113. package/dist-types/ts3.4/commands/DeleteResourcePermissionCommand.d.ts +41 -0
  114. package/dist-types/ts3.4/commands/DeregisterApplicationCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +34 -0
  116. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +34 -0
  117. package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +34 -0
  118. package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +34 -0
  119. package/dist-types/ts3.4/commands/GetResourcePermissionCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +37 -0
  121. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +34 -0
  122. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +34 -0
  123. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/PutResourcePermissionCommand.d.ts +41 -0
  125. package/dist-types/ts3.4/commands/RegisterApplicationCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  127. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  128. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +41 -0
  129. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  130. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  131. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  132. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  133. package/dist-types/ts3.4/index.d.ts +6 -0
  134. package/dist-types/ts3.4/models/SsmSapServiceException.d.ts +7 -0
  135. package/dist-types/ts3.4/models/index.d.ts +1 -0
  136. package/dist-types/ts3.4/models/models_0.d.ts +392 -0
  137. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  138. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  139. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +11 -0
  140. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  142. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
  143. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
  144. package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
  145. package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
  146. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  147. package/package.json +101 -0
@@ -0,0 +1,37 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
7
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
12
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
+ export const getRuntimeConfig = (config) => {
14
+ const defaultsMode = resolveDefaultsModeConfig(config);
15
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
16
+ const clientSharedValues = getSharedRuntimeConfig(config);
17
+ return {
18
+ ...clientSharedValues,
19
+ ...config,
20
+ runtime: "browser",
21
+ defaultsMode,
22
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
23
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
24
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
25
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
26
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
27
+ region: config?.region ?? invalidProvider("Region is missing"),
28
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
29
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
30
+ sha256: config?.sha256 ?? Sha256,
31
+ streamCollector: config?.streamCollector ?? streamCollector,
32
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
34
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
35
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
36
+ };
37
+ };
@@ -0,0 +1,45 @@
1
+ import packageInfo from "../package.json";
2
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
+ import { Hash } from "@aws-sdk/hash-node";
6
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
7
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
+ export const getRuntimeConfig = (config) => {
17
+ emitWarningIfUnsupportedVersion(process.version);
18
+ const defaultsMode = resolveDefaultsModeConfig(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
+ const clientSharedValues = getSharedRuntimeConfig(config);
21
+ return {
22
+ ...clientSharedValues,
23
+ ...config,
24
+ runtime: "node",
25
+ defaultsMode,
26
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
27
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
28
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
29
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ retryMode: config?.retryMode ??
34
+ loadNodeConfig({
35
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
+ }),
38
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
+ streamCollector: config?.streamCollector ?? streamCollector,
40
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
41
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
42
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
43
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
44
+ };
45
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,14 @@
1
+ import { NoOpLogger } from "@aws-sdk/smithy-client";
2
+ import { parseUrl } from "@aws-sdk/url-parser";
3
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
4
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
5
+ export const getRuntimeConfig = (config) => ({
6
+ apiVersion: "2018-05-10",
7
+ base64Decoder: config?.base64Decoder ?? fromBase64,
8
+ base64Encoder: config?.base64Encoder ?? toBase64,
9
+ disableHostPrefix: config?.disableHostPrefix ?? false,
10
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
11
+ logger: config?.logger ?? new NoOpLogger(),
12
+ serviceId: config?.serviceId ?? "Ssm Sap",
13
+ urlParser: config?.urlParser ?? parseUrl,
14
+ });
@@ -0,0 +1,134 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { DeleteResourcePermissionCommandInput, DeleteResourcePermissionCommandOutput } from "./commands/DeleteResourcePermissionCommand";
3
+ import { DeregisterApplicationCommandInput, DeregisterApplicationCommandOutput } from "./commands/DeregisterApplicationCommand";
4
+ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
5
+ import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
6
+ import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
7
+ import { GetOperationCommandInput, GetOperationCommandOutput } from "./commands/GetOperationCommand";
8
+ import { GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput } from "./commands/GetResourcePermissionCommand";
9
+ import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
10
+ import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
11
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
12
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
13
+ import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "./commands/PutResourcePermissionCommand";
14
+ import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "./commands/RegisterApplicationCommand";
15
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
16
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
17
+ import { UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput } from "./commands/UpdateApplicationSettingsCommand";
18
+ import { SsmSapClient } from "./SsmSapClient";
19
+ /**
20
+ * <p>This API reference provides descriptions, syntax, and other details about each of the
21
+ * actions and data types for AWS Systems Manager for SAP. The topic for each action shows
22
+ * the API request parameters and responses. </p>
23
+ */
24
+ export declare class SsmSap extends SsmSapClient {
25
+ /**
26
+ * <p>Removes permissions associated with the target database.</p>
27
+ */
28
+ deleteResourcePermission(args: DeleteResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePermissionCommandOutput>;
29
+ deleteResourcePermission(args: DeleteResourcePermissionCommandInput, cb: (err: any, data?: DeleteResourcePermissionCommandOutput) => void): void;
30
+ deleteResourcePermission(args: DeleteResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePermissionCommandOutput) => void): void;
31
+ /**
32
+ * <p>Deregister an SAP application with AWS Systems Manager for SAP. This action does not
33
+ * affect the existing setup of your SAP workloads on Amazon EC2.</p>
34
+ */
35
+ deregisterApplication(args: DeregisterApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterApplicationCommandOutput>;
36
+ deregisterApplication(args: DeregisterApplicationCommandInput, cb: (err: any, data?: DeregisterApplicationCommandOutput) => void): void;
37
+ deregisterApplication(args: DeregisterApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterApplicationCommandOutput) => void): void;
38
+ /**
39
+ * <p>Gets an application registered with AWS Systems Manager for SAP. It also returns the
40
+ * components of the application.</p>
41
+ */
42
+ getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
43
+ getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
44
+ getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
45
+ /**
46
+ * <p>Gets the component of an application registered with AWS Systems Manager for
47
+ * SAP.</p>
48
+ */
49
+ getComponent(args: GetComponentCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentCommandOutput>;
50
+ getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
51
+ getComponent(args: GetComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
52
+ /**
53
+ * <p>Gets the SAP HANA database of an application registered with AWS Systems Manager for
54
+ * SAP.</p>
55
+ */
56
+ getDatabase(args: GetDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<GetDatabaseCommandOutput>;
57
+ getDatabase(args: GetDatabaseCommandInput, cb: (err: any, data?: GetDatabaseCommandOutput) => void): void;
58
+ getDatabase(args: GetDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDatabaseCommandOutput) => void): void;
59
+ /**
60
+ * <p>Gets the details of an operation by specifying the operation ID.</p>
61
+ */
62
+ getOperation(args: GetOperationCommandInput, options?: __HttpHandlerOptions): Promise<GetOperationCommandOutput>;
63
+ getOperation(args: GetOperationCommandInput, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
64
+ getOperation(args: GetOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOperationCommandOutput) => void): void;
65
+ /**
66
+ * <p>Gets permissions associated with the target database.</p>
67
+ */
68
+ getResourcePermission(args: GetResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePermissionCommandOutput>;
69
+ getResourcePermission(args: GetResourcePermissionCommandInput, cb: (err: any, data?: GetResourcePermissionCommandOutput) => void): void;
70
+ getResourcePermission(args: GetResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePermissionCommandOutput) => void): void;
71
+ /**
72
+ * <p>Lists all the applications registered with AWS Systems Manager for SAP.</p>
73
+ */
74
+ listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
75
+ listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
76
+ listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
77
+ /**
78
+ * <p>Lists all the components registered with AWS Systems Manager for SAP.</p>
79
+ */
80
+ listComponents(args: ListComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentsCommandOutput>;
81
+ listComponents(args: ListComponentsCommandInput, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
82
+ listComponents(args: ListComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
83
+ /**
84
+ * <p>Lists the SAP HANA databases of an application registered with AWS Systems Manager for
85
+ * SAP.</p>
86
+ */
87
+ listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
88
+ listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
89
+ listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
90
+ /**
91
+ * <p>Lists all tags on an SAP HANA application and/or database registered with AWS Systems
92
+ * Manager for SAP.</p>
93
+ */
94
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
95
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
96
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
97
+ /**
98
+ * <p>Adds permissions to the target database.</p>
99
+ */
100
+ putResourcePermission(args: PutResourcePermissionCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePermissionCommandOutput>;
101
+ putResourcePermission(args: PutResourcePermissionCommandInput, cb: (err: any, data?: PutResourcePermissionCommandOutput) => void): void;
102
+ putResourcePermission(args: PutResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePermissionCommandOutput) => void): void;
103
+ /**
104
+ * <p>Register an SAP application with AWS Systems Manager for SAP. You must meet the
105
+ * following requirements before registering. </p>
106
+ * <p>The SAP application you want to register with AWS Systems Manager for SAP is running
107
+ * on Amazon EC2.</p>
108
+ * <p>AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required
109
+ * IAM permissions.</p>
110
+ * <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets
111
+ * Manager to manage SAP applications and components.</p>
112
+ */
113
+ registerApplication(args: RegisterApplicationCommandInput, options?: __HttpHandlerOptions): Promise<RegisterApplicationCommandOutput>;
114
+ registerApplication(args: RegisterApplicationCommandInput, cb: (err: any, data?: RegisterApplicationCommandOutput) => void): void;
115
+ registerApplication(args: RegisterApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterApplicationCommandOutput) => void): void;
116
+ /**
117
+ * <p>Creates tag for a resource by specifying the ARN.</p>
118
+ */
119
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
120
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
121
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
122
+ /**
123
+ * <p>Delete the tags for a resource.</p>
124
+ */
125
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
126
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
127
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
128
+ /**
129
+ * <p/>
130
+ */
131
+ updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationSettingsCommandOutput>;
132
+ updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, cb: (err: any, data?: UpdateApplicationSettingsCommandOutput) => void): void;
133
+ updateApplicationSettings(args: UpdateApplicationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationSettingsCommandOutput) => void): void;
134
+ }
@@ -0,0 +1,159 @@
1
+ import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
3
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
+ import { DeleteResourcePermissionCommandInput, DeleteResourcePermissionCommandOutput } from "./commands/DeleteResourcePermissionCommand";
11
+ import { DeregisterApplicationCommandInput, DeregisterApplicationCommandOutput } from "./commands/DeregisterApplicationCommand";
12
+ import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
13
+ import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
14
+ import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
15
+ import { GetOperationCommandInput, GetOperationCommandOutput } from "./commands/GetOperationCommand";
16
+ import { GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput } from "./commands/GetResourcePermissionCommand";
17
+ import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
18
+ import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
19
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
20
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
21
+ import { PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput } from "./commands/PutResourcePermissionCommand";
22
+ import { RegisterApplicationCommandInput, RegisterApplicationCommandOutput } from "./commands/RegisterApplicationCommand";
23
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
+ import { UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput } from "./commands/UpdateApplicationSettingsCommand";
26
+ 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;
29
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
30
+ /**
31
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
32
+ */
33
+ requestHandler?: __HttpHandler;
34
+ /**
35
+ * A constructor for a class implementing the {@link __Hash} interface
36
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
37
+ * @internal
38
+ */
39
+ sha256?: __HashConstructor;
40
+ /**
41
+ * The function that will be used to convert strings into HTTP endpoints.
42
+ * @internal
43
+ */
44
+ urlParser?: __UrlParser;
45
+ /**
46
+ * A function that can calculate the length of a request body.
47
+ * @internal
48
+ */
49
+ bodyLengthChecker?: __BodyLengthCalculator;
50
+ /**
51
+ * A function that converts a stream into an array of bytes.
52
+ * @internal
53
+ */
54
+ streamCollector?: __StreamCollector;
55
+ /**
56
+ * The function that will be used to convert a base64-encoded string to a byte array.
57
+ * @internal
58
+ */
59
+ base64Decoder?: __Decoder;
60
+ /**
61
+ * The function that will be used to convert binary data to a base64-encoded string.
62
+ * @internal
63
+ */
64
+ base64Encoder?: __Encoder;
65
+ /**
66
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
67
+ * @internal
68
+ */
69
+ utf8Decoder?: __Decoder;
70
+ /**
71
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
72
+ * @internal
73
+ */
74
+ utf8Encoder?: __Encoder;
75
+ /**
76
+ * The runtime environment.
77
+ * @internal
78
+ */
79
+ runtime?: string;
80
+ /**
81
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
82
+ * trait of an operation.
83
+ */
84
+ disableHostPrefix?: boolean;
85
+ /**
86
+ * Value for how many times a request will be made at most in case of retry.
87
+ */
88
+ maxAttempts?: number | __Provider<number>;
89
+ /**
90
+ * Specifies which retry algorithm to use.
91
+ */
92
+ retryMode?: string | __Provider<string>;
93
+ /**
94
+ * Optional logger for logging debug/info/warn/error.
95
+ */
96
+ logger?: __Logger;
97
+ /**
98
+ * Enables IPv6/IPv4 dualstack endpoint.
99
+ */
100
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
101
+ /**
102
+ * Enables FIPS compatible endpoints.
103
+ */
104
+ useFipsEndpoint?: boolean | __Provider<boolean>;
105
+ /**
106
+ * Unique service identifier.
107
+ * @internal
108
+ */
109
+ serviceId?: string;
110
+ /**
111
+ * The AWS region to which this client will send requests
112
+ */
113
+ region?: string | __Provider<string>;
114
+ /**
115
+ * Default credentials provider; Not available in browser runtime.
116
+ * @internal
117
+ */
118
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
119
+ /**
120
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
121
+ * @internal
122
+ */
123
+ defaultUserAgentProvider?: Provider<__UserAgent>;
124
+ /**
125
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
126
+ */
127
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
128
+ }
129
+ declare type SsmSapClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
130
+ /**
131
+ * The configuration interface of SsmSapClient class constructor that set the region, credentials and other options.
132
+ */
133
+ export interface SsmSapClientConfig extends SsmSapClientConfigType {
134
+ }
135
+ declare type SsmSapClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
136
+ /**
137
+ * The resolved configuration interface of SsmSapClient class. This is resolved and normalized from the {@link SsmSapClientConfig | constructor configuration interface}.
138
+ */
139
+ export interface SsmSapClientResolvedConfig extends SsmSapClientResolvedConfigType {
140
+ }
141
+ /**
142
+ * <p>This API reference provides descriptions, syntax, and other details about each of the
143
+ * actions and data types for AWS Systems Manager for SAP. The topic for each action shows
144
+ * the API request parameters and responses. </p>
145
+ */
146
+ export declare class SsmSapClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig> {
147
+ /**
148
+ * The resolved configuration of SsmSapClient class. This is resolved and normalized from the {@link SsmSapClientConfig | constructor configuration interface}.
149
+ */
150
+ readonly config: SsmSapClientResolvedConfig;
151
+ constructor(configuration: SsmSapClientConfig);
152
+ /**
153
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
154
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
155
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
156
+ */
157
+ destroy(): void;
158
+ }
159
+ export {};
@@ -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 { DeleteResourcePermissionInput, DeleteResourcePermissionOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
6
+ export interface DeleteResourcePermissionCommandInput extends DeleteResourcePermissionInput {
7
+ }
8
+ export interface DeleteResourcePermissionCommandOutput extends DeleteResourcePermissionOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Removes permissions associated with the target database.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SsmSapClient, DeleteResourcePermissionCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
16
+ * // const { SsmSapClient, DeleteResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
17
+ * const client = new SsmSapClient(config);
18
+ * const command = new DeleteResourcePermissionCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteResourcePermissionCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteResourcePermissionCommandOutput} for command's `response` shape.
24
+ * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteResourcePermissionCommand extends $Command<DeleteResourcePermissionCommandInput, DeleteResourcePermissionCommandOutput, SsmSapClientResolvedConfig> {
28
+ readonly input: DeleteResourcePermissionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteResourcePermissionCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePermissionCommandInput, DeleteResourcePermissionCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,38 @@
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 { DeregisterApplicationInput, DeregisterApplicationOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
6
+ export interface DeregisterApplicationCommandInput extends DeregisterApplicationInput {
7
+ }
8
+ export interface DeregisterApplicationCommandOutput extends DeregisterApplicationOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deregister an SAP application with AWS Systems Manager for SAP. This action does not
12
+ * affect the existing setup of your SAP workloads on Amazon EC2.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { SsmSapClient, DeregisterApplicationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
17
+ * // const { SsmSapClient, DeregisterApplicationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
18
+ * const client = new SsmSapClient(config);
19
+ * const command = new DeregisterApplicationCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link DeregisterApplicationCommandInput} for command's `input` shape.
24
+ * @see {@link DeregisterApplicationCommandOutput} for command's `response` shape.
25
+ * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class DeregisterApplicationCommand extends $Command<DeregisterApplicationCommandInput, DeregisterApplicationCommandOutput, SsmSapClientResolvedConfig> {
29
+ readonly input: DeregisterApplicationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DeregisterApplicationCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterApplicationCommandInput, DeregisterApplicationCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
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 { GetApplicationInput, GetApplicationOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
6
+ export interface GetApplicationCommandInput extends GetApplicationInput {
7
+ }
8
+ export interface GetApplicationCommandOutput extends GetApplicationOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets an application registered with AWS Systems Manager for SAP. It also returns the
12
+ * components of the application.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { SsmSapClient, GetApplicationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
17
+ * // const { SsmSapClient, GetApplicationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
18
+ * const client = new SsmSapClient(config);
19
+ * const command = new GetApplicationCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GetApplicationCommandInput} for command's `input` shape.
24
+ * @see {@link GetApplicationCommandOutput} for command's `response` shape.
25
+ * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class GetApplicationCommand extends $Command<GetApplicationCommandInput, GetApplicationCommandOutput, SsmSapClientResolvedConfig> {
29
+ readonly input: GetApplicationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetApplicationCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationCommandInput, GetApplicationCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
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 { GetComponentInput, GetComponentOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
6
+ export interface GetComponentCommandInput extends GetComponentInput {
7
+ }
8
+ export interface GetComponentCommandOutput extends GetComponentOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the component of an application registered with AWS Systems Manager for
12
+ * SAP.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { SsmSapClient, GetComponentCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
17
+ * // const { SsmSapClient, GetComponentCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
18
+ * const client = new SsmSapClient(config);
19
+ * const command = new GetComponentCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GetComponentCommandInput} for command's `input` shape.
24
+ * @see {@link GetComponentCommandOutput} for command's `response` shape.
25
+ * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class GetComponentCommand extends $Command<GetComponentCommandInput, GetComponentCommandOutput, SsmSapClientResolvedConfig> {
29
+ readonly input: GetComponentCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetComponentCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetComponentCommandInput, GetComponentCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
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 { GetDatabaseInput, GetDatabaseOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
6
+ export interface GetDatabaseCommandInput extends GetDatabaseInput {
7
+ }
8
+ export interface GetDatabaseCommandOutput extends GetDatabaseOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the SAP HANA database of an application registered with AWS Systems Manager for
12
+ * SAP.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { SsmSapClient, GetDatabaseCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
17
+ * // const { SsmSapClient, GetDatabaseCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
18
+ * const client = new SsmSapClient(config);
19
+ * const command = new GetDatabaseCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GetDatabaseCommandInput} for command's `input` shape.
24
+ * @see {@link GetDatabaseCommandOutput} for command's `response` shape.
25
+ * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class GetDatabaseCommand extends $Command<GetDatabaseCommandInput, GetDatabaseCommandOutput, SsmSapClientResolvedConfig> {
29
+ readonly input: GetDatabaseCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetDatabaseCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDatabaseCommandInput, GetDatabaseCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -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 { GetOperationInput, GetOperationOutput } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
6
+ export interface GetOperationCommandInput extends GetOperationInput {
7
+ }
8
+ export interface GetOperationCommandOutput extends GetOperationOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the details of an operation by specifying the operation ID.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SsmSapClient, GetOperationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
16
+ * // const { SsmSapClient, GetOperationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
17
+ * const client = new SsmSapClient(config);
18
+ * const command = new GetOperationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetOperationCommandInput} for command's `input` shape.
23
+ * @see {@link GetOperationCommandOutput} for command's `response` shape.
24
+ * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetOperationCommand extends $Command<GetOperationCommandInput, GetOperationCommandOutput, SsmSapClientResolvedConfig> {
28
+ readonly input: GetOperationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetOperationCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOperationCommandInput, GetOperationCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }