@aws-sdk/client-ssm-sap 3.299.0 → 3.301.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-types/commands/DeleteResourcePermissionCommand.d.ts +5 -0
- package/dist-types/commands/DeregisterApplicationCommand.d.ts +3 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +5 -0
- package/dist-types/commands/GetComponentCommand.d.ts +4 -0
- package/dist-types/commands/GetDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/GetOperationCommand.d.ts +3 -0
- package/dist-types/commands/GetResourcePermissionCommand.d.ts +4 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +4 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +5 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +6 -0
- package/dist-types/commands/ListOperationsCommand.d.ts +12 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutResourcePermissionCommand.d.ts +5 -0
- package/dist-types/commands/RegisterApplicationCommand.d.ts +19 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +17 -0
- package/package.json +8 -8
|
@@ -26,6 +26,11 @@ export interface DeleteResourcePermissionCommandOutput extends DeleteResourcePer
|
|
|
26
26
|
* import { SsmSapClient, DeleteResourcePermissionCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, DeleteResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // DeleteResourcePermissionInput
|
|
30
|
+
* ActionType: "STRING_VALUE",
|
|
31
|
+
* SourceResourceArn: "STRING_VALUE",
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DeleteResourcePermissionCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeregisterApplicationCommandOutput extends DeregisterApplicatio
|
|
|
27
27
|
* import { SsmSapClient, DeregisterApplicationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
28
28
|
* // const { SsmSapClient, DeregisterApplicationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
29
29
|
* const client = new SsmSapClient(config);
|
|
30
|
+
* const input = { // DeregisterApplicationInput
|
|
31
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeregisterApplicationCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met
|
|
|
27
27
|
* import { SsmSapClient, GetApplicationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
28
28
|
* // const { SsmSapClient, GetApplicationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
29
29
|
* const client = new SsmSapClient(config);
|
|
30
|
+
* const input = { // GetApplicationInput
|
|
31
|
+
* ApplicationId: "STRING_VALUE",
|
|
32
|
+
* ApplicationArn: "STRING_VALUE",
|
|
33
|
+
* AppRegistryArn: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new GetApplicationCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetComponentCommandOutput extends GetComponentOutput, __Metadat
|
|
|
27
27
|
* import { SsmSapClient, GetComponentCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
28
28
|
* // const { SsmSapClient, GetComponentCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
29
29
|
* const client = new SsmSapClient(config);
|
|
30
|
+
* const input = { // GetComponentInput
|
|
31
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
32
|
+
* ComponentId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetComponentCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface GetDatabaseCommandOutput extends GetDatabaseOutput, __MetadataB
|
|
|
27
27
|
* import { SsmSapClient, GetDatabaseCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
28
28
|
* // const { SsmSapClient, GetDatabaseCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
29
29
|
* const client = new SsmSapClient(config);
|
|
30
|
+
* const input = { // GetDatabaseInput
|
|
31
|
+
* ApplicationId: "STRING_VALUE",
|
|
32
|
+
* ComponentId: "STRING_VALUE",
|
|
33
|
+
* DatabaseId: "STRING_VALUE",
|
|
34
|
+
* DatabaseArn: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new GetDatabaseCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetOperationCommandOutput extends GetOperationOutput, __Metadat
|
|
|
26
26
|
* import { SsmSapClient, GetOperationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, GetOperationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // GetOperationInput
|
|
30
|
+
* OperationId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetOperationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetResourcePermissionCommandOutput extends GetResourcePermissio
|
|
|
26
26
|
* import { SsmSapClient, GetResourcePermissionCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, GetResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // GetResourcePermissionInput
|
|
30
|
+
* ActionType: "STRING_VALUE",
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetResourcePermissionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListApplicationsCommandOutput extends ListApplicationsOutput, _
|
|
|
26
26
|
* import { SsmSapClient, ListApplicationsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, ListApplicationsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // ListApplicationsInput
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListApplicationsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListComponentsCommandOutput extends ListComponentsOutput, __Met
|
|
|
26
26
|
* import { SsmSapClient, ListComponentsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, ListComponentsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // ListComponentsInput
|
|
30
|
+
* ApplicationId: "STRING_VALUE",
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListComponentsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListDatabasesCommandOutput extends ListDatabasesOutput, __Metad
|
|
|
27
27
|
* import { SsmSapClient, ListDatabasesCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
28
28
|
* // const { SsmSapClient, ListDatabasesCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
29
29
|
* const client = new SsmSapClient(config);
|
|
30
|
+
* const input = { // ListDatabasesInput
|
|
31
|
+
* ApplicationId: "STRING_VALUE",
|
|
32
|
+
* ComponentId: "STRING_VALUE",
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListDatabasesCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface ListOperationsCommandOutput extends ListOperationsOutput, __Met
|
|
|
26
26
|
* import { SsmSapClient, ListOperationsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, ListOperationsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // ListOperationsInput
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* Filters: [ // FilterList
|
|
34
|
+
* { // Filter
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Value: "STRING_VALUE", // required
|
|
37
|
+
* Operator: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
29
41
|
* const command = new ListOperationsCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { SsmSapClient, ListTagsForResourceCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
28
28
|
* // const { SsmSapClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
29
29
|
* const client = new SsmSapClient(config);
|
|
30
|
+
* const input = { // ListTagsForResourceRequest
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface PutResourcePermissionCommandOutput extends PutResourcePermissio
|
|
|
26
26
|
* import { SsmSapClient, PutResourcePermissionCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, PutResourcePermissionCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // PutResourcePermissionInput
|
|
30
|
+
* ActionType: "STRING_VALUE", // required
|
|
31
|
+
* SourceResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new PutResourcePermissionCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -33,6 +33,25 @@ export interface RegisterApplicationCommandOutput extends RegisterApplicationOut
|
|
|
33
33
|
* import { SsmSapClient, RegisterApplicationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
34
34
|
* // const { SsmSapClient, RegisterApplicationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
35
35
|
* const client = new SsmSapClient(config);
|
|
36
|
+
* const input = { // RegisterApplicationInput
|
|
37
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
38
|
+
* ApplicationType: "STRING_VALUE", // required
|
|
39
|
+
* Instances: [ // InstanceList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* SapInstanceNumber: "STRING_VALUE",
|
|
43
|
+
* Sid: "STRING_VALUE",
|
|
44
|
+
* Tags: { // TagMap
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* Credentials: [ // ApplicationCredentialList // required
|
|
48
|
+
* { // ApplicationCredential
|
|
49
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
50
|
+
* CredentialType: "STRING_VALUE", // required
|
|
51
|
+
* SecretId: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
36
55
|
* const command = new RegisterApplicationCommand(input);
|
|
37
56
|
* const response = await client.send(command);
|
|
38
57
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { SsmSapClient, TagResourceCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, TagResourceCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // TagMap // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { SsmSapClient, UntagResourceCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
27
27
|
* // const { SsmSapClient, UntagResourceCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
28
28
|
* const client = new SsmSapClient(config);
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,23 @@ export interface UpdateApplicationSettingsCommandOutput extends UpdateApplicatio
|
|
|
27
27
|
* import { SsmSapClient, UpdateApplicationSettingsCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import
|
|
28
28
|
* // const { SsmSapClient, UpdateApplicationSettingsCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import
|
|
29
29
|
* const client = new SsmSapClient(config);
|
|
30
|
+
* const input = { // UpdateApplicationSettingsInput
|
|
31
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
32
|
+
* CredentialsToAddOrUpdate: [ // ApplicationCredentialList
|
|
33
|
+
* { // ApplicationCredential
|
|
34
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* CredentialType: "STRING_VALUE", // required
|
|
36
|
+
* SecretId: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* CredentialsToRemove: [
|
|
40
|
+
* {
|
|
41
|
+
* DatabaseName: "STRING_VALUE", // required
|
|
42
|
+
* CredentialType: "STRING_VALUE", // required
|
|
43
|
+
* SecretId: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
30
47
|
* const command = new UpdateApplicationSettingsCommand(input);
|
|
31
48
|
* const response = await client.send(command);
|
|
32
49
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-sap",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Sap Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|