@aws-sdk/client-ssm-sap 3.300.0 → 3.303.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.
@@ -3,40 +3,34 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateApplicationSettingsInputFilterSensitiveLog = exports.RegisterApplicationInputFilterSensitiveLog = exports.GetDatabaseOutputFilterSensitiveLog = exports.DatabaseFilterSensitiveLog = exports.ApplicationCredentialFilterSensitiveLog = exports.OperationStatus = exports.FilterOperator = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.PermissionActionType = exports.DatabaseStatus = exports.DatabaseType = exports.ConflictException = exports.ComponentStatus = exports.HostRole = exports.ComponentType = exports.CredentialType = exports.ApplicationType = exports.ApplicationStatus = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const SsmSapServiceException_1 = require("./SsmSapServiceException");
6
- var ApplicationStatus;
7
- (function (ApplicationStatus) {
8
- ApplicationStatus["ACTIVATED"] = "ACTIVATED";
9
- ApplicationStatus["DELETING"] = "DELETING";
10
- ApplicationStatus["FAILED"] = "FAILED";
11
- ApplicationStatus["REGISTERING"] = "REGISTERING";
12
- ApplicationStatus["STARTING"] = "STARTING";
13
- ApplicationStatus["STOPPED"] = "STOPPED";
14
- ApplicationStatus["STOPPING"] = "STOPPING";
15
- ApplicationStatus["UNKNOWN"] = "UNKNOWN";
16
- })(ApplicationStatus = exports.ApplicationStatus || (exports.ApplicationStatus = {}));
17
- var ApplicationType;
18
- (function (ApplicationType) {
19
- ApplicationType["HANA"] = "HANA";
20
- })(ApplicationType = exports.ApplicationType || (exports.ApplicationType = {}));
21
- var CredentialType;
22
- (function (CredentialType) {
23
- CredentialType["ADMIN"] = "ADMIN";
24
- })(CredentialType = exports.CredentialType || (exports.CredentialType = {}));
25
- var ComponentType;
26
- (function (ComponentType) {
27
- ComponentType["HANA"] = "HANA";
28
- })(ComponentType = exports.ComponentType || (exports.ComponentType = {}));
29
- var HostRole;
30
- (function (HostRole) {
31
- HostRole["LEADER"] = "LEADER";
32
- HostRole["STANDBY"] = "STANDBY";
33
- HostRole["UNKNOWN"] = "UNKNOWN";
34
- HostRole["WORKER"] = "WORKER";
35
- })(HostRole = exports.HostRole || (exports.HostRole = {}));
36
- var ComponentStatus;
37
- (function (ComponentStatus) {
38
- ComponentStatus["ACTIVATED"] = "ACTIVATED";
39
- })(ComponentStatus = exports.ComponentStatus || (exports.ComponentStatus = {}));
6
+ exports.ApplicationStatus = {
7
+ ACTIVATED: "ACTIVATED",
8
+ DELETING: "DELETING",
9
+ FAILED: "FAILED",
10
+ REGISTERING: "REGISTERING",
11
+ STARTING: "STARTING",
12
+ STOPPED: "STOPPED",
13
+ STOPPING: "STOPPING",
14
+ UNKNOWN: "UNKNOWN",
15
+ };
16
+ exports.ApplicationType = {
17
+ HANA: "HANA",
18
+ };
19
+ exports.CredentialType = {
20
+ ADMIN: "ADMIN",
21
+ };
22
+ exports.ComponentType = {
23
+ HANA: "HANA",
24
+ };
25
+ exports.HostRole = {
26
+ LEADER: "LEADER",
27
+ STANDBY: "STANDBY",
28
+ UNKNOWN: "UNKNOWN",
29
+ WORKER: "WORKER",
30
+ };
31
+ exports.ComponentStatus = {
32
+ ACTIVATED: "ACTIVATED",
33
+ };
40
34
  class ConflictException extends SsmSapServiceException_1.SsmSapServiceException {
41
35
  constructor(opts) {
42
36
  super({
@@ -51,23 +45,20 @@ class ConflictException extends SsmSapServiceException_1.SsmSapServiceException
51
45
  }
52
46
  }
53
47
  exports.ConflictException = ConflictException;
54
- var DatabaseType;
55
- (function (DatabaseType) {
56
- DatabaseType["SYSTEM"] = "SYSTEM";
57
- DatabaseType["TENANT"] = "TENANT";
58
- })(DatabaseType = exports.DatabaseType || (exports.DatabaseType = {}));
59
- var DatabaseStatus;
60
- (function (DatabaseStatus) {
61
- DatabaseStatus["RUNNING"] = "RUNNING";
62
- DatabaseStatus["STARTING"] = "STARTING";
63
- DatabaseStatus["STOPPED"] = "STOPPED";
64
- DatabaseStatus["UNKNOWN"] = "UNKNOWN";
65
- DatabaseStatus["WARNING"] = "WARNING";
66
- })(DatabaseStatus = exports.DatabaseStatus || (exports.DatabaseStatus = {}));
67
- var PermissionActionType;
68
- (function (PermissionActionType) {
69
- PermissionActionType["RESTORE"] = "RESTORE";
70
- })(PermissionActionType = exports.PermissionActionType || (exports.PermissionActionType = {}));
48
+ exports.DatabaseType = {
49
+ SYSTEM: "SYSTEM",
50
+ TENANT: "TENANT",
51
+ };
52
+ exports.DatabaseStatus = {
53
+ RUNNING: "RUNNING",
54
+ STARTING: "STARTING",
55
+ STOPPED: "STOPPED",
56
+ UNKNOWN: "UNKNOWN",
57
+ WARNING: "WARNING",
58
+ };
59
+ exports.PermissionActionType = {
60
+ RESTORE: "RESTORE",
61
+ };
71
62
  class InternalServerException extends SsmSapServiceException_1.SsmSapServiceException {
72
63
  constructor(opts) {
73
64
  super({
@@ -110,18 +101,16 @@ class ValidationException extends SsmSapServiceException_1.SsmSapServiceExceptio
110
101
  }
111
102
  }
112
103
  exports.ValidationException = ValidationException;
113
- var FilterOperator;
114
- (function (FilterOperator) {
115
- FilterOperator["EQUALS"] = "Equals";
116
- FilterOperator["GREATER_THAN_OR_EQUALS"] = "GreaterThanOrEquals";
117
- FilterOperator["LESS_THAN_OR_EQUALS"] = "LessThanOrEquals";
118
- })(FilterOperator = exports.FilterOperator || (exports.FilterOperator = {}));
119
- var OperationStatus;
120
- (function (OperationStatus) {
121
- OperationStatus["ERROR"] = "ERROR";
122
- OperationStatus["INPROGRESS"] = "INPROGRESS";
123
- OperationStatus["SUCCESS"] = "SUCCESS";
124
- })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
104
+ exports.FilterOperator = {
105
+ EQUALS: "Equals",
106
+ GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
107
+ LESS_THAN_OR_EQUALS: "LessThanOrEquals",
108
+ };
109
+ exports.OperationStatus = {
110
+ ERROR: "ERROR",
111
+ INPROGRESS: "INPROGRESS",
112
+ SUCCESS: "SUCCESS",
113
+ };
125
114
  const ApplicationCredentialFilterSensitiveLog = (obj) => ({
126
115
  ...obj,
127
116
  ...(obj.SecretId && { SecretId: smithy_client_1.SENSITIVE_STRING }),
@@ -1,39 +1,33 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
3
- export var ApplicationStatus;
4
- (function (ApplicationStatus) {
5
- ApplicationStatus["ACTIVATED"] = "ACTIVATED";
6
- ApplicationStatus["DELETING"] = "DELETING";
7
- ApplicationStatus["FAILED"] = "FAILED";
8
- ApplicationStatus["REGISTERING"] = "REGISTERING";
9
- ApplicationStatus["STARTING"] = "STARTING";
10
- ApplicationStatus["STOPPED"] = "STOPPED";
11
- ApplicationStatus["STOPPING"] = "STOPPING";
12
- ApplicationStatus["UNKNOWN"] = "UNKNOWN";
13
- })(ApplicationStatus || (ApplicationStatus = {}));
14
- export var ApplicationType;
15
- (function (ApplicationType) {
16
- ApplicationType["HANA"] = "HANA";
17
- })(ApplicationType || (ApplicationType = {}));
18
- export var CredentialType;
19
- (function (CredentialType) {
20
- CredentialType["ADMIN"] = "ADMIN";
21
- })(CredentialType || (CredentialType = {}));
22
- export var ComponentType;
23
- (function (ComponentType) {
24
- ComponentType["HANA"] = "HANA";
25
- })(ComponentType || (ComponentType = {}));
26
- export var HostRole;
27
- (function (HostRole) {
28
- HostRole["LEADER"] = "LEADER";
29
- HostRole["STANDBY"] = "STANDBY";
30
- HostRole["UNKNOWN"] = "UNKNOWN";
31
- HostRole["WORKER"] = "WORKER";
32
- })(HostRole || (HostRole = {}));
33
- export var ComponentStatus;
34
- (function (ComponentStatus) {
35
- ComponentStatus["ACTIVATED"] = "ACTIVATED";
36
- })(ComponentStatus || (ComponentStatus = {}));
3
+ export const ApplicationStatus = {
4
+ ACTIVATED: "ACTIVATED",
5
+ DELETING: "DELETING",
6
+ FAILED: "FAILED",
7
+ REGISTERING: "REGISTERING",
8
+ STARTING: "STARTING",
9
+ STOPPED: "STOPPED",
10
+ STOPPING: "STOPPING",
11
+ UNKNOWN: "UNKNOWN",
12
+ };
13
+ export const ApplicationType = {
14
+ HANA: "HANA",
15
+ };
16
+ export const CredentialType = {
17
+ ADMIN: "ADMIN",
18
+ };
19
+ export const ComponentType = {
20
+ HANA: "HANA",
21
+ };
22
+ export const HostRole = {
23
+ LEADER: "LEADER",
24
+ STANDBY: "STANDBY",
25
+ UNKNOWN: "UNKNOWN",
26
+ WORKER: "WORKER",
27
+ };
28
+ export const ComponentStatus = {
29
+ ACTIVATED: "ACTIVATED",
30
+ };
37
31
  export class ConflictException extends __BaseException {
38
32
  constructor(opts) {
39
33
  super({
@@ -47,23 +41,20 @@ export class ConflictException extends __BaseException {
47
41
  this.Message = opts.Message;
48
42
  }
49
43
  }
50
- export var DatabaseType;
51
- (function (DatabaseType) {
52
- DatabaseType["SYSTEM"] = "SYSTEM";
53
- DatabaseType["TENANT"] = "TENANT";
54
- })(DatabaseType || (DatabaseType = {}));
55
- export var DatabaseStatus;
56
- (function (DatabaseStatus) {
57
- DatabaseStatus["RUNNING"] = "RUNNING";
58
- DatabaseStatus["STARTING"] = "STARTING";
59
- DatabaseStatus["STOPPED"] = "STOPPED";
60
- DatabaseStatus["UNKNOWN"] = "UNKNOWN";
61
- DatabaseStatus["WARNING"] = "WARNING";
62
- })(DatabaseStatus || (DatabaseStatus = {}));
63
- export var PermissionActionType;
64
- (function (PermissionActionType) {
65
- PermissionActionType["RESTORE"] = "RESTORE";
66
- })(PermissionActionType || (PermissionActionType = {}));
44
+ export const DatabaseType = {
45
+ SYSTEM: "SYSTEM",
46
+ TENANT: "TENANT",
47
+ };
48
+ export const DatabaseStatus = {
49
+ RUNNING: "RUNNING",
50
+ STARTING: "STARTING",
51
+ STOPPED: "STOPPED",
52
+ UNKNOWN: "UNKNOWN",
53
+ WARNING: "WARNING",
54
+ };
55
+ export const PermissionActionType = {
56
+ RESTORE: "RESTORE",
57
+ };
67
58
  export class InternalServerException extends __BaseException {
68
59
  constructor(opts) {
69
60
  super({
@@ -103,18 +94,16 @@ export class ValidationException extends __BaseException {
103
94
  this.Message = opts.Message;
104
95
  }
105
96
  }
106
- export var FilterOperator;
107
- (function (FilterOperator) {
108
- FilterOperator["EQUALS"] = "Equals";
109
- FilterOperator["GREATER_THAN_OR_EQUALS"] = "GreaterThanOrEquals";
110
- FilterOperator["LESS_THAN_OR_EQUALS"] = "LessThanOrEquals";
111
- })(FilterOperator || (FilterOperator = {}));
112
- export var OperationStatus;
113
- (function (OperationStatus) {
114
- OperationStatus["ERROR"] = "ERROR";
115
- OperationStatus["INPROGRESS"] = "INPROGRESS";
116
- OperationStatus["SUCCESS"] = "SUCCESS";
117
- })(OperationStatus || (OperationStatus = {}));
97
+ export const FilterOperator = {
98
+ EQUALS: "Equals",
99
+ GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
100
+ LESS_THAN_OR_EQUALS: "LessThanOrEquals",
101
+ };
102
+ export const OperationStatus = {
103
+ ERROR: "ERROR",
104
+ INPROGRESS: "INPROGRESS",
105
+ SUCCESS: "SUCCESS",
106
+ };
118
107
  export const ApplicationCredentialFilterSensitiveLog = (obj) => ({
119
108
  ...obj,
120
109
  ...(obj.SecretId && { SecretId: SENSITIVE_STRING }),
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // DeleteResourcePermissionInput
30
30
  * ActionType: "STRING_VALUE",
31
31
  * SourceResourceArn: "STRING_VALUE",
32
32
  * ResourceArn: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // DeregisterApplicationInput
31
31
  * ApplicationId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeregisterApplicationCommand(input);
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // GetApplicationInput
31
31
  * ApplicationId: "STRING_VALUE",
32
32
  * ApplicationArn: "STRING_VALUE",
33
33
  * AppRegistryArn: "STRING_VALUE",
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // GetComponentInput
31
31
  * ApplicationId: "STRING_VALUE", // required
32
32
  * ComponentId: "STRING_VALUE", // required
33
33
  * };
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // GetDatabaseInput
31
31
  * ApplicationId: "STRING_VALUE",
32
32
  * ComponentId: "STRING_VALUE",
33
33
  * DatabaseId: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetOperationInput
30
30
  * OperationId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetOperationCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // GetResourcePermissionInput
30
30
  * ActionType: "STRING_VALUE",
31
31
  * ResourceArn: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListApplicationsInput
30
30
  * NextToken: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // ListComponentsInput
30
30
  * ApplicationId: "STRING_VALUE",
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // ListDatabasesInput
31
31
  * ApplicationId: "STRING_VALUE",
32
32
  * ComponentId: "STRING_VALUE",
33
33
  * NextToken: "STRING_VALUE",
@@ -26,12 +26,12 @@ 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 = {
29
+ * const input = { // ListOperationsInput
30
30
  * ApplicationId: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
33
- * Filters: [
34
- * {
33
+ * Filters: [ // FilterList
34
+ * { // Filter
35
35
  * Name: "STRING_VALUE", // required
36
36
  * Value: "STRING_VALUE", // required
37
37
  * Operator: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ 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 = {
30
+ * const input = { // ListTagsForResourceRequest
31
31
  * resourceArn: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new ListTagsForResourceCommand(input);
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // PutResourcePermissionInput
30
30
  * ActionType: "STRING_VALUE", // required
31
31
  * SourceResourceArn: "STRING_VALUE", // required
32
32
  * ResourceArn: "STRING_VALUE", // required
@@ -33,19 +33,19 @@ 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 = {
36
+ * const input = { // RegisterApplicationInput
37
37
  * ApplicationId: "STRING_VALUE", // required
38
38
  * ApplicationType: "STRING_VALUE", // required
39
- * Instances: [ // required
39
+ * Instances: [ // InstanceList // required
40
40
  * "STRING_VALUE",
41
41
  * ],
42
42
  * SapInstanceNumber: "STRING_VALUE",
43
43
  * Sid: "STRING_VALUE",
44
- * Tags: {
44
+ * Tags: { // TagMap
45
45
  * "<keys>": "STRING_VALUE",
46
46
  * },
47
- * Credentials: [ // required
48
- * {
47
+ * Credentials: [ // ApplicationCredentialList // required
48
+ * { // ApplicationCredential
49
49
  * DatabaseName: "STRING_VALUE", // required
50
50
  * CredentialType: "STRING_VALUE", // required
51
51
  * SecretId: "STRING_VALUE", // required
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // TagMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ 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 = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -27,10 +27,10 @@ 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 = {
30
+ * const input = { // UpdateApplicationSettingsInput
31
31
  * ApplicationId: "STRING_VALUE", // required
32
- * CredentialsToAddOrUpdate: [
33
- * {
32
+ * CredentialsToAddOrUpdate: [ // ApplicationCredentialList
33
+ * { // ApplicationCredential
34
34
  * DatabaseName: "STRING_VALUE", // required
35
35
  * CredentialType: "STRING_VALUE", // required
36
36
  * SecretId: "STRING_VALUE", // required
@@ -2,23 +2,33 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum ApplicationStatus {
7
- ACTIVATED = "ACTIVATED",
8
- DELETING = "DELETING",
9
- FAILED = "FAILED",
10
- REGISTERING = "REGISTERING",
11
- STARTING = "STARTING",
12
- STOPPED = "STOPPED",
13
- STOPPING = "STOPPING",
14
- UNKNOWN = "UNKNOWN"
15
- }
7
+ export declare const ApplicationStatus: {
8
+ readonly ACTIVATED: "ACTIVATED";
9
+ readonly DELETING: "DELETING";
10
+ readonly FAILED: "FAILED";
11
+ readonly REGISTERING: "REGISTERING";
12
+ readonly STARTING: "STARTING";
13
+ readonly STOPPED: "STOPPED";
14
+ readonly STOPPING: "STOPPING";
15
+ readonly UNKNOWN: "UNKNOWN";
16
+ };
16
17
  /**
17
18
  * @public
18
19
  */
19
- export declare enum ApplicationType {
20
- HANA = "HANA"
21
- }
20
+ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
21
+ /**
22
+ * @public
23
+ * @enum
24
+ */
25
+ export declare const ApplicationType: {
26
+ readonly HANA: "HANA";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type ApplicationType = (typeof ApplicationType)[keyof typeof ApplicationType];
22
32
  /**
23
33
  * @public
24
34
  * <p>An SAP application registered with AWS Systems Manager for SAP.</p>
@@ -59,10 +69,15 @@ export interface Application {
59
69
  }
60
70
  /**
61
71
  * @public
72
+ * @enum
62
73
  */
63
- export declare enum CredentialType {
64
- ADMIN = "ADMIN"
65
- }
74
+ export declare const CredentialType: {
75
+ readonly ADMIN: "ADMIN";
76
+ };
77
+ /**
78
+ * @public
79
+ */
80
+ export type CredentialType = (typeof CredentialType)[keyof typeof CredentialType];
66
81
  /**
67
82
  * @public
68
83
  * <p>The credentials of your SAP application.</p>
@@ -107,19 +122,29 @@ export interface ApplicationSummary {
107
122
  }
108
123
  /**
109
124
  * @public
125
+ * @enum
110
126
  */
111
- export declare enum ComponentType {
112
- HANA = "HANA"
113
- }
127
+ export declare const ComponentType: {
128
+ readonly HANA: "HANA";
129
+ };
114
130
  /**
115
131
  * @public
116
132
  */
117
- export declare enum HostRole {
118
- LEADER = "LEADER",
119
- STANDBY = "STANDBY",
120
- UNKNOWN = "UNKNOWN",
121
- WORKER = "WORKER"
122
- }
133
+ export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
134
+ /**
135
+ * @public
136
+ * @enum
137
+ */
138
+ export declare const HostRole: {
139
+ readonly LEADER: "LEADER";
140
+ readonly STANDBY: "STANDBY";
141
+ readonly UNKNOWN: "UNKNOWN";
142
+ readonly WORKER: "WORKER";
143
+ };
144
+ /**
145
+ * @public
146
+ */
147
+ export type HostRole = (typeof HostRole)[keyof typeof HostRole];
123
148
  /**
124
149
  * @public
125
150
  * <p>Describes the properties of the Dedicated Host. </p>
@@ -144,10 +169,15 @@ export interface Host {
144
169
  }
145
170
  /**
146
171
  * @public
172
+ * @enum
147
173
  */
148
- export declare enum ComponentStatus {
149
- ACTIVATED = "ACTIVATED"
150
- }
174
+ export declare const ComponentStatus: {
175
+ readonly ACTIVATED: "ACTIVATED";
176
+ };
177
+ /**
178
+ * @public
179
+ */
180
+ export type ComponentStatus = (typeof ComponentStatus)[keyof typeof ComponentStatus];
151
181
  /**
152
182
  * @public
153
183
  * <p>The SAP component of your application.</p>
@@ -223,21 +253,31 @@ export declare class ConflictException extends __BaseException {
223
253
  }
224
254
  /**
225
255
  * @public
256
+ * @enum
226
257
  */
227
- export declare enum DatabaseType {
228
- SYSTEM = "SYSTEM",
229
- TENANT = "TENANT"
230
- }
258
+ export declare const DatabaseType: {
259
+ readonly SYSTEM: "SYSTEM";
260
+ readonly TENANT: "TENANT";
261
+ };
231
262
  /**
232
263
  * @public
233
264
  */
234
- export declare enum DatabaseStatus {
235
- RUNNING = "RUNNING",
236
- STARTING = "STARTING",
237
- STOPPED = "STOPPED",
238
- UNKNOWN = "UNKNOWN",
239
- WARNING = "WARNING"
240
- }
265
+ export type DatabaseType = (typeof DatabaseType)[keyof typeof DatabaseType];
266
+ /**
267
+ * @public
268
+ * @enum
269
+ */
270
+ export declare const DatabaseStatus: {
271
+ readonly RUNNING: "RUNNING";
272
+ readonly STARTING: "STARTING";
273
+ readonly STOPPED: "STOPPED";
274
+ readonly UNKNOWN: "UNKNOWN";
275
+ readonly WARNING: "WARNING";
276
+ };
277
+ /**
278
+ * @public
279
+ */
280
+ export type DatabaseStatus = (typeof DatabaseStatus)[keyof typeof DatabaseStatus];
241
281
  /**
242
282
  * @public
243
283
  * <p>The SAP HANA database of the application registered with AWS Systems Manager for
@@ -321,10 +361,15 @@ export interface DatabaseSummary {
321
361
  }
322
362
  /**
323
363
  * @public
364
+ * @enum
324
365
  */
325
- export declare enum PermissionActionType {
326
- RESTORE = "RESTORE"
327
- }
366
+ export declare const PermissionActionType: {
367
+ readonly RESTORE: "RESTORE";
368
+ };
369
+ /**
370
+ * @public
371
+ */
372
+ export type PermissionActionType = (typeof PermissionActionType)[keyof typeof PermissionActionType];
328
373
  /**
329
374
  * @public
330
375
  */
@@ -406,12 +451,17 @@ export interface DeregisterApplicationOutput {
406
451
  }
407
452
  /**
408
453
  * @public
454
+ * @enum
409
455
  */
410
- export declare enum FilterOperator {
411
- EQUALS = "Equals",
412
- GREATER_THAN_OR_EQUALS = "GreaterThanOrEquals",
413
- LESS_THAN_OR_EQUALS = "LessThanOrEquals"
414
- }
456
+ export declare const FilterOperator: {
457
+ readonly EQUALS: "Equals";
458
+ readonly GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals";
459
+ readonly LESS_THAN_OR_EQUALS: "LessThanOrEquals";
460
+ };
461
+ /**
462
+ * @public
463
+ */
464
+ export type FilterOperator = (typeof FilterOperator)[keyof typeof FilterOperator];
415
465
  /**
416
466
  * @public
417
467
  * <p>A specific result obtained by specifying the name, value, and operator. </p>
@@ -531,12 +581,17 @@ export interface GetOperationInput {
531
581
  }
532
582
  /**
533
583
  * @public
584
+ * @enum
534
585
  */
535
- export declare enum OperationStatus {
536
- ERROR = "ERROR",
537
- INPROGRESS = "INPROGRESS",
538
- SUCCESS = "SUCCESS"
539
- }
586
+ export declare const OperationStatus: {
587
+ readonly ERROR: "ERROR";
588
+ readonly INPROGRESS: "INPROGRESS";
589
+ readonly SUCCESS: "SUCCESS";
590
+ };
591
+ /**
592
+ * @public
593
+ */
594
+ export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
540
595
  /**
541
596
  * @public
542
597
  * <p>The operations performed by AWS Systems Manager for SAP.</p>
@@ -1,18 +1,22 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { SsmSapServiceException as __BaseException } from "./SsmSapServiceException";
3
- export declare enum ApplicationStatus {
4
- ACTIVATED = "ACTIVATED",
5
- DELETING = "DELETING",
6
- FAILED = "FAILED",
7
- REGISTERING = "REGISTERING",
8
- STARTING = "STARTING",
9
- STOPPED = "STOPPED",
10
- STOPPING = "STOPPING",
11
- UNKNOWN = "UNKNOWN",
12
- }
13
- export declare enum ApplicationType {
14
- HANA = "HANA",
15
- }
3
+ export declare const ApplicationStatus: {
4
+ readonly ACTIVATED: "ACTIVATED";
5
+ readonly DELETING: "DELETING";
6
+ readonly FAILED: "FAILED";
7
+ readonly REGISTERING: "REGISTERING";
8
+ readonly STARTING: "STARTING";
9
+ readonly STOPPED: "STOPPED";
10
+ readonly STOPPING: "STOPPING";
11
+ readonly UNKNOWN: "UNKNOWN";
12
+ };
13
+ export type ApplicationStatus =
14
+ (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
15
+ export declare const ApplicationType: {
16
+ readonly HANA: "HANA";
17
+ };
18
+ export type ApplicationType =
19
+ (typeof ApplicationType)[keyof typeof ApplicationType];
16
20
  export interface Application {
17
21
  Id?: string;
18
22
  Type?: ApplicationType | string;
@@ -23,9 +27,11 @@ export interface Application {
23
27
  LastUpdated?: Date;
24
28
  StatusMessage?: string;
25
29
  }
26
- export declare enum CredentialType {
27
- ADMIN = "ADMIN",
28
- }
30
+ export declare const CredentialType: {
31
+ readonly ADMIN: "ADMIN";
32
+ };
33
+ export type CredentialType =
34
+ (typeof CredentialType)[keyof typeof CredentialType];
29
35
  export interface ApplicationCredential {
30
36
  DatabaseName: string | undefined;
31
37
  CredentialType: CredentialType | string | undefined;
@@ -37,24 +43,28 @@ export interface ApplicationSummary {
37
43
  Arn?: string;
38
44
  Tags?: Record<string, string>;
39
45
  }
40
- export declare enum ComponentType {
41
- HANA = "HANA",
42
- }
43
- export declare enum HostRole {
44
- LEADER = "LEADER",
45
- STANDBY = "STANDBY",
46
- UNKNOWN = "UNKNOWN",
47
- WORKER = "WORKER",
48
- }
46
+ export declare const ComponentType: {
47
+ readonly HANA: "HANA";
48
+ };
49
+ export type ComponentType = (typeof ComponentType)[keyof typeof ComponentType];
50
+ export declare const HostRole: {
51
+ readonly LEADER: "LEADER";
52
+ readonly STANDBY: "STANDBY";
53
+ readonly UNKNOWN: "UNKNOWN";
54
+ readonly WORKER: "WORKER";
55
+ };
56
+ export type HostRole = (typeof HostRole)[keyof typeof HostRole];
49
57
  export interface Host {
50
58
  HostName?: string;
51
59
  HostRole?: HostRole | string;
52
60
  HostIp?: string;
53
61
  InstanceId?: string;
54
62
  }
55
- export declare enum ComponentStatus {
56
- ACTIVATED = "ACTIVATED",
57
- }
63
+ export declare const ComponentStatus: {
64
+ readonly ACTIVATED: "ACTIVATED";
65
+ };
66
+ export type ComponentStatus =
67
+ (typeof ComponentStatus)[keyof typeof ComponentStatus];
58
68
  export interface Component {
59
69
  ComponentId?: string;
60
70
  ApplicationId?: string;
@@ -77,17 +87,20 @@ export declare class ConflictException extends __BaseException {
77
87
  Message?: string;
78
88
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
79
89
  }
80
- export declare enum DatabaseType {
81
- SYSTEM = "SYSTEM",
82
- TENANT = "TENANT",
83
- }
84
- export declare enum DatabaseStatus {
85
- RUNNING = "RUNNING",
86
- STARTING = "STARTING",
87
- STOPPED = "STOPPED",
88
- UNKNOWN = "UNKNOWN",
89
- WARNING = "WARNING",
90
- }
90
+ export declare const DatabaseType: {
91
+ readonly SYSTEM: "SYSTEM";
92
+ readonly TENANT: "TENANT";
93
+ };
94
+ export type DatabaseType = (typeof DatabaseType)[keyof typeof DatabaseType];
95
+ export declare const DatabaseStatus: {
96
+ readonly RUNNING: "RUNNING";
97
+ readonly STARTING: "STARTING";
98
+ readonly STOPPED: "STOPPED";
99
+ readonly UNKNOWN: "UNKNOWN";
100
+ readonly WARNING: "WARNING";
101
+ };
102
+ export type DatabaseStatus =
103
+ (typeof DatabaseStatus)[keyof typeof DatabaseStatus];
91
104
  export interface Database {
92
105
  ApplicationId?: string;
93
106
  ComponentId?: string;
@@ -109,9 +122,11 @@ export interface DatabaseSummary {
109
122
  Arn?: string;
110
123
  Tags?: Record<string, string>;
111
124
  }
112
- export declare enum PermissionActionType {
113
- RESTORE = "RESTORE",
114
- }
125
+ export declare const PermissionActionType: {
126
+ readonly RESTORE: "RESTORE";
127
+ };
128
+ export type PermissionActionType =
129
+ (typeof PermissionActionType)[keyof typeof PermissionActionType];
115
130
  export interface DeleteResourcePermissionInput {
116
131
  ActionType?: PermissionActionType | string;
117
132
  SourceResourceArn?: string;
@@ -148,11 +163,13 @@ export interface DeregisterApplicationInput {
148
163
  ApplicationId: string | undefined;
149
164
  }
150
165
  export interface DeregisterApplicationOutput {}
151
- export declare enum FilterOperator {
152
- EQUALS = "Equals",
153
- GREATER_THAN_OR_EQUALS = "GreaterThanOrEquals",
154
- LESS_THAN_OR_EQUALS = "LessThanOrEquals",
155
- }
166
+ export declare const FilterOperator: {
167
+ readonly EQUALS: "Equals";
168
+ readonly GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals";
169
+ readonly LESS_THAN_OR_EQUALS: "LessThanOrEquals";
170
+ };
171
+ export type FilterOperator =
172
+ (typeof FilterOperator)[keyof typeof FilterOperator];
156
173
  export interface Filter {
157
174
  Name: string | undefined;
158
175
  Value: string | undefined;
@@ -187,11 +204,13 @@ export interface GetDatabaseOutput {
187
204
  export interface GetOperationInput {
188
205
  OperationId: string | undefined;
189
206
  }
190
- export declare enum OperationStatus {
191
- ERROR = "ERROR",
192
- INPROGRESS = "INPROGRESS",
193
- SUCCESS = "SUCCESS",
194
- }
207
+ export declare const OperationStatus: {
208
+ readonly ERROR: "ERROR";
209
+ readonly INPROGRESS: "INPROGRESS";
210
+ readonly SUCCESS: "SUCCESS";
211
+ };
212
+ export type OperationStatus =
213
+ (typeof OperationStatus)[keyof typeof OperationStatus];
195
214
  export interface Operation {
196
215
  Id?: string;
197
216
  Type?: string;
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.300.0",
4
+ "version": "3.303.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,42 +21,42 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",