@aws-sdk/client-ssm-sap 3.214.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +207 -0
- package/dist-cjs/SsmSap.js +247 -0
- package/dist-cjs/SsmSapClient.js +40 -0
- package/dist-cjs/commands/DeleteResourcePermissionCommand.js +46 -0
- package/dist-cjs/commands/DeregisterApplicationCommand.js +46 -0
- package/dist-cjs/commands/GetApplicationCommand.js +46 -0
- package/dist-cjs/commands/GetComponentCommand.js +46 -0
- package/dist-cjs/commands/GetDatabaseCommand.js +46 -0
- package/dist-cjs/commands/GetOperationCommand.js +46 -0
- package/dist-cjs/commands/GetResourcePermissionCommand.js +46 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +46 -0
- package/dist-cjs/commands/ListComponentsCommand.js +46 -0
- package/dist-cjs/commands/ListDatabasesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/PutResourcePermissionCommand.js +46 -0
- package/dist-cjs/commands/RegisterApplicationCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateApplicationSettingsCommand.js +46 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SsmSapServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +293 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListComponentsPaginator.js +36 -0
- package/dist-cjs/pagination/ListDatabasesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1356 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/SsmSap.js +243 -0
- package/dist-es/SsmSapClient.js +36 -0
- package/dist-es/commands/DeleteResourcePermissionCommand.js +42 -0
- package/dist-es/commands/DeregisterApplicationCommand.js +42 -0
- package/dist-es/commands/GetApplicationCommand.js +42 -0
- package/dist-es/commands/GetComponentCommand.js +42 -0
- package/dist-es/commands/GetDatabaseCommand.js +42 -0
- package/dist-es/commands/GetOperationCommand.js +42 -0
- package/dist-es/commands/GetResourcePermissionCommand.js +42 -0
- package/dist-es/commands/ListApplicationsCommand.js +42 -0
- package/dist-es/commands/ListComponentsCommand.js +42 -0
- package/dist-es/commands/ListDatabasesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/PutResourcePermissionCommand.js +42 -0
- package/dist-es/commands/RegisterApplicationCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateApplicationSettingsCommand.js +42 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SsmSapServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +244 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +32 -0
- package/dist-es/pagination/ListComponentsPaginator.js +32 -0
- package/dist-es/pagination/ListDatabasesPaginator.js +32 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1321 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/SsmSap.d.ts +134 -0
- package/dist-types/SsmSapClient.d.ts +159 -0
- package/dist-types/commands/DeleteResourcePermissionCommand.d.ts +37 -0
- package/dist-types/commands/DeregisterApplicationCommand.d.ts +38 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/commands/GetComponentCommand.d.ts +38 -0
- package/dist-types/commands/GetDatabaseCommand.d.ts +38 -0
- package/dist-types/commands/GetOperationCommand.d.ts +37 -0
- package/dist-types/commands/GetResourcePermissionCommand.d.ts +37 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +37 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +37 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +38 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/commands/PutResourcePermissionCommand.d.ts +37 -0
- package/dist-types/commands/RegisterApplicationCommand.d.ts +44 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/SsmSapServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +854 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDatabasesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +50 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/SsmSap.d.ts +276 -0
- package/dist-types/ts3.4/SsmSapClient.d.ts +207 -0
- package/dist-types/ts3.4/commands/DeleteResourcePermissionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeregisterApplicationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetDatabaseCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetResourcePermissionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePermissionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RegisterApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SsmSapServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +392 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +101 -0
|
@@ -0,0 +1,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 { GetResourcePermissionInput, GetResourcePermissionOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface GetResourcePermissionCommandInput extends GetResourcePermissionInput {
|
|
7
|
+
}
|
|
8
|
+
export interface GetResourcePermissionCommandOutput extends GetResourcePermissionOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Gets 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, GetResourcePermissionCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, GetResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new GetResourcePermissionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetResourcePermissionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetResourcePermissionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetResourcePermissionCommand extends $Command<GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: GetResourcePermissionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetResourcePermissionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcePermissionCommandInput, GetResourcePermissionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -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 { ListApplicationsInput, ListApplicationsOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface ListApplicationsCommandInput extends ListApplicationsInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListApplicationsCommandOutput extends ListApplicationsOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists all the applications registered with 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, ListApplicationsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, ListApplicationsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new ListApplicationsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListApplicationsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListApplicationsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListApplicationsCommand extends $Command<ListApplicationsCommandInput, ListApplicationsCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: ListApplicationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListApplicationsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListApplicationsCommandInput, ListApplicationsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -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 { ListComponentsInput, ListComponentsOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface ListComponentsCommandInput extends ListComponentsInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListComponentsCommandOutput extends ListComponentsOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists all the components registered with 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, ListComponentsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, ListComponentsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new ListComponentsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListComponentsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListComponentsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListComponentsCommand extends $Command<ListComponentsCommandInput, ListComponentsCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: ListComponentsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListComponentsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListComponentsCommandInput, ListComponentsCommandOutput>;
|
|
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 { ListDatabasesInput, ListDatabasesOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface ListDatabasesCommandInput extends ListDatabasesInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListDatabasesCommandOutput extends ListDatabasesOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the SAP HANA databases 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, ListDatabasesCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
17
|
+
* // const { SsmSapClient, ListDatabasesCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
18
|
+
* const client = new SsmSapClient(config);
|
|
19
|
+
* const command = new ListDatabasesCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListDatabasesCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListDatabasesCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, SsmSapClientResolvedConfig> {
|
|
29
|
+
readonly input: ListDatabasesCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListDatabasesCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatabasesCommandInput, ListDatabasesCommandOutput>;
|
|
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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists all tags on an SAP HANA application and/or database registered with AWS Systems
|
|
12
|
+
* Manager for 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, ListTagsForResourceCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
17
|
+
* // const { SsmSapClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
18
|
+
* const client = new SsmSapClient(config);
|
|
19
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SsmSapClientResolvedConfig> {
|
|
29
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
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 { PutResourcePermissionInput, PutResourcePermissionOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface PutResourcePermissionCommandInput extends PutResourcePermissionInput {
|
|
7
|
+
}
|
|
8
|
+
export interface PutResourcePermissionCommandOutput extends PutResourcePermissionOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Adds permissions to 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, PutResourcePermissionCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, PutResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new PutResourcePermissionCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link PutResourcePermissionCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link PutResourcePermissionCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class PutResourcePermissionCommand extends $Command<PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: PutResourcePermissionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: PutResourcePermissionCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePermissionCommandInput, PutResourcePermissionCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { RegisterApplicationInput, RegisterApplicationOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface RegisterApplicationCommandInput extends RegisterApplicationInput {
|
|
7
|
+
}
|
|
8
|
+
export interface RegisterApplicationCommandOutput extends RegisterApplicationOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Register an SAP application with AWS Systems Manager for SAP. You must meet the
|
|
12
|
+
* following requirements before registering. </p>
|
|
13
|
+
* <p>The SAP application you want to register with AWS Systems Manager for SAP is running
|
|
14
|
+
* on Amazon EC2.</p>
|
|
15
|
+
* <p>AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required
|
|
16
|
+
* IAM permissions.</p>
|
|
17
|
+
* <p>Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets
|
|
18
|
+
* Manager to manage SAP applications and components.</p>
|
|
19
|
+
* @example
|
|
20
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
+
* ```javascript
|
|
22
|
+
* import { SsmSapClient, RegisterApplicationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
23
|
+
* // const { SsmSapClient, RegisterApplicationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
24
|
+
* const client = new SsmSapClient(config);
|
|
25
|
+
* const command = new RegisterApplicationCommand(input);
|
|
26
|
+
* const response = await client.send(command);
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @see {@link RegisterApplicationCommandInput} for command's `input` shape.
|
|
30
|
+
* @see {@link RegisterApplicationCommandOutput} for command's `response` shape.
|
|
31
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare class RegisterApplicationCommand extends $Command<RegisterApplicationCommandInput, RegisterApplicationCommandOutput, SsmSapClientResolvedConfig> {
|
|
35
|
+
readonly input: RegisterApplicationCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
37
|
+
constructor(input: RegisterApplicationCommandInput);
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterApplicationCommandInput, RegisterApplicationCommandOutput>;
|
|
42
|
+
private serialize;
|
|
43
|
+
private deserialize;
|
|
44
|
+
}
|
|
@@ -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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates tag for a resource by specifying the ARN.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SsmSapClient, TagResourceCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, TagResourceCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new TagResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: TagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: TagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Delete the tags for a resource.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SsmSapClient, UntagResourceCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, UntagResourceCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new UntagResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: UntagResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UntagResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -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 { UpdateApplicationSettingsInput, UpdateApplicationSettingsOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SsmSapClientResolvedConfig } from "../SsmSapClient";
|
|
6
|
+
export interface UpdateApplicationSettingsCommandInput extends UpdateApplicationSettingsInput {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicationSettingsOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p/>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SsmSapClient, UpdateApplicationSettingsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
16
|
+
* // const { SsmSapClient, UpdateApplicationSettingsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
17
|
+
* const client = new SsmSapClient(config);
|
|
18
|
+
* const command = new UpdateApplicationSettingsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateApplicationSettingsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateApplicationSettingsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateApplicationSettingsCommand extends $Command<UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput, SsmSapClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateApplicationSettingsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateApplicationSettingsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SsmSapClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationSettingsCommandInput, UpdateApplicationSettingsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./DeleteResourcePermissionCommand";
|
|
2
|
+
export * from "./DeregisterApplicationCommand";
|
|
3
|
+
export * from "./GetApplicationCommand";
|
|
4
|
+
export * from "./GetComponentCommand";
|
|
5
|
+
export * from "./GetDatabaseCommand";
|
|
6
|
+
export * from "./GetOperationCommand";
|
|
7
|
+
export * from "./GetResourcePermissionCommand";
|
|
8
|
+
export * from "./ListApplicationsCommand";
|
|
9
|
+
export * from "./ListComponentsCommand";
|
|
10
|
+
export * from "./ListDatabasesCommand";
|
|
11
|
+
export * from "./ListTagsForResourceCommand";
|
|
12
|
+
export * from "./PutResourcePermissionCommand";
|
|
13
|
+
export * from "./RegisterApplicationCommand";
|
|
14
|
+
export * from "./TagResourceCommand";
|
|
15
|
+
export * from "./UntagResourceCommand";
|
|
16
|
+
export * from "./UpdateApplicationSettingsCommand";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from SsmSap service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SsmSapServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|