@aws-sdk/client-ssm-sap 3.901.0 → 3.907.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1894 -2085
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2134 +1,1943 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
ComponentType: () => ComponentType,
|
|
33
|
-
ConfigurationCheckOperationListingMode: () => ConfigurationCheckOperationListingMode,
|
|
34
|
-
ConfigurationCheckType: () => ConfigurationCheckType,
|
|
35
|
-
ConflictException: () => ConflictException,
|
|
36
|
-
ConnectedEntityType: () => ConnectedEntityType,
|
|
37
|
-
CredentialType: () => CredentialType,
|
|
38
|
-
DatabaseConnectionMethod: () => DatabaseConnectionMethod,
|
|
39
|
-
DatabaseFilterSensitiveLog: () => DatabaseFilterSensitiveLog,
|
|
40
|
-
DatabaseStatus: () => DatabaseStatus,
|
|
41
|
-
DatabaseType: () => DatabaseType,
|
|
42
|
-
DeleteResourcePermissionCommand: () => DeleteResourcePermissionCommand,
|
|
43
|
-
DeregisterApplicationCommand: () => DeregisterApplicationCommand,
|
|
44
|
-
FilterOperator: () => FilterOperator,
|
|
45
|
-
GetApplicationCommand: () => GetApplicationCommand,
|
|
46
|
-
GetComponentCommand: () => GetComponentCommand,
|
|
47
|
-
GetConfigurationCheckOperationCommand: () => GetConfigurationCheckOperationCommand,
|
|
48
|
-
GetDatabaseCommand: () => GetDatabaseCommand,
|
|
49
|
-
GetDatabaseOutputFilterSensitiveLog: () => GetDatabaseOutputFilterSensitiveLog,
|
|
50
|
-
GetOperationCommand: () => GetOperationCommand,
|
|
51
|
-
GetResourcePermissionCommand: () => GetResourcePermissionCommand,
|
|
52
|
-
HostRole: () => HostRole,
|
|
53
|
-
InternalServerException: () => InternalServerException,
|
|
54
|
-
ListApplicationsCommand: () => ListApplicationsCommand,
|
|
55
|
-
ListComponentsCommand: () => ListComponentsCommand,
|
|
56
|
-
ListConfigurationCheckDefinitionsCommand: () => ListConfigurationCheckDefinitionsCommand,
|
|
57
|
-
ListConfigurationCheckOperationsCommand: () => ListConfigurationCheckOperationsCommand,
|
|
58
|
-
ListDatabasesCommand: () => ListDatabasesCommand,
|
|
59
|
-
ListOperationEventsCommand: () => ListOperationEventsCommand,
|
|
60
|
-
ListOperationsCommand: () => ListOperationsCommand,
|
|
61
|
-
ListSubCheckResultsCommand: () => ListSubCheckResultsCommand,
|
|
62
|
-
ListSubCheckRuleResultsCommand: () => ListSubCheckRuleResultsCommand,
|
|
63
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
64
|
-
OperationEventStatus: () => OperationEventStatus,
|
|
65
|
-
OperationMode: () => OperationMode,
|
|
66
|
-
OperationStatus: () => OperationStatus,
|
|
67
|
-
PermissionActionType: () => PermissionActionType,
|
|
68
|
-
PutResourcePermissionCommand: () => PutResourcePermissionCommand,
|
|
69
|
-
RegisterApplicationCommand: () => RegisterApplicationCommand,
|
|
70
|
-
RegisterApplicationInputFilterSensitiveLog: () => RegisterApplicationInputFilterSensitiveLog,
|
|
71
|
-
ReplicationMode: () => ReplicationMode,
|
|
72
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
73
|
-
RuleResultStatus: () => RuleResultStatus,
|
|
74
|
-
SsmSap: () => SsmSap,
|
|
75
|
-
SsmSapClient: () => SsmSapClient,
|
|
76
|
-
SsmSapServiceException: () => SsmSapServiceException,
|
|
77
|
-
StartApplicationCommand: () => StartApplicationCommand,
|
|
78
|
-
StartApplicationRefreshCommand: () => StartApplicationRefreshCommand,
|
|
79
|
-
StartConfigurationChecksCommand: () => StartConfigurationChecksCommand,
|
|
80
|
-
StopApplicationCommand: () => StopApplicationCommand,
|
|
81
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
82
|
-
UnauthorizedException: () => UnauthorizedException,
|
|
83
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
84
|
-
UpdateApplicationSettingsCommand: () => UpdateApplicationSettingsCommand,
|
|
85
|
-
UpdateApplicationSettingsInputFilterSensitiveLog: () => UpdateApplicationSettingsInputFilterSensitiveLog,
|
|
86
|
-
ValidationException: () => ValidationException,
|
|
87
|
-
__Client: () => import_smithy_client.Client,
|
|
88
|
-
paginateListApplications: () => paginateListApplications,
|
|
89
|
-
paginateListComponents: () => paginateListComponents,
|
|
90
|
-
paginateListConfigurationCheckDefinitions: () => paginateListConfigurationCheckDefinitions,
|
|
91
|
-
paginateListConfigurationCheckOperations: () => paginateListConfigurationCheckOperations,
|
|
92
|
-
paginateListDatabases: () => paginateListDatabases,
|
|
93
|
-
paginateListOperationEvents: () => paginateListOperationEvents,
|
|
94
|
-
paginateListOperations: () => paginateListOperations,
|
|
95
|
-
paginateListSubCheckResults: () => paginateListSubCheckResults,
|
|
96
|
-
paginateListSubCheckRuleResults: () => paginateListSubCheckRuleResults
|
|
97
|
-
});
|
|
98
|
-
module.exports = __toCommonJS(index_exports);
|
|
99
|
-
|
|
100
|
-
// src/SsmSapClient.ts
|
|
101
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
102
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
103
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
104
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
105
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
106
|
-
var import_core = require("@smithy/core");
|
|
107
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
108
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
109
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
110
|
-
|
|
111
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
112
|
-
|
|
113
|
-
// src/endpoint/EndpointParameters.ts
|
|
114
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
115
|
-
return Object.assign(options, {
|
|
116
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
117
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
118
|
-
defaultSigningName: "ssm-sap"
|
|
119
|
-
});
|
|
120
|
-
}, "resolveClientEndpointParameters");
|
|
121
|
-
var commonParams = {
|
|
122
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
123
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
124
|
-
Region: { type: "builtInParams", name: "region" },
|
|
125
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "ssm-sap",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
126
32
|
};
|
|
127
33
|
|
|
128
|
-
|
|
129
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
130
72
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
135
78
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
79
|
+
class SsmSapClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSsmSapHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
164
107
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
170
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
171
|
-
credentials: config.credentials()
|
|
172
|
-
};
|
|
173
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
174
112
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
182
|
-
);
|
|
183
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
184
|
-
return Object.assign(
|
|
185
|
-
runtimeConfig,
|
|
186
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
187
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
188
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
189
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
190
|
-
);
|
|
191
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class SsmSapServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, SsmSapServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
192
119
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* The resolved configuration of SsmSapClient class. This is resolved and normalized from the {@link SsmSapClientConfig | constructor configuration interface}.
|
|
200
|
-
*/
|
|
201
|
-
config;
|
|
202
|
-
constructor(...[configuration]) {
|
|
203
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
204
|
-
super(_config_0);
|
|
205
|
-
this.initConfig = _config_0;
|
|
206
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
207
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
208
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
209
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
210
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
211
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
212
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
213
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
214
|
-
this.config = _config_8;
|
|
215
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
216
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
217
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
218
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
219
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
220
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
221
|
-
this.middlewareStack.use(
|
|
222
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
223
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSsmSapHttpAuthSchemeParametersProvider,
|
|
224
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
225
|
-
"aws.auth#sigv4": config.credentials
|
|
226
|
-
}), "identityProviderConfigProvider")
|
|
227
|
-
})
|
|
228
|
-
);
|
|
229
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
233
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
234
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
235
|
-
*/
|
|
236
|
-
destroy() {
|
|
237
|
-
super.destroy();
|
|
238
|
-
}
|
|
120
|
+
const AllocationType = {
|
|
121
|
+
ELASTIC_IP: "ELASTIC_IP",
|
|
122
|
+
OVERLAY: "OVERLAY",
|
|
123
|
+
UNKNOWN: "UNKNOWN",
|
|
124
|
+
VPC_SUBNET: "VPC_SUBNET",
|
|
239
125
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
// src/protocols/Aws_restJson1.ts
|
|
250
|
-
var import_core2 = require("@aws-sdk/core");
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
// src/models/models_0.ts
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
// src/models/SsmSapServiceException.ts
|
|
258
|
-
|
|
259
|
-
var SsmSapServiceException = class _SsmSapServiceException extends import_smithy_client.ServiceException {
|
|
260
|
-
static {
|
|
261
|
-
__name(this, "SsmSapServiceException");
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* @internal
|
|
265
|
-
*/
|
|
266
|
-
constructor(options) {
|
|
267
|
-
super(options);
|
|
268
|
-
Object.setPrototypeOf(this, _SsmSapServiceException.prototype);
|
|
269
|
-
}
|
|
126
|
+
const ApplicationDiscoveryStatus = {
|
|
127
|
+
DELETING: "DELETING",
|
|
128
|
+
REFRESH_FAILED: "REFRESH_FAILED",
|
|
129
|
+
REGISTERING: "REGISTERING",
|
|
130
|
+
REGISTRATION_FAILED: "REGISTRATION_FAILED",
|
|
131
|
+
SUCCESS: "SUCCESS",
|
|
270
132
|
};
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
ALL_OPERATIONS: "ALL_OPERATIONS",
|
|
368
|
-
LATEST_PER_CHECK: "LATEST_PER_CHECK"
|
|
369
|
-
};
|
|
370
|
-
var ConflictException = class _ConflictException extends SsmSapServiceException {
|
|
371
|
-
static {
|
|
372
|
-
__name(this, "ConflictException");
|
|
373
|
-
}
|
|
374
|
-
name = "ConflictException";
|
|
375
|
-
$fault = "client";
|
|
376
|
-
Message;
|
|
377
|
-
/**
|
|
378
|
-
* @internal
|
|
379
|
-
*/
|
|
380
|
-
constructor(opts) {
|
|
381
|
-
super({
|
|
382
|
-
name: "ConflictException",
|
|
383
|
-
$fault: "client",
|
|
384
|
-
...opts
|
|
385
|
-
});
|
|
386
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
387
|
-
this.Message = opts.Message;
|
|
388
|
-
}
|
|
389
|
-
};
|
|
390
|
-
var ConnectedEntityType = {
|
|
391
|
-
DBMS: "DBMS"
|
|
392
|
-
};
|
|
393
|
-
var DatabaseType = {
|
|
394
|
-
SYSTEM: "SYSTEM",
|
|
395
|
-
TENANT: "TENANT"
|
|
396
|
-
};
|
|
397
|
-
var DatabaseStatus = {
|
|
398
|
-
ERROR: "ERROR",
|
|
399
|
-
RUNNING: "RUNNING",
|
|
400
|
-
STARTING: "STARTING",
|
|
401
|
-
STOPPED: "STOPPED",
|
|
402
|
-
UNKNOWN: "UNKNOWN",
|
|
403
|
-
WARNING: "WARNING"
|
|
404
|
-
};
|
|
405
|
-
var PermissionActionType = {
|
|
406
|
-
RESTORE: "RESTORE"
|
|
407
|
-
};
|
|
408
|
-
var InternalServerException = class _InternalServerException extends SsmSapServiceException {
|
|
409
|
-
static {
|
|
410
|
-
__name(this, "InternalServerException");
|
|
411
|
-
}
|
|
412
|
-
name = "InternalServerException";
|
|
413
|
-
$fault = "server";
|
|
414
|
-
Message;
|
|
415
|
-
/**
|
|
416
|
-
* @internal
|
|
417
|
-
*/
|
|
418
|
-
constructor(opts) {
|
|
419
|
-
super({
|
|
420
|
-
name: "InternalServerException",
|
|
421
|
-
$fault: "server",
|
|
422
|
-
...opts
|
|
423
|
-
});
|
|
424
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
425
|
-
this.Message = opts.Message;
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends SsmSapServiceException {
|
|
429
|
-
static {
|
|
430
|
-
__name(this, "ResourceNotFoundException");
|
|
431
|
-
}
|
|
432
|
-
name = "ResourceNotFoundException";
|
|
433
|
-
$fault = "client";
|
|
434
|
-
Message;
|
|
435
|
-
/**
|
|
436
|
-
* @internal
|
|
437
|
-
*/
|
|
438
|
-
constructor(opts) {
|
|
439
|
-
super({
|
|
440
|
-
name: "ResourceNotFoundException",
|
|
441
|
-
$fault: "client",
|
|
442
|
-
...opts
|
|
443
|
-
});
|
|
444
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
445
|
-
this.Message = opts.Message;
|
|
446
|
-
}
|
|
447
|
-
};
|
|
448
|
-
var ValidationException = class _ValidationException extends SsmSapServiceException {
|
|
449
|
-
static {
|
|
450
|
-
__name(this, "ValidationException");
|
|
451
|
-
}
|
|
452
|
-
name = "ValidationException";
|
|
453
|
-
$fault = "client";
|
|
454
|
-
Message;
|
|
455
|
-
/**
|
|
456
|
-
* @internal
|
|
457
|
-
*/
|
|
458
|
-
constructor(opts) {
|
|
459
|
-
super({
|
|
460
|
-
name: "ValidationException",
|
|
461
|
-
$fault: "client",
|
|
462
|
-
...opts
|
|
463
|
-
});
|
|
464
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
465
|
-
this.Message = opts.Message;
|
|
466
|
-
}
|
|
467
|
-
};
|
|
468
|
-
var UnauthorizedException = class _UnauthorizedException extends SsmSapServiceException {
|
|
469
|
-
static {
|
|
470
|
-
__name(this, "UnauthorizedException");
|
|
471
|
-
}
|
|
472
|
-
name = "UnauthorizedException";
|
|
473
|
-
$fault = "client";
|
|
474
|
-
Message;
|
|
475
|
-
/**
|
|
476
|
-
* @internal
|
|
477
|
-
*/
|
|
478
|
-
constructor(opts) {
|
|
479
|
-
super({
|
|
480
|
-
name: "UnauthorizedException",
|
|
481
|
-
$fault: "client",
|
|
482
|
-
...opts
|
|
483
|
-
});
|
|
484
|
-
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
485
|
-
this.Message = opts.Message;
|
|
486
|
-
}
|
|
487
|
-
};
|
|
488
|
-
var FilterOperator = {
|
|
489
|
-
EQUALS: "Equals",
|
|
490
|
-
GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
|
|
491
|
-
LESS_THAN_OR_EQUALS: "LessThanOrEquals"
|
|
492
|
-
};
|
|
493
|
-
var OperationEventStatus = {
|
|
494
|
-
COMPLETED: "COMPLETED",
|
|
495
|
-
FAILED: "FAILED",
|
|
496
|
-
IN_PROGRESS: "IN_PROGRESS"
|
|
497
|
-
};
|
|
498
|
-
var RuleResultStatus = {
|
|
499
|
-
FAILED: "FAILED",
|
|
500
|
-
INFO: "INFO",
|
|
501
|
-
PASSED: "PASSED",
|
|
502
|
-
UNKNOWN: "UNKNOWN",
|
|
503
|
-
WARNING: "WARNING"
|
|
504
|
-
};
|
|
505
|
-
var ApplicationCredentialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
506
|
-
...obj,
|
|
507
|
-
...obj.SecretId && { SecretId: import_smithy_client.SENSITIVE_STRING }
|
|
508
|
-
}), "ApplicationCredentialFilterSensitiveLog");
|
|
509
|
-
var DatabaseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
510
|
-
...obj,
|
|
511
|
-
...obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }
|
|
512
|
-
}), "DatabaseFilterSensitiveLog");
|
|
513
|
-
var GetDatabaseOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
514
|
-
...obj,
|
|
515
|
-
...obj.Database && { Database: DatabaseFilterSensitiveLog(obj.Database) }
|
|
516
|
-
}), "GetDatabaseOutputFilterSensitiveLog");
|
|
517
|
-
var RegisterApplicationInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
518
|
-
...obj,
|
|
519
|
-
...obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }
|
|
520
|
-
}), "RegisterApplicationInputFilterSensitiveLog");
|
|
521
|
-
var UpdateApplicationSettingsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
522
|
-
...obj,
|
|
523
|
-
...obj.CredentialsToAddOrUpdate && {
|
|
524
|
-
CredentialsToAddOrUpdate: obj.CredentialsToAddOrUpdate.map((item) => ApplicationCredentialFilterSensitiveLog(item))
|
|
525
|
-
},
|
|
526
|
-
...obj.CredentialsToRemove && {
|
|
527
|
-
CredentialsToRemove: obj.CredentialsToRemove.map((item) => ApplicationCredentialFilterSensitiveLog(item))
|
|
528
|
-
}
|
|
529
|
-
}), "UpdateApplicationSettingsInputFilterSensitiveLog");
|
|
530
|
-
|
|
531
|
-
// src/protocols/Aws_restJson1.ts
|
|
532
|
-
var se_DeleteResourcePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
533
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
534
|
-
const headers = {
|
|
535
|
-
"content-type": "application/json"
|
|
536
|
-
};
|
|
537
|
-
b.bp("/delete-resource-permission");
|
|
538
|
-
let body;
|
|
539
|
-
body = JSON.stringify(
|
|
540
|
-
(0, import_smithy_client.take)(input, {
|
|
541
|
-
ActionType: [],
|
|
542
|
-
ResourceArn: [],
|
|
543
|
-
SourceResourceArn: []
|
|
544
|
-
})
|
|
545
|
-
);
|
|
546
|
-
b.m("POST").h(headers).b(body);
|
|
547
|
-
return b.build();
|
|
548
|
-
}, "se_DeleteResourcePermissionCommand");
|
|
549
|
-
var se_DeregisterApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
550
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
551
|
-
const headers = {
|
|
552
|
-
"content-type": "application/json"
|
|
553
|
-
};
|
|
554
|
-
b.bp("/deregister-application");
|
|
555
|
-
let body;
|
|
556
|
-
body = JSON.stringify(
|
|
557
|
-
(0, import_smithy_client.take)(input, {
|
|
558
|
-
ApplicationId: []
|
|
559
|
-
})
|
|
560
|
-
);
|
|
561
|
-
b.m("POST").h(headers).b(body);
|
|
562
|
-
return b.build();
|
|
563
|
-
}, "se_DeregisterApplicationCommand");
|
|
564
|
-
var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
565
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
566
|
-
const headers = {
|
|
567
|
-
"content-type": "application/json"
|
|
568
|
-
};
|
|
569
|
-
b.bp("/get-application");
|
|
570
|
-
let body;
|
|
571
|
-
body = JSON.stringify(
|
|
572
|
-
(0, import_smithy_client.take)(input, {
|
|
573
|
-
AppRegistryArn: [],
|
|
574
|
-
ApplicationArn: [],
|
|
575
|
-
ApplicationId: []
|
|
576
|
-
})
|
|
577
|
-
);
|
|
578
|
-
b.m("POST").h(headers).b(body);
|
|
579
|
-
return b.build();
|
|
580
|
-
}, "se_GetApplicationCommand");
|
|
581
|
-
var se_GetComponentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
582
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
583
|
-
const headers = {
|
|
584
|
-
"content-type": "application/json"
|
|
585
|
-
};
|
|
586
|
-
b.bp("/get-component");
|
|
587
|
-
let body;
|
|
588
|
-
body = JSON.stringify(
|
|
589
|
-
(0, import_smithy_client.take)(input, {
|
|
590
|
-
ApplicationId: [],
|
|
591
|
-
ComponentId: []
|
|
592
|
-
})
|
|
593
|
-
);
|
|
594
|
-
b.m("POST").h(headers).b(body);
|
|
595
|
-
return b.build();
|
|
596
|
-
}, "se_GetComponentCommand");
|
|
597
|
-
var se_GetConfigurationCheckOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
598
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
599
|
-
const headers = {
|
|
600
|
-
"content-type": "application/json"
|
|
601
|
-
};
|
|
602
|
-
b.bp("/get-configuration-check-operation");
|
|
603
|
-
let body;
|
|
604
|
-
body = JSON.stringify(
|
|
605
|
-
(0, import_smithy_client.take)(input, {
|
|
606
|
-
OperationId: []
|
|
607
|
-
})
|
|
608
|
-
);
|
|
609
|
-
b.m("POST").h(headers).b(body);
|
|
610
|
-
return b.build();
|
|
611
|
-
}, "se_GetConfigurationCheckOperationCommand");
|
|
612
|
-
var se_GetDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
613
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
614
|
-
const headers = {
|
|
615
|
-
"content-type": "application/json"
|
|
616
|
-
};
|
|
617
|
-
b.bp("/get-database");
|
|
618
|
-
let body;
|
|
619
|
-
body = JSON.stringify(
|
|
620
|
-
(0, import_smithy_client.take)(input, {
|
|
621
|
-
ApplicationId: [],
|
|
622
|
-
ComponentId: [],
|
|
623
|
-
DatabaseArn: [],
|
|
624
|
-
DatabaseId: []
|
|
625
|
-
})
|
|
626
|
-
);
|
|
627
|
-
b.m("POST").h(headers).b(body);
|
|
628
|
-
return b.build();
|
|
629
|
-
}, "se_GetDatabaseCommand");
|
|
630
|
-
var se_GetOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
631
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
632
|
-
const headers = {
|
|
633
|
-
"content-type": "application/json"
|
|
634
|
-
};
|
|
635
|
-
b.bp("/get-operation");
|
|
636
|
-
let body;
|
|
637
|
-
body = JSON.stringify(
|
|
638
|
-
(0, import_smithy_client.take)(input, {
|
|
639
|
-
OperationId: []
|
|
640
|
-
})
|
|
641
|
-
);
|
|
642
|
-
b.m("POST").h(headers).b(body);
|
|
643
|
-
return b.build();
|
|
644
|
-
}, "se_GetOperationCommand");
|
|
645
|
-
var se_GetResourcePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
646
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
647
|
-
const headers = {
|
|
648
|
-
"content-type": "application/json"
|
|
649
|
-
};
|
|
650
|
-
b.bp("/get-resource-permission");
|
|
651
|
-
let body;
|
|
652
|
-
body = JSON.stringify(
|
|
653
|
-
(0, import_smithy_client.take)(input, {
|
|
654
|
-
ActionType: [],
|
|
655
|
-
ResourceArn: []
|
|
656
|
-
})
|
|
657
|
-
);
|
|
658
|
-
b.m("POST").h(headers).b(body);
|
|
659
|
-
return b.build();
|
|
660
|
-
}, "se_GetResourcePermissionCommand");
|
|
661
|
-
var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
662
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
663
|
-
const headers = {
|
|
664
|
-
"content-type": "application/json"
|
|
665
|
-
};
|
|
666
|
-
b.bp("/list-applications");
|
|
667
|
-
let body;
|
|
668
|
-
body = JSON.stringify(
|
|
669
|
-
(0, import_smithy_client.take)(input, {
|
|
670
|
-
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
671
|
-
MaxResults: [],
|
|
672
|
-
NextToken: []
|
|
673
|
-
})
|
|
674
|
-
);
|
|
675
|
-
b.m("POST").h(headers).b(body);
|
|
676
|
-
return b.build();
|
|
677
|
-
}, "se_ListApplicationsCommand");
|
|
678
|
-
var se_ListComponentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
679
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
680
|
-
const headers = {
|
|
681
|
-
"content-type": "application/json"
|
|
682
|
-
};
|
|
683
|
-
b.bp("/list-components");
|
|
684
|
-
let body;
|
|
685
|
-
body = JSON.stringify(
|
|
686
|
-
(0, import_smithy_client.take)(input, {
|
|
687
|
-
ApplicationId: [],
|
|
688
|
-
MaxResults: [],
|
|
689
|
-
NextToken: []
|
|
690
|
-
})
|
|
691
|
-
);
|
|
692
|
-
b.m("POST").h(headers).b(body);
|
|
693
|
-
return b.build();
|
|
694
|
-
}, "se_ListComponentsCommand");
|
|
695
|
-
var se_ListConfigurationCheckDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
696
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
697
|
-
const headers = {
|
|
698
|
-
"content-type": "application/json"
|
|
699
|
-
};
|
|
700
|
-
b.bp("/list-configuration-check-definitions");
|
|
701
|
-
let body;
|
|
702
|
-
body = JSON.stringify(
|
|
703
|
-
(0, import_smithy_client.take)(input, {
|
|
704
|
-
MaxResults: [],
|
|
705
|
-
NextToken: []
|
|
706
|
-
})
|
|
707
|
-
);
|
|
708
|
-
b.m("POST").h(headers).b(body);
|
|
709
|
-
return b.build();
|
|
710
|
-
}, "se_ListConfigurationCheckDefinitionsCommand");
|
|
711
|
-
var se_ListConfigurationCheckOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
712
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
713
|
-
const headers = {
|
|
714
|
-
"content-type": "application/json"
|
|
715
|
-
};
|
|
716
|
-
b.bp("/list-configuration-check-operations");
|
|
717
|
-
let body;
|
|
718
|
-
body = JSON.stringify(
|
|
719
|
-
(0, import_smithy_client.take)(input, {
|
|
720
|
-
ApplicationId: [],
|
|
721
|
-
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
722
|
-
ListMode: [],
|
|
723
|
-
MaxResults: [],
|
|
724
|
-
NextToken: []
|
|
725
|
-
})
|
|
726
|
-
);
|
|
727
|
-
b.m("POST").h(headers).b(body);
|
|
728
|
-
return b.build();
|
|
729
|
-
}, "se_ListConfigurationCheckOperationsCommand");
|
|
730
|
-
var se_ListDatabasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
731
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
732
|
-
const headers = {
|
|
733
|
-
"content-type": "application/json"
|
|
734
|
-
};
|
|
735
|
-
b.bp("/list-databases");
|
|
736
|
-
let body;
|
|
737
|
-
body = JSON.stringify(
|
|
738
|
-
(0, import_smithy_client.take)(input, {
|
|
739
|
-
ApplicationId: [],
|
|
740
|
-
ComponentId: [],
|
|
741
|
-
MaxResults: [],
|
|
742
|
-
NextToken: []
|
|
743
|
-
})
|
|
744
|
-
);
|
|
745
|
-
b.m("POST").h(headers).b(body);
|
|
746
|
-
return b.build();
|
|
747
|
-
}, "se_ListDatabasesCommand");
|
|
748
|
-
var se_ListOperationEventsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
749
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
750
|
-
const headers = {
|
|
751
|
-
"content-type": "application/json"
|
|
752
|
-
};
|
|
753
|
-
b.bp("/list-operation-events");
|
|
754
|
-
let body;
|
|
755
|
-
body = JSON.stringify(
|
|
756
|
-
(0, import_smithy_client.take)(input, {
|
|
757
|
-
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
758
|
-
MaxResults: [],
|
|
759
|
-
NextToken: [],
|
|
760
|
-
OperationId: []
|
|
761
|
-
})
|
|
762
|
-
);
|
|
763
|
-
b.m("POST").h(headers).b(body);
|
|
764
|
-
return b.build();
|
|
765
|
-
}, "se_ListOperationEventsCommand");
|
|
766
|
-
var se_ListOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
767
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
768
|
-
const headers = {
|
|
769
|
-
"content-type": "application/json"
|
|
770
|
-
};
|
|
771
|
-
b.bp("/list-operations");
|
|
772
|
-
let body;
|
|
773
|
-
body = JSON.stringify(
|
|
774
|
-
(0, import_smithy_client.take)(input, {
|
|
775
|
-
ApplicationId: [],
|
|
776
|
-
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
777
|
-
MaxResults: [],
|
|
778
|
-
NextToken: []
|
|
779
|
-
})
|
|
780
|
-
);
|
|
781
|
-
b.m("POST").h(headers).b(body);
|
|
782
|
-
return b.build();
|
|
783
|
-
}, "se_ListOperationsCommand");
|
|
784
|
-
var se_ListSubCheckResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
785
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
786
|
-
const headers = {
|
|
787
|
-
"content-type": "application/json"
|
|
788
|
-
};
|
|
789
|
-
b.bp("/list-sub-check-results");
|
|
790
|
-
let body;
|
|
791
|
-
body = JSON.stringify(
|
|
792
|
-
(0, import_smithy_client.take)(input, {
|
|
793
|
-
MaxResults: [],
|
|
794
|
-
NextToken: [],
|
|
795
|
-
OperationId: []
|
|
796
|
-
})
|
|
797
|
-
);
|
|
798
|
-
b.m("POST").h(headers).b(body);
|
|
799
|
-
return b.build();
|
|
800
|
-
}, "se_ListSubCheckResultsCommand");
|
|
801
|
-
var se_ListSubCheckRuleResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
802
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
803
|
-
const headers = {
|
|
804
|
-
"content-type": "application/json"
|
|
805
|
-
};
|
|
806
|
-
b.bp("/list-sub-check-rule-results");
|
|
807
|
-
let body;
|
|
808
|
-
body = JSON.stringify(
|
|
809
|
-
(0, import_smithy_client.take)(input, {
|
|
810
|
-
MaxResults: [],
|
|
811
|
-
NextToken: [],
|
|
812
|
-
SubCheckResultId: []
|
|
813
|
-
})
|
|
814
|
-
);
|
|
815
|
-
b.m("POST").h(headers).b(body);
|
|
816
|
-
return b.build();
|
|
817
|
-
}, "se_ListSubCheckRuleResultsCommand");
|
|
818
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
819
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
820
|
-
const headers = {};
|
|
821
|
-
b.bp("/tags/{resourceArn}");
|
|
822
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
823
|
-
let body;
|
|
824
|
-
b.m("GET").h(headers).b(body);
|
|
825
|
-
return b.build();
|
|
826
|
-
}, "se_ListTagsForResourceCommand");
|
|
827
|
-
var se_PutResourcePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
828
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
829
|
-
const headers = {
|
|
830
|
-
"content-type": "application/json"
|
|
831
|
-
};
|
|
832
|
-
b.bp("/put-resource-permission");
|
|
833
|
-
let body;
|
|
834
|
-
body = JSON.stringify(
|
|
835
|
-
(0, import_smithy_client.take)(input, {
|
|
836
|
-
ActionType: [],
|
|
837
|
-
ResourceArn: [],
|
|
838
|
-
SourceResourceArn: []
|
|
839
|
-
})
|
|
840
|
-
);
|
|
841
|
-
b.m("POST").h(headers).b(body);
|
|
842
|
-
return b.build();
|
|
843
|
-
}, "se_PutResourcePermissionCommand");
|
|
844
|
-
var se_RegisterApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
845
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
846
|
-
const headers = {
|
|
847
|
-
"content-type": "application/json"
|
|
848
|
-
};
|
|
849
|
-
b.bp("/register-application");
|
|
850
|
-
let body;
|
|
851
|
-
body = JSON.stringify(
|
|
852
|
-
(0, import_smithy_client.take)(input, {
|
|
853
|
-
ApplicationId: [],
|
|
854
|
-
ApplicationType: [],
|
|
855
|
-
ComponentsInfo: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ComponentsInfo"),
|
|
856
|
-
Credentials: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Credentials"),
|
|
857
|
-
DatabaseArn: [],
|
|
858
|
-
Instances: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Instances"),
|
|
859
|
-
SapInstanceNumber: [],
|
|
860
|
-
Sid: [],
|
|
861
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
862
|
-
})
|
|
863
|
-
);
|
|
864
|
-
b.m("POST").h(headers).b(body);
|
|
865
|
-
return b.build();
|
|
866
|
-
}, "se_RegisterApplicationCommand");
|
|
867
|
-
var se_StartApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
868
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
869
|
-
const headers = {
|
|
870
|
-
"content-type": "application/json"
|
|
871
|
-
};
|
|
872
|
-
b.bp("/start-application");
|
|
873
|
-
let body;
|
|
874
|
-
body = JSON.stringify(
|
|
875
|
-
(0, import_smithy_client.take)(input, {
|
|
876
|
-
ApplicationId: []
|
|
877
|
-
})
|
|
878
|
-
);
|
|
879
|
-
b.m("POST").h(headers).b(body);
|
|
880
|
-
return b.build();
|
|
881
|
-
}, "se_StartApplicationCommand");
|
|
882
|
-
var se_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
883
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
884
|
-
const headers = {
|
|
885
|
-
"content-type": "application/json"
|
|
886
|
-
};
|
|
887
|
-
b.bp("/start-application-refresh");
|
|
888
|
-
let body;
|
|
889
|
-
body = JSON.stringify(
|
|
890
|
-
(0, import_smithy_client.take)(input, {
|
|
891
|
-
ApplicationId: []
|
|
892
|
-
})
|
|
893
|
-
);
|
|
894
|
-
b.m("POST").h(headers).b(body);
|
|
895
|
-
return b.build();
|
|
896
|
-
}, "se_StartApplicationRefreshCommand");
|
|
897
|
-
var se_StartConfigurationChecksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
898
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
899
|
-
const headers = {
|
|
900
|
-
"content-type": "application/json"
|
|
901
|
-
};
|
|
902
|
-
b.bp("/start-configuration-checks");
|
|
903
|
-
let body;
|
|
904
|
-
body = JSON.stringify(
|
|
905
|
-
(0, import_smithy_client.take)(input, {
|
|
906
|
-
ApplicationId: [],
|
|
907
|
-
ConfigurationCheckIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ConfigurationCheckIds")
|
|
908
|
-
})
|
|
909
|
-
);
|
|
910
|
-
b.m("POST").h(headers).b(body);
|
|
911
|
-
return b.build();
|
|
912
|
-
}, "se_StartConfigurationChecksCommand");
|
|
913
|
-
var se_StopApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
914
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
915
|
-
const headers = {
|
|
916
|
-
"content-type": "application/json"
|
|
917
|
-
};
|
|
918
|
-
b.bp("/stop-application");
|
|
919
|
-
let body;
|
|
920
|
-
body = JSON.stringify(
|
|
921
|
-
(0, import_smithy_client.take)(input, {
|
|
922
|
-
ApplicationId: [],
|
|
923
|
-
IncludeEc2InstanceShutdown: [],
|
|
924
|
-
StopConnectedEntity: []
|
|
925
|
-
})
|
|
926
|
-
);
|
|
927
|
-
b.m("POST").h(headers).b(body);
|
|
928
|
-
return b.build();
|
|
929
|
-
}, "se_StopApplicationCommand");
|
|
930
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
931
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
932
|
-
const headers = {
|
|
933
|
-
"content-type": "application/json"
|
|
934
|
-
};
|
|
935
|
-
b.bp("/tags/{resourceArn}");
|
|
936
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
937
|
-
let body;
|
|
938
|
-
body = JSON.stringify(
|
|
939
|
-
(0, import_smithy_client.take)(input, {
|
|
940
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
941
|
-
})
|
|
942
|
-
);
|
|
943
|
-
b.m("POST").h(headers).b(body);
|
|
944
|
-
return b.build();
|
|
945
|
-
}, "se_TagResourceCommand");
|
|
946
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
947
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
948
|
-
const headers = {};
|
|
949
|
-
b.bp("/tags/{resourceArn}");
|
|
950
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
951
|
-
const query = (0, import_smithy_client.map)({
|
|
952
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
953
|
-
});
|
|
954
|
-
let body;
|
|
955
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
956
|
-
return b.build();
|
|
957
|
-
}, "se_UntagResourceCommand");
|
|
958
|
-
var se_UpdateApplicationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
959
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
960
|
-
const headers = {
|
|
961
|
-
"content-type": "application/json"
|
|
962
|
-
};
|
|
963
|
-
b.bp("/update-application-settings");
|
|
964
|
-
let body;
|
|
965
|
-
body = JSON.stringify(
|
|
966
|
-
(0, import_smithy_client.take)(input, {
|
|
967
|
-
ApplicationId: [],
|
|
968
|
-
Backint: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Backint"),
|
|
969
|
-
CredentialsToAddOrUpdate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CredentialsToAddOrUpdate"),
|
|
970
|
-
CredentialsToRemove: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CredentialsToRemove"),
|
|
971
|
-
DatabaseArn: []
|
|
972
|
-
})
|
|
973
|
-
);
|
|
974
|
-
b.m("POST").h(headers).b(body);
|
|
975
|
-
return b.build();
|
|
976
|
-
}, "se_UpdateApplicationSettingsCommand");
|
|
977
|
-
var de_DeleteResourcePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
978
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
979
|
-
return de_CommandError(output, context);
|
|
980
|
-
}
|
|
981
|
-
const contents = (0, import_smithy_client.map)({
|
|
982
|
-
$metadata: deserializeMetadata(output)
|
|
983
|
-
});
|
|
984
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
985
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
986
|
-
Policy: import_smithy_client.expectString
|
|
987
|
-
});
|
|
988
|
-
Object.assign(contents, doc);
|
|
989
|
-
return contents;
|
|
990
|
-
}, "de_DeleteResourcePermissionCommand");
|
|
991
|
-
var de_DeregisterApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
993
|
-
return de_CommandError(output, context);
|
|
994
|
-
}
|
|
995
|
-
const contents = (0, import_smithy_client.map)({
|
|
996
|
-
$metadata: deserializeMetadata(output)
|
|
997
|
-
});
|
|
998
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
999
|
-
return contents;
|
|
1000
|
-
}, "de_DeregisterApplicationCommand");
|
|
1001
|
-
var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1002
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1003
|
-
return de_CommandError(output, context);
|
|
1004
|
-
}
|
|
1005
|
-
const contents = (0, import_smithy_client.map)({
|
|
1006
|
-
$metadata: deserializeMetadata(output)
|
|
1007
|
-
});
|
|
1008
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1009
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1010
|
-
Application: /* @__PURE__ */ __name((_) => de_Application(_, context), "Application"),
|
|
1011
|
-
Tags: import_smithy_client._json
|
|
1012
|
-
});
|
|
1013
|
-
Object.assign(contents, doc);
|
|
1014
|
-
return contents;
|
|
1015
|
-
}, "de_GetApplicationCommand");
|
|
1016
|
-
var de_GetComponentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1017
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1018
|
-
return de_CommandError(output, context);
|
|
1019
|
-
}
|
|
1020
|
-
const contents = (0, import_smithy_client.map)({
|
|
1021
|
-
$metadata: deserializeMetadata(output)
|
|
1022
|
-
});
|
|
1023
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1024
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1025
|
-
Component: /* @__PURE__ */ __name((_) => de_Component(_, context), "Component"),
|
|
1026
|
-
Tags: import_smithy_client._json
|
|
1027
|
-
});
|
|
1028
|
-
Object.assign(contents, doc);
|
|
1029
|
-
return contents;
|
|
1030
|
-
}, "de_GetComponentCommand");
|
|
1031
|
-
var de_GetConfigurationCheckOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1032
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1033
|
-
return de_CommandError(output, context);
|
|
1034
|
-
}
|
|
1035
|
-
const contents = (0, import_smithy_client.map)({
|
|
1036
|
-
$metadata: deserializeMetadata(output)
|
|
1037
|
-
});
|
|
1038
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1039
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1040
|
-
ConfigurationCheckOperation: /* @__PURE__ */ __name((_) => de_ConfigurationCheckOperation(_, context), "ConfigurationCheckOperation")
|
|
1041
|
-
});
|
|
1042
|
-
Object.assign(contents, doc);
|
|
1043
|
-
return contents;
|
|
1044
|
-
}, "de_GetConfigurationCheckOperationCommand");
|
|
1045
|
-
var de_GetDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1046
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1047
|
-
return de_CommandError(output, context);
|
|
1048
|
-
}
|
|
1049
|
-
const contents = (0, import_smithy_client.map)({
|
|
1050
|
-
$metadata: deserializeMetadata(output)
|
|
1051
|
-
});
|
|
1052
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1053
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1054
|
-
Database: /* @__PURE__ */ __name((_) => de_Database(_, context), "Database"),
|
|
1055
|
-
Tags: import_smithy_client._json
|
|
1056
|
-
});
|
|
1057
|
-
Object.assign(contents, doc);
|
|
1058
|
-
return contents;
|
|
1059
|
-
}, "de_GetDatabaseCommand");
|
|
1060
|
-
var de_GetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1061
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1062
|
-
return de_CommandError(output, context);
|
|
1063
|
-
}
|
|
1064
|
-
const contents = (0, import_smithy_client.map)({
|
|
1065
|
-
$metadata: deserializeMetadata(output)
|
|
1066
|
-
});
|
|
1067
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1068
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1069
|
-
Operation: /* @__PURE__ */ __name((_) => de_Operation(_, context), "Operation")
|
|
1070
|
-
});
|
|
1071
|
-
Object.assign(contents, doc);
|
|
1072
|
-
return contents;
|
|
1073
|
-
}, "de_GetOperationCommand");
|
|
1074
|
-
var de_GetResourcePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1075
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1076
|
-
return de_CommandError(output, context);
|
|
1077
|
-
}
|
|
1078
|
-
const contents = (0, import_smithy_client.map)({
|
|
1079
|
-
$metadata: deserializeMetadata(output)
|
|
1080
|
-
});
|
|
1081
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1082
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1083
|
-
Policy: import_smithy_client.expectString
|
|
1084
|
-
});
|
|
1085
|
-
Object.assign(contents, doc);
|
|
1086
|
-
return contents;
|
|
1087
|
-
}, "de_GetResourcePermissionCommand");
|
|
1088
|
-
var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1089
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1090
|
-
return de_CommandError(output, context);
|
|
1091
|
-
}
|
|
1092
|
-
const contents = (0, import_smithy_client.map)({
|
|
1093
|
-
$metadata: deserializeMetadata(output)
|
|
1094
|
-
});
|
|
1095
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1096
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1097
|
-
Applications: import_smithy_client._json,
|
|
1098
|
-
NextToken: import_smithy_client.expectString
|
|
1099
|
-
});
|
|
1100
|
-
Object.assign(contents, doc);
|
|
1101
|
-
return contents;
|
|
1102
|
-
}, "de_ListApplicationsCommand");
|
|
1103
|
-
var de_ListComponentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1104
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1105
|
-
return de_CommandError(output, context);
|
|
1106
|
-
}
|
|
1107
|
-
const contents = (0, import_smithy_client.map)({
|
|
1108
|
-
$metadata: deserializeMetadata(output)
|
|
1109
|
-
});
|
|
1110
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1111
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1112
|
-
Components: import_smithy_client._json,
|
|
1113
|
-
NextToken: import_smithy_client.expectString
|
|
1114
|
-
});
|
|
1115
|
-
Object.assign(contents, doc);
|
|
1116
|
-
return contents;
|
|
1117
|
-
}, "de_ListComponentsCommand");
|
|
1118
|
-
var de_ListConfigurationCheckDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1119
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1120
|
-
return de_CommandError(output, context);
|
|
1121
|
-
}
|
|
1122
|
-
const contents = (0, import_smithy_client.map)({
|
|
1123
|
-
$metadata: deserializeMetadata(output)
|
|
1124
|
-
});
|
|
1125
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1126
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1127
|
-
ConfigurationChecks: import_smithy_client._json,
|
|
1128
|
-
NextToken: import_smithy_client.expectString
|
|
1129
|
-
});
|
|
1130
|
-
Object.assign(contents, doc);
|
|
1131
|
-
return contents;
|
|
1132
|
-
}, "de_ListConfigurationCheckDefinitionsCommand");
|
|
1133
|
-
var de_ListConfigurationCheckOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1134
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1135
|
-
return de_CommandError(output, context);
|
|
1136
|
-
}
|
|
1137
|
-
const contents = (0, import_smithy_client.map)({
|
|
1138
|
-
$metadata: deserializeMetadata(output)
|
|
1139
|
-
});
|
|
1140
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1141
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1142
|
-
ConfigurationCheckOperations: /* @__PURE__ */ __name((_) => de_ConfigurationCheckOperationList(_, context), "ConfigurationCheckOperations"),
|
|
1143
|
-
NextToken: import_smithy_client.expectString
|
|
1144
|
-
});
|
|
1145
|
-
Object.assign(contents, doc);
|
|
1146
|
-
return contents;
|
|
1147
|
-
}, "de_ListConfigurationCheckOperationsCommand");
|
|
1148
|
-
var de_ListDatabasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1149
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1150
|
-
return de_CommandError(output, context);
|
|
1151
|
-
}
|
|
1152
|
-
const contents = (0, import_smithy_client.map)({
|
|
1153
|
-
$metadata: deserializeMetadata(output)
|
|
1154
|
-
});
|
|
1155
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1156
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1157
|
-
Databases: import_smithy_client._json,
|
|
1158
|
-
NextToken: import_smithy_client.expectString
|
|
1159
|
-
});
|
|
1160
|
-
Object.assign(contents, doc);
|
|
1161
|
-
return contents;
|
|
1162
|
-
}, "de_ListDatabasesCommand");
|
|
1163
|
-
var de_ListOperationEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1164
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1165
|
-
return de_CommandError(output, context);
|
|
1166
|
-
}
|
|
1167
|
-
const contents = (0, import_smithy_client.map)({
|
|
1168
|
-
$metadata: deserializeMetadata(output)
|
|
1169
|
-
});
|
|
1170
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1171
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1172
|
-
NextToken: import_smithy_client.expectString,
|
|
1173
|
-
OperationEvents: /* @__PURE__ */ __name((_) => de_OperationEventList(_, context), "OperationEvents")
|
|
1174
|
-
});
|
|
1175
|
-
Object.assign(contents, doc);
|
|
1176
|
-
return contents;
|
|
1177
|
-
}, "de_ListOperationEventsCommand");
|
|
1178
|
-
var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1179
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1180
|
-
return de_CommandError(output, context);
|
|
1181
|
-
}
|
|
1182
|
-
const contents = (0, import_smithy_client.map)({
|
|
1183
|
-
$metadata: deserializeMetadata(output)
|
|
1184
|
-
});
|
|
1185
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1186
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1187
|
-
NextToken: import_smithy_client.expectString,
|
|
1188
|
-
Operations: /* @__PURE__ */ __name((_) => de_OperationList(_, context), "Operations")
|
|
1189
|
-
});
|
|
1190
|
-
Object.assign(contents, doc);
|
|
1191
|
-
return contents;
|
|
1192
|
-
}, "de_ListOperationsCommand");
|
|
1193
|
-
var de_ListSubCheckResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1194
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1195
|
-
return de_CommandError(output, context);
|
|
1196
|
-
}
|
|
1197
|
-
const contents = (0, import_smithy_client.map)({
|
|
1198
|
-
$metadata: deserializeMetadata(output)
|
|
1199
|
-
});
|
|
1200
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1201
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1202
|
-
NextToken: import_smithy_client.expectString,
|
|
1203
|
-
SubCheckResults: import_smithy_client._json
|
|
1204
|
-
});
|
|
1205
|
-
Object.assign(contents, doc);
|
|
1206
|
-
return contents;
|
|
1207
|
-
}, "de_ListSubCheckResultsCommand");
|
|
1208
|
-
var de_ListSubCheckRuleResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1210
|
-
return de_CommandError(output, context);
|
|
1211
|
-
}
|
|
1212
|
-
const contents = (0, import_smithy_client.map)({
|
|
1213
|
-
$metadata: deserializeMetadata(output)
|
|
1214
|
-
});
|
|
1215
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1216
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1217
|
-
NextToken: import_smithy_client.expectString,
|
|
1218
|
-
RuleResults: import_smithy_client._json
|
|
1219
|
-
});
|
|
1220
|
-
Object.assign(contents, doc);
|
|
1221
|
-
return contents;
|
|
1222
|
-
}, "de_ListSubCheckRuleResultsCommand");
|
|
1223
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1224
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
|
-
return de_CommandError(output, context);
|
|
1226
|
-
}
|
|
1227
|
-
const contents = (0, import_smithy_client.map)({
|
|
1228
|
-
$metadata: deserializeMetadata(output)
|
|
1229
|
-
});
|
|
1230
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1231
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1232
|
-
tags: import_smithy_client._json
|
|
1233
|
-
});
|
|
1234
|
-
Object.assign(contents, doc);
|
|
1235
|
-
return contents;
|
|
1236
|
-
}, "de_ListTagsForResourceCommand");
|
|
1237
|
-
var de_PutResourcePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1238
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1239
|
-
return de_CommandError(output, context);
|
|
1240
|
-
}
|
|
1241
|
-
const contents = (0, import_smithy_client.map)({
|
|
1242
|
-
$metadata: deserializeMetadata(output)
|
|
1243
|
-
});
|
|
1244
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1245
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1246
|
-
Policy: import_smithy_client.expectString
|
|
1247
|
-
});
|
|
1248
|
-
Object.assign(contents, doc);
|
|
1249
|
-
return contents;
|
|
1250
|
-
}, "de_PutResourcePermissionCommand");
|
|
1251
|
-
var de_RegisterApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1252
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1253
|
-
return de_CommandError(output, context);
|
|
1254
|
-
}
|
|
1255
|
-
const contents = (0, import_smithy_client.map)({
|
|
1256
|
-
$metadata: deserializeMetadata(output)
|
|
1257
|
-
});
|
|
1258
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1259
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1260
|
-
Application: /* @__PURE__ */ __name((_) => de_Application(_, context), "Application"),
|
|
1261
|
-
OperationId: import_smithy_client.expectString
|
|
1262
|
-
});
|
|
1263
|
-
Object.assign(contents, doc);
|
|
1264
|
-
return contents;
|
|
1265
|
-
}, "de_RegisterApplicationCommand");
|
|
1266
|
-
var de_StartApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1267
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1268
|
-
return de_CommandError(output, context);
|
|
1269
|
-
}
|
|
1270
|
-
const contents = (0, import_smithy_client.map)({
|
|
1271
|
-
$metadata: deserializeMetadata(output)
|
|
1272
|
-
});
|
|
1273
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1274
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1275
|
-
OperationId: import_smithy_client.expectString
|
|
1276
|
-
});
|
|
1277
|
-
Object.assign(contents, doc);
|
|
1278
|
-
return contents;
|
|
1279
|
-
}, "de_StartApplicationCommand");
|
|
1280
|
-
var de_StartApplicationRefreshCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1281
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1282
|
-
return de_CommandError(output, context);
|
|
1283
|
-
}
|
|
1284
|
-
const contents = (0, import_smithy_client.map)({
|
|
1285
|
-
$metadata: deserializeMetadata(output)
|
|
1286
|
-
});
|
|
1287
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1288
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1289
|
-
OperationId: import_smithy_client.expectString
|
|
1290
|
-
});
|
|
1291
|
-
Object.assign(contents, doc);
|
|
1292
|
-
return contents;
|
|
1293
|
-
}, "de_StartApplicationRefreshCommand");
|
|
1294
|
-
var de_StartConfigurationChecksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1295
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1296
|
-
return de_CommandError(output, context);
|
|
1297
|
-
}
|
|
1298
|
-
const contents = (0, import_smithy_client.map)({
|
|
1299
|
-
$metadata: deserializeMetadata(output)
|
|
1300
|
-
});
|
|
1301
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1302
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1303
|
-
ConfigurationCheckOperations: /* @__PURE__ */ __name((_) => de_ConfigurationCheckOperationList(_, context), "ConfigurationCheckOperations")
|
|
1304
|
-
});
|
|
1305
|
-
Object.assign(contents, doc);
|
|
1306
|
-
return contents;
|
|
1307
|
-
}, "de_StartConfigurationChecksCommand");
|
|
1308
|
-
var de_StopApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1309
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1310
|
-
return de_CommandError(output, context);
|
|
1311
|
-
}
|
|
1312
|
-
const contents = (0, import_smithy_client.map)({
|
|
1313
|
-
$metadata: deserializeMetadata(output)
|
|
1314
|
-
});
|
|
1315
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1316
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1317
|
-
OperationId: import_smithy_client.expectString
|
|
1318
|
-
});
|
|
1319
|
-
Object.assign(contents, doc);
|
|
1320
|
-
return contents;
|
|
1321
|
-
}, "de_StopApplicationCommand");
|
|
1322
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1323
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1324
|
-
return de_CommandError(output, context);
|
|
1325
|
-
}
|
|
1326
|
-
const contents = (0, import_smithy_client.map)({
|
|
1327
|
-
$metadata: deserializeMetadata(output)
|
|
1328
|
-
});
|
|
1329
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1330
|
-
return contents;
|
|
1331
|
-
}, "de_TagResourceCommand");
|
|
1332
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1333
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1334
|
-
return de_CommandError(output, context);
|
|
1335
|
-
}
|
|
1336
|
-
const contents = (0, import_smithy_client.map)({
|
|
1337
|
-
$metadata: deserializeMetadata(output)
|
|
1338
|
-
});
|
|
1339
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1340
|
-
return contents;
|
|
1341
|
-
}, "de_UntagResourceCommand");
|
|
1342
|
-
var de_UpdateApplicationSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1343
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1344
|
-
return de_CommandError(output, context);
|
|
1345
|
-
}
|
|
1346
|
-
const contents = (0, import_smithy_client.map)({
|
|
1347
|
-
$metadata: deserializeMetadata(output)
|
|
1348
|
-
});
|
|
1349
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1350
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1351
|
-
Message: import_smithy_client.expectString,
|
|
1352
|
-
OperationIds: import_smithy_client._json
|
|
1353
|
-
});
|
|
1354
|
-
Object.assign(contents, doc);
|
|
1355
|
-
return contents;
|
|
1356
|
-
}, "de_UpdateApplicationSettingsCommand");
|
|
1357
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1358
|
-
const parsedOutput = {
|
|
1359
|
-
...output,
|
|
1360
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1361
|
-
};
|
|
1362
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1363
|
-
switch (errorCode) {
|
|
1364
|
-
case "InternalServerException":
|
|
1365
|
-
case "com.amazonaws.ssmsap#InternalServerException":
|
|
1366
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1367
|
-
case "ResourceNotFoundException":
|
|
1368
|
-
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
1369
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1370
|
-
case "ValidationException":
|
|
1371
|
-
case "com.amazonaws.ssmsap#ValidationException":
|
|
1372
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1373
|
-
case "UnauthorizedException":
|
|
1374
|
-
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
1375
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1376
|
-
case "ConflictException":
|
|
1377
|
-
case "com.amazonaws.ssmsap#ConflictException":
|
|
1378
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1379
|
-
default:
|
|
1380
|
-
const parsedBody = parsedOutput.body;
|
|
1381
|
-
return throwDefaultError({
|
|
1382
|
-
output,
|
|
1383
|
-
parsedBody,
|
|
1384
|
-
errorCode
|
|
1385
|
-
});
|
|
1386
|
-
}
|
|
1387
|
-
}, "de_CommandError");
|
|
1388
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(SsmSapServiceException);
|
|
1389
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1390
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1391
|
-
const data = parsedOutput.body;
|
|
1392
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1393
|
-
Message: import_smithy_client.expectString
|
|
1394
|
-
});
|
|
1395
|
-
Object.assign(contents, doc);
|
|
1396
|
-
const exception = new ConflictException({
|
|
1397
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1398
|
-
...contents
|
|
1399
|
-
});
|
|
1400
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1401
|
-
}, "de_ConflictExceptionRes");
|
|
1402
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1403
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1404
|
-
const data = parsedOutput.body;
|
|
1405
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1406
|
-
Message: import_smithy_client.expectString
|
|
1407
|
-
});
|
|
1408
|
-
Object.assign(contents, doc);
|
|
1409
|
-
const exception = new InternalServerException({
|
|
1410
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1411
|
-
...contents
|
|
1412
|
-
});
|
|
1413
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1414
|
-
}, "de_InternalServerExceptionRes");
|
|
1415
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1416
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1417
|
-
const data = parsedOutput.body;
|
|
1418
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1419
|
-
Message: import_smithy_client.expectString
|
|
1420
|
-
});
|
|
1421
|
-
Object.assign(contents, doc);
|
|
1422
|
-
const exception = new ResourceNotFoundException({
|
|
1423
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1424
|
-
...contents
|
|
1425
|
-
});
|
|
1426
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1427
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1428
|
-
var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1429
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1430
|
-
const data = parsedOutput.body;
|
|
1431
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1432
|
-
Message: import_smithy_client.expectString
|
|
1433
|
-
});
|
|
1434
|
-
Object.assign(contents, doc);
|
|
1435
|
-
const exception = new UnauthorizedException({
|
|
1436
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1437
|
-
...contents
|
|
1438
|
-
});
|
|
1439
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1440
|
-
}, "de_UnauthorizedExceptionRes");
|
|
1441
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1442
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1443
|
-
const data = parsedOutput.body;
|
|
1444
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1445
|
-
Message: import_smithy_client.expectString
|
|
1446
|
-
});
|
|
1447
|
-
Object.assign(contents, doc);
|
|
1448
|
-
const exception = new ValidationException({
|
|
1449
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1450
|
-
...contents
|
|
1451
|
-
});
|
|
1452
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1453
|
-
}, "de_ValidationExceptionRes");
|
|
1454
|
-
var de_Application = /* @__PURE__ */ __name((output, context) => {
|
|
1455
|
-
return (0, import_smithy_client.take)(output, {
|
|
1456
|
-
AppRegistryArn: import_smithy_client.expectString,
|
|
1457
|
-
Arn: import_smithy_client.expectString,
|
|
1458
|
-
AssociatedApplicationArns: import_smithy_client._json,
|
|
1459
|
-
Components: import_smithy_client._json,
|
|
1460
|
-
DiscoveryStatus: import_smithy_client.expectString,
|
|
1461
|
-
Id: import_smithy_client.expectString,
|
|
1462
|
-
LastUpdated: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdated"),
|
|
1463
|
-
Status: import_smithy_client.expectString,
|
|
1464
|
-
StatusMessage: import_smithy_client.expectString,
|
|
1465
|
-
Type: import_smithy_client.expectString
|
|
1466
|
-
});
|
|
1467
|
-
}, "de_Application");
|
|
1468
|
-
var de_Component = /* @__PURE__ */ __name((output, context) => {
|
|
1469
|
-
return (0, import_smithy_client.take)(output, {
|
|
1470
|
-
ApplicationId: import_smithy_client.expectString,
|
|
1471
|
-
Arn: import_smithy_client.expectString,
|
|
1472
|
-
AssociatedHost: import_smithy_client._json,
|
|
1473
|
-
ChildComponents: import_smithy_client._json,
|
|
1474
|
-
ComponentId: import_smithy_client.expectString,
|
|
1475
|
-
ComponentType: import_smithy_client.expectString,
|
|
1476
|
-
DatabaseConnection: import_smithy_client._json,
|
|
1477
|
-
Databases: import_smithy_client._json,
|
|
1478
|
-
HdbVersion: import_smithy_client.expectString,
|
|
1479
|
-
Hosts: import_smithy_client._json,
|
|
1480
|
-
LastUpdated: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdated"),
|
|
1481
|
-
ParentComponent: import_smithy_client.expectString,
|
|
1482
|
-
PrimaryHost: import_smithy_client.expectString,
|
|
1483
|
-
Resilience: import_smithy_client._json,
|
|
1484
|
-
SapFeature: import_smithy_client.expectString,
|
|
1485
|
-
SapHostname: import_smithy_client.expectString,
|
|
1486
|
-
SapKernelVersion: import_smithy_client.expectString,
|
|
1487
|
-
Sid: import_smithy_client.expectString,
|
|
1488
|
-
Status: import_smithy_client.expectString,
|
|
1489
|
-
SystemNumber: import_smithy_client.expectString
|
|
1490
|
-
});
|
|
1491
|
-
}, "de_Component");
|
|
1492
|
-
var de_ConfigurationCheckOperation = /* @__PURE__ */ __name((output, context) => {
|
|
1493
|
-
return (0, import_smithy_client.take)(output, {
|
|
1494
|
-
ApplicationId: import_smithy_client.expectString,
|
|
1495
|
-
ConfigurationCheckDescription: import_smithy_client.expectString,
|
|
1496
|
-
ConfigurationCheckId: import_smithy_client.expectString,
|
|
1497
|
-
ConfigurationCheckName: import_smithy_client.expectString,
|
|
1498
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1499
|
-
Id: import_smithy_client.expectString,
|
|
1500
|
-
RuleStatusCounts: import_smithy_client._json,
|
|
1501
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
1502
|
-
Status: import_smithy_client.expectString,
|
|
1503
|
-
StatusMessage: import_smithy_client.expectString
|
|
1504
|
-
});
|
|
1505
|
-
}, "de_ConfigurationCheckOperation");
|
|
1506
|
-
var de_ConfigurationCheckOperationList = /* @__PURE__ */ __name((output, context) => {
|
|
1507
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1508
|
-
return de_ConfigurationCheckOperation(entry, context);
|
|
1509
|
-
});
|
|
1510
|
-
return retVal;
|
|
1511
|
-
}, "de_ConfigurationCheckOperationList");
|
|
1512
|
-
var de_Database = /* @__PURE__ */ __name((output, context) => {
|
|
1513
|
-
return (0, import_smithy_client.take)(output, {
|
|
1514
|
-
ApplicationId: import_smithy_client.expectString,
|
|
1515
|
-
Arn: import_smithy_client.expectString,
|
|
1516
|
-
ComponentId: import_smithy_client.expectString,
|
|
1517
|
-
ConnectedComponentArns: import_smithy_client._json,
|
|
1518
|
-
Credentials: import_smithy_client._json,
|
|
1519
|
-
DatabaseId: import_smithy_client.expectString,
|
|
1520
|
-
DatabaseName: import_smithy_client.expectString,
|
|
1521
|
-
DatabaseType: import_smithy_client.expectString,
|
|
1522
|
-
LastUpdated: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdated"),
|
|
1523
|
-
PrimaryHost: import_smithy_client.expectString,
|
|
1524
|
-
SQLPort: import_smithy_client.expectInt32,
|
|
1525
|
-
Status: import_smithy_client.expectString
|
|
1526
|
-
});
|
|
1527
|
-
}, "de_Database");
|
|
1528
|
-
var de_Operation = /* @__PURE__ */ __name((output, context) => {
|
|
1529
|
-
return (0, import_smithy_client.take)(output, {
|
|
1530
|
-
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1531
|
-
Id: import_smithy_client.expectString,
|
|
1532
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
1533
|
-
Properties: /* @__PURE__ */ __name((_) => de_OperationProperties(_, context), "Properties"),
|
|
1534
|
-
ResourceArn: import_smithy_client.expectString,
|
|
1535
|
-
ResourceId: import_smithy_client.expectString,
|
|
1536
|
-
ResourceType: import_smithy_client.expectString,
|
|
1537
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
1538
|
-
Status: import_smithy_client.expectString,
|
|
1539
|
-
StatusMessage: import_smithy_client.expectString,
|
|
1540
|
-
Type: import_smithy_client.expectString
|
|
1541
|
-
});
|
|
1542
|
-
}, "de_Operation");
|
|
1543
|
-
var de_OperationEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1544
|
-
return (0, import_smithy_client.take)(output, {
|
|
1545
|
-
Description: import_smithy_client.expectString,
|
|
1546
|
-
Resource: import_smithy_client._json,
|
|
1547
|
-
Status: import_smithy_client.expectString,
|
|
1548
|
-
StatusMessage: import_smithy_client.expectString,
|
|
1549
|
-
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp")
|
|
1550
|
-
});
|
|
1551
|
-
}, "de_OperationEvent");
|
|
1552
|
-
var de_OperationEventList = /* @__PURE__ */ __name((output, context) => {
|
|
1553
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1554
|
-
return de_OperationEvent(entry, context);
|
|
1555
|
-
});
|
|
1556
|
-
return retVal;
|
|
1557
|
-
}, "de_OperationEventList");
|
|
1558
|
-
var de_OperationList = /* @__PURE__ */ __name((output, context) => {
|
|
1559
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1560
|
-
return de_Operation(entry, context);
|
|
1561
|
-
});
|
|
1562
|
-
return retVal;
|
|
1563
|
-
}, "de_OperationList");
|
|
1564
|
-
var de_OperationProperties = /* @__PURE__ */ __name((output, context) => {
|
|
1565
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1566
|
-
if (value === null) {
|
|
1567
|
-
acc[key] = null;
|
|
1568
|
-
return acc;
|
|
133
|
+
const ApplicationStatus = {
|
|
134
|
+
ACTIVATED: "ACTIVATED",
|
|
135
|
+
DELETING: "DELETING",
|
|
136
|
+
FAILED: "FAILED",
|
|
137
|
+
REGISTERING: "REGISTERING",
|
|
138
|
+
STARTING: "STARTING",
|
|
139
|
+
STOPPED: "STOPPED",
|
|
140
|
+
STOPPING: "STOPPING",
|
|
141
|
+
UNKNOWN: "UNKNOWN",
|
|
142
|
+
};
|
|
143
|
+
const ApplicationType = {
|
|
144
|
+
HANA: "HANA",
|
|
145
|
+
SAP_ABAP: "SAP_ABAP",
|
|
146
|
+
};
|
|
147
|
+
const CredentialType = {
|
|
148
|
+
ADMIN: "ADMIN",
|
|
149
|
+
};
|
|
150
|
+
const BackintMode = {
|
|
151
|
+
AWSBackup: "AWSBackup",
|
|
152
|
+
};
|
|
153
|
+
const ClusterStatus = {
|
|
154
|
+
MAINTENANCE: "MAINTENANCE",
|
|
155
|
+
NONE: "NONE",
|
|
156
|
+
OFFLINE: "OFFLINE",
|
|
157
|
+
ONLINE: "ONLINE",
|
|
158
|
+
STANDBY: "STANDBY",
|
|
159
|
+
};
|
|
160
|
+
const ComponentType = {
|
|
161
|
+
ABAP: "ABAP",
|
|
162
|
+
ASCS: "ASCS",
|
|
163
|
+
DIALOG: "DIALOG",
|
|
164
|
+
ERS: "ERS",
|
|
165
|
+
HANA: "HANA",
|
|
166
|
+
HANA_NODE: "HANA_NODE",
|
|
167
|
+
WD: "WD",
|
|
168
|
+
WEBDISP: "WEBDISP",
|
|
169
|
+
};
|
|
170
|
+
const DatabaseConnectionMethod = {
|
|
171
|
+
DIRECT: "DIRECT",
|
|
172
|
+
OVERLAY: "OVERLAY",
|
|
173
|
+
};
|
|
174
|
+
const HostRole = {
|
|
175
|
+
LEADER: "LEADER",
|
|
176
|
+
STANDBY: "STANDBY",
|
|
177
|
+
UNKNOWN: "UNKNOWN",
|
|
178
|
+
WORKER: "WORKER",
|
|
179
|
+
};
|
|
180
|
+
const OperationMode = {
|
|
181
|
+
DELTA_DATASHIPPING: "DELTA_DATASHIPPING",
|
|
182
|
+
LOGREPLAY: "LOGREPLAY",
|
|
183
|
+
LOGREPLAY_READACCESS: "LOGREPLAY_READACCESS",
|
|
184
|
+
NONE: "NONE",
|
|
185
|
+
PRIMARY: "PRIMARY",
|
|
186
|
+
};
|
|
187
|
+
const ReplicationMode = {
|
|
188
|
+
ASYNC: "ASYNC",
|
|
189
|
+
NONE: "NONE",
|
|
190
|
+
PRIMARY: "PRIMARY",
|
|
191
|
+
SYNC: "SYNC",
|
|
192
|
+
SYNCMEM: "SYNCMEM",
|
|
193
|
+
};
|
|
194
|
+
const ComponentStatus = {
|
|
195
|
+
ACTIVATED: "ACTIVATED",
|
|
196
|
+
RUNNING: "RUNNING",
|
|
197
|
+
RUNNING_WITH_ERROR: "RUNNING_WITH_ERROR",
|
|
198
|
+
STARTING: "STARTING",
|
|
199
|
+
STOPPED: "STOPPED",
|
|
200
|
+
STOPPING: "STOPPING",
|
|
201
|
+
UNDEFINED: "UNDEFINED",
|
|
202
|
+
};
|
|
203
|
+
const ConfigurationCheckType = {
|
|
204
|
+
SAP_CHECK_01: "SAP_CHECK_01",
|
|
205
|
+
SAP_CHECK_02: "SAP_CHECK_02",
|
|
206
|
+
SAP_CHECK_03: "SAP_CHECK_03",
|
|
207
|
+
};
|
|
208
|
+
const OperationStatus = {
|
|
209
|
+
ERROR: "ERROR",
|
|
210
|
+
INPROGRESS: "INPROGRESS",
|
|
211
|
+
SUCCESS: "SUCCESS",
|
|
212
|
+
};
|
|
213
|
+
const ConfigurationCheckOperationListingMode = {
|
|
214
|
+
ALL_OPERATIONS: "ALL_OPERATIONS",
|
|
215
|
+
LATEST_PER_CHECK: "LATEST_PER_CHECK",
|
|
216
|
+
};
|
|
217
|
+
class ConflictException extends SsmSapServiceException {
|
|
218
|
+
name = "ConflictException";
|
|
219
|
+
$fault = "client";
|
|
220
|
+
Message;
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "ConflictException",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts,
|
|
226
|
+
});
|
|
227
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
228
|
+
this.Message = opts.Message;
|
|
1569
229
|
}
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
}, "de_OperationProperties");
|
|
1574
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1575
|
-
httpStatusCode: output.statusCode,
|
|
1576
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1577
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1578
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1579
|
-
}), "deserializeMetadata");
|
|
1580
|
-
var _tK = "tagKeys";
|
|
1581
|
-
|
|
1582
|
-
// src/commands/DeleteResourcePermissionCommand.ts
|
|
1583
|
-
var DeleteResourcePermissionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1584
|
-
return [
|
|
1585
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1586
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1587
|
-
];
|
|
1588
|
-
}).s("SsmSap", "DeleteResourcePermission", {}).n("SsmSapClient", "DeleteResourcePermissionCommand").f(void 0, void 0).ser(se_DeleteResourcePermissionCommand).de(de_DeleteResourcePermissionCommand).build() {
|
|
1589
|
-
static {
|
|
1590
|
-
__name(this, "DeleteResourcePermissionCommand");
|
|
1591
|
-
}
|
|
230
|
+
}
|
|
231
|
+
const ConnectedEntityType = {
|
|
232
|
+
DBMS: "DBMS",
|
|
1592
233
|
};
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
var DeregisterApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1599
|
-
return [
|
|
1600
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1601
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1602
|
-
];
|
|
1603
|
-
}).s("SsmSap", "DeregisterApplication", {}).n("SsmSapClient", "DeregisterApplicationCommand").f(void 0, void 0).ser(se_DeregisterApplicationCommand).de(de_DeregisterApplicationCommand).build() {
|
|
1604
|
-
static {
|
|
1605
|
-
__name(this, "DeregisterApplicationCommand");
|
|
1606
|
-
}
|
|
234
|
+
const DatabaseType = {
|
|
235
|
+
SYSTEM: "SYSTEM",
|
|
236
|
+
TENANT: "TENANT",
|
|
1607
237
|
};
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1616
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1617
|
-
];
|
|
1618
|
-
}).s("SsmSap", "GetApplication", {}).n("SsmSapClient", "GetApplicationCommand").f(void 0, void 0).ser(se_GetApplicationCommand).de(de_GetApplicationCommand).build() {
|
|
1619
|
-
static {
|
|
1620
|
-
__name(this, "GetApplicationCommand");
|
|
1621
|
-
}
|
|
238
|
+
const DatabaseStatus = {
|
|
239
|
+
ERROR: "ERROR",
|
|
240
|
+
RUNNING: "RUNNING",
|
|
241
|
+
STARTING: "STARTING",
|
|
242
|
+
STOPPED: "STOPPED",
|
|
243
|
+
UNKNOWN: "UNKNOWN",
|
|
244
|
+
WARNING: "WARNING",
|
|
1622
245
|
};
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
var GetComponentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1629
|
-
return [
|
|
1630
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1631
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1632
|
-
];
|
|
1633
|
-
}).s("SsmSap", "GetComponent", {}).n("SsmSapClient", "GetComponentCommand").f(void 0, void 0).ser(se_GetComponentCommand).de(de_GetComponentCommand).build() {
|
|
1634
|
-
static {
|
|
1635
|
-
__name(this, "GetComponentCommand");
|
|
1636
|
-
}
|
|
246
|
+
const PermissionActionType = {
|
|
247
|
+
RESTORE: "RESTORE",
|
|
1637
248
|
};
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
249
|
+
class InternalServerException extends SsmSapServiceException {
|
|
250
|
+
name = "InternalServerException";
|
|
251
|
+
$fault = "server";
|
|
252
|
+
Message;
|
|
253
|
+
constructor(opts) {
|
|
254
|
+
super({
|
|
255
|
+
name: "InternalServerException",
|
|
256
|
+
$fault: "server",
|
|
257
|
+
...opts,
|
|
258
|
+
});
|
|
259
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
260
|
+
this.Message = opts.Message;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
class ResourceNotFoundException extends SsmSapServiceException {
|
|
264
|
+
name = "ResourceNotFoundException";
|
|
265
|
+
$fault = "client";
|
|
266
|
+
Message;
|
|
267
|
+
constructor(opts) {
|
|
268
|
+
super({
|
|
269
|
+
name: "ResourceNotFoundException",
|
|
270
|
+
$fault: "client",
|
|
271
|
+
...opts,
|
|
272
|
+
});
|
|
273
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
274
|
+
this.Message = opts.Message;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
class ValidationException extends SsmSapServiceException {
|
|
278
|
+
name = "ValidationException";
|
|
279
|
+
$fault = "client";
|
|
280
|
+
Message;
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "ValidationException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts,
|
|
286
|
+
});
|
|
287
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
288
|
+
this.Message = opts.Message;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
class UnauthorizedException extends SsmSapServiceException {
|
|
292
|
+
name = "UnauthorizedException";
|
|
293
|
+
$fault = "client";
|
|
294
|
+
Message;
|
|
295
|
+
constructor(opts) {
|
|
296
|
+
super({
|
|
297
|
+
name: "UnauthorizedException",
|
|
298
|
+
$fault: "client",
|
|
299
|
+
...opts,
|
|
300
|
+
});
|
|
301
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
302
|
+
this.Message = opts.Message;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
const FilterOperator = {
|
|
306
|
+
EQUALS: "Equals",
|
|
307
|
+
GREATER_THAN_OR_EQUALS: "GreaterThanOrEquals",
|
|
308
|
+
LESS_THAN_OR_EQUALS: "LessThanOrEquals",
|
|
1652
309
|
};
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
var GetDatabaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1659
|
-
return [
|
|
1660
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1661
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1662
|
-
];
|
|
1663
|
-
}).s("SsmSap", "GetDatabase", {}).n("SsmSapClient", "GetDatabaseCommand").f(void 0, GetDatabaseOutputFilterSensitiveLog).ser(se_GetDatabaseCommand).de(de_GetDatabaseCommand).build() {
|
|
1664
|
-
static {
|
|
1665
|
-
__name(this, "GetDatabaseCommand");
|
|
1666
|
-
}
|
|
310
|
+
const OperationEventStatus = {
|
|
311
|
+
COMPLETED: "COMPLETED",
|
|
312
|
+
FAILED: "FAILED",
|
|
313
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1667
314
|
};
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
return [
|
|
1675
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1676
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1677
|
-
];
|
|
1678
|
-
}).s("SsmSap", "GetOperation", {}).n("SsmSapClient", "GetOperationCommand").f(void 0, void 0).ser(se_GetOperationCommand).de(de_GetOperationCommand).build() {
|
|
1679
|
-
static {
|
|
1680
|
-
__name(this, "GetOperationCommand");
|
|
1681
|
-
}
|
|
315
|
+
const RuleResultStatus = {
|
|
316
|
+
FAILED: "FAILED",
|
|
317
|
+
INFO: "INFO",
|
|
318
|
+
PASSED: "PASSED",
|
|
319
|
+
UNKNOWN: "UNKNOWN",
|
|
320
|
+
WARNING: "WARNING",
|
|
1682
321
|
};
|
|
322
|
+
const ApplicationCredentialFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
...(obj.SecretId && { SecretId: smithyClient.SENSITIVE_STRING }),
|
|
325
|
+
});
|
|
326
|
+
const DatabaseFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
...(obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }),
|
|
329
|
+
});
|
|
330
|
+
const GetDatabaseOutputFilterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
...(obj.Database && { Database: DatabaseFilterSensitiveLog(obj.Database) }),
|
|
333
|
+
});
|
|
334
|
+
const RegisterApplicationInputFilterSensitiveLog = (obj) => ({
|
|
335
|
+
...obj,
|
|
336
|
+
...(obj.Credentials && { Credentials: obj.Credentials.map((item) => ApplicationCredentialFilterSensitiveLog(item)) }),
|
|
337
|
+
});
|
|
338
|
+
const UpdateApplicationSettingsInputFilterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
...(obj.CredentialsToAddOrUpdate && {
|
|
341
|
+
CredentialsToAddOrUpdate: obj.CredentialsToAddOrUpdate.map((item) => ApplicationCredentialFilterSensitiveLog(item)),
|
|
342
|
+
}),
|
|
343
|
+
...(obj.CredentialsToRemove && {
|
|
344
|
+
CredentialsToRemove: obj.CredentialsToRemove.map((item) => ApplicationCredentialFilterSensitiveLog(item)),
|
|
345
|
+
}),
|
|
346
|
+
});
|
|
1683
347
|
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
348
|
+
const se_DeleteResourcePermissionCommand = async (input, context) => {
|
|
349
|
+
const b = core.requestBuilder(input, context);
|
|
350
|
+
const headers = {
|
|
351
|
+
"content-type": "application/json",
|
|
352
|
+
};
|
|
353
|
+
b.bp("/delete-resource-permission");
|
|
354
|
+
let body;
|
|
355
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
356
|
+
ActionType: [],
|
|
357
|
+
ResourceArn: [],
|
|
358
|
+
SourceResourceArn: [],
|
|
359
|
+
}));
|
|
360
|
+
b.m("POST").h(headers).b(body);
|
|
361
|
+
return b.build();
|
|
1697
362
|
};
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
__name(this, "ListApplicationsCommand");
|
|
1711
|
-
}
|
|
363
|
+
const se_DeregisterApplicationCommand = async (input, context) => {
|
|
364
|
+
const b = core.requestBuilder(input, context);
|
|
365
|
+
const headers = {
|
|
366
|
+
"content-type": "application/json",
|
|
367
|
+
};
|
|
368
|
+
b.bp("/deregister-application");
|
|
369
|
+
let body;
|
|
370
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
371
|
+
ApplicationId: [],
|
|
372
|
+
}));
|
|
373
|
+
b.m("POST").h(headers).b(body);
|
|
374
|
+
return b.build();
|
|
1712
375
|
};
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
376
|
+
const se_GetApplicationCommand = async (input, context) => {
|
|
377
|
+
const b = core.requestBuilder(input, context);
|
|
378
|
+
const headers = {
|
|
379
|
+
"content-type": "application/json",
|
|
380
|
+
};
|
|
381
|
+
b.bp("/get-application");
|
|
382
|
+
let body;
|
|
383
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
384
|
+
AppRegistryArn: [],
|
|
385
|
+
ApplicationArn: [],
|
|
386
|
+
ApplicationId: [],
|
|
387
|
+
}));
|
|
388
|
+
b.m("POST").h(headers).b(body);
|
|
389
|
+
return b.build();
|
|
1727
390
|
};
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
})
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
}
|
|
391
|
+
const se_GetComponentCommand = async (input, context) => {
|
|
392
|
+
const b = core.requestBuilder(input, context);
|
|
393
|
+
const headers = {
|
|
394
|
+
"content-type": "application/json",
|
|
395
|
+
};
|
|
396
|
+
b.bp("/get-component");
|
|
397
|
+
let body;
|
|
398
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
399
|
+
ApplicationId: [],
|
|
400
|
+
ComponentId: [],
|
|
401
|
+
}));
|
|
402
|
+
b.m("POST").h(headers).b(body);
|
|
403
|
+
return b.build();
|
|
1742
404
|
};
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
__name(this, "ListConfigurationCheckOperationsCommand");
|
|
1756
|
-
}
|
|
405
|
+
const se_GetConfigurationCheckOperationCommand = async (input, context) => {
|
|
406
|
+
const b = core.requestBuilder(input, context);
|
|
407
|
+
const headers = {
|
|
408
|
+
"content-type": "application/json",
|
|
409
|
+
};
|
|
410
|
+
b.bp("/get-configuration-check-operation");
|
|
411
|
+
let body;
|
|
412
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
413
|
+
OperationId: [],
|
|
414
|
+
}));
|
|
415
|
+
b.m("POST").h(headers).b(body);
|
|
416
|
+
return b.build();
|
|
1757
417
|
};
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
418
|
+
const se_GetDatabaseCommand = async (input, context) => {
|
|
419
|
+
const b = core.requestBuilder(input, context);
|
|
420
|
+
const headers = {
|
|
421
|
+
"content-type": "application/json",
|
|
422
|
+
};
|
|
423
|
+
b.bp("/get-database");
|
|
424
|
+
let body;
|
|
425
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
426
|
+
ApplicationId: [],
|
|
427
|
+
ComponentId: [],
|
|
428
|
+
DatabaseArn: [],
|
|
429
|
+
DatabaseId: [],
|
|
430
|
+
}));
|
|
431
|
+
b.m("POST").h(headers).b(body);
|
|
432
|
+
return b.build();
|
|
1772
433
|
};
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
__name(this, "ListOperationEventsCommand");
|
|
1786
|
-
}
|
|
434
|
+
const se_GetOperationCommand = async (input, context) => {
|
|
435
|
+
const b = core.requestBuilder(input, context);
|
|
436
|
+
const headers = {
|
|
437
|
+
"content-type": "application/json",
|
|
438
|
+
};
|
|
439
|
+
b.bp("/get-operation");
|
|
440
|
+
let body;
|
|
441
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
442
|
+
OperationId: [],
|
|
443
|
+
}));
|
|
444
|
+
b.m("POST").h(headers).b(body);
|
|
445
|
+
return b.build();
|
|
1787
446
|
};
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
})
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
}
|
|
447
|
+
const se_GetResourcePermissionCommand = async (input, context) => {
|
|
448
|
+
const b = core.requestBuilder(input, context);
|
|
449
|
+
const headers = {
|
|
450
|
+
"content-type": "application/json",
|
|
451
|
+
};
|
|
452
|
+
b.bp("/get-resource-permission");
|
|
453
|
+
let body;
|
|
454
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
455
|
+
ActionType: [],
|
|
456
|
+
ResourceArn: [],
|
|
457
|
+
}));
|
|
458
|
+
b.m("POST").h(headers).b(body);
|
|
459
|
+
return b.build();
|
|
1802
460
|
};
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
461
|
+
const se_ListApplicationsCommand = async (input, context) => {
|
|
462
|
+
const b = core.requestBuilder(input, context);
|
|
463
|
+
const headers = {
|
|
464
|
+
"content-type": "application/json",
|
|
465
|
+
};
|
|
466
|
+
b.bp("/list-applications");
|
|
467
|
+
let body;
|
|
468
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
469
|
+
Filters: (_) => smithyClient._json(_),
|
|
470
|
+
MaxResults: [],
|
|
471
|
+
NextToken: [],
|
|
472
|
+
}));
|
|
473
|
+
b.m("POST").h(headers).b(body);
|
|
474
|
+
return b.build();
|
|
1817
475
|
};
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
476
|
+
const se_ListComponentsCommand = async (input, context) => {
|
|
477
|
+
const b = core.requestBuilder(input, context);
|
|
478
|
+
const headers = {
|
|
479
|
+
"content-type": "application/json",
|
|
480
|
+
};
|
|
481
|
+
b.bp("/list-components");
|
|
482
|
+
let body;
|
|
483
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
484
|
+
ApplicationId: [],
|
|
485
|
+
MaxResults: [],
|
|
486
|
+
NextToken: [],
|
|
487
|
+
}));
|
|
488
|
+
b.m("POST").h(headers).b(body);
|
|
489
|
+
return b.build();
|
|
1832
490
|
};
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
})
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
}
|
|
491
|
+
const se_ListConfigurationCheckDefinitionsCommand = async (input, context) => {
|
|
492
|
+
const b = core.requestBuilder(input, context);
|
|
493
|
+
const headers = {
|
|
494
|
+
"content-type": "application/json",
|
|
495
|
+
};
|
|
496
|
+
b.bp("/list-configuration-check-definitions");
|
|
497
|
+
let body;
|
|
498
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
499
|
+
MaxResults: [],
|
|
500
|
+
NextToken: [],
|
|
501
|
+
}));
|
|
502
|
+
b.m("POST").h(headers).b(body);
|
|
503
|
+
return b.build();
|
|
1847
504
|
};
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
505
|
+
const se_ListConfigurationCheckOperationsCommand = async (input, context) => {
|
|
506
|
+
const b = core.requestBuilder(input, context);
|
|
507
|
+
const headers = {
|
|
508
|
+
"content-type": "application/json",
|
|
509
|
+
};
|
|
510
|
+
b.bp("/list-configuration-check-operations");
|
|
511
|
+
let body;
|
|
512
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
513
|
+
ApplicationId: [],
|
|
514
|
+
Filters: (_) => smithyClient._json(_),
|
|
515
|
+
ListMode: [],
|
|
516
|
+
MaxResults: [],
|
|
517
|
+
NextToken: [],
|
|
518
|
+
}));
|
|
519
|
+
b.m("POST").h(headers).b(body);
|
|
520
|
+
return b.build();
|
|
1862
521
|
};
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
522
|
+
const se_ListDatabasesCommand = async (input, context) => {
|
|
523
|
+
const b = core.requestBuilder(input, context);
|
|
524
|
+
const headers = {
|
|
525
|
+
"content-type": "application/json",
|
|
526
|
+
};
|
|
527
|
+
b.bp("/list-databases");
|
|
528
|
+
let body;
|
|
529
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
530
|
+
ApplicationId: [],
|
|
531
|
+
ComponentId: [],
|
|
532
|
+
MaxResults: [],
|
|
533
|
+
NextToken: [],
|
|
534
|
+
}));
|
|
535
|
+
b.m("POST").h(headers).b(body);
|
|
536
|
+
return b.build();
|
|
1877
537
|
};
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
538
|
+
const se_ListOperationEventsCommand = async (input, context) => {
|
|
539
|
+
const b = core.requestBuilder(input, context);
|
|
540
|
+
const headers = {
|
|
541
|
+
"content-type": "application/json",
|
|
542
|
+
};
|
|
543
|
+
b.bp("/list-operation-events");
|
|
544
|
+
let body;
|
|
545
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
546
|
+
Filters: (_) => smithyClient._json(_),
|
|
547
|
+
MaxResults: [],
|
|
548
|
+
NextToken: [],
|
|
549
|
+
OperationId: [],
|
|
550
|
+
}));
|
|
551
|
+
b.m("POST").h(headers).b(body);
|
|
552
|
+
return b.build();
|
|
1892
553
|
};
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
554
|
+
const se_ListOperationsCommand = async (input, context) => {
|
|
555
|
+
const b = core.requestBuilder(input, context);
|
|
556
|
+
const headers = {
|
|
557
|
+
"content-type": "application/json",
|
|
558
|
+
};
|
|
559
|
+
b.bp("/list-operations");
|
|
560
|
+
let body;
|
|
561
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
562
|
+
ApplicationId: [],
|
|
563
|
+
Filters: (_) => smithyClient._json(_),
|
|
564
|
+
MaxResults: [],
|
|
565
|
+
NextToken: [],
|
|
566
|
+
}));
|
|
567
|
+
b.m("POST").h(headers).b(body);
|
|
568
|
+
return b.build();
|
|
1907
569
|
};
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
570
|
+
const se_ListSubCheckResultsCommand = async (input, context) => {
|
|
571
|
+
const b = core.requestBuilder(input, context);
|
|
572
|
+
const headers = {
|
|
573
|
+
"content-type": "application/json",
|
|
574
|
+
};
|
|
575
|
+
b.bp("/list-sub-check-results");
|
|
576
|
+
let body;
|
|
577
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
578
|
+
MaxResults: [],
|
|
579
|
+
NextToken: [],
|
|
580
|
+
OperationId: [],
|
|
581
|
+
}));
|
|
582
|
+
b.m("POST").h(headers).b(body);
|
|
583
|
+
return b.build();
|
|
1922
584
|
};
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
585
|
+
const se_ListSubCheckRuleResultsCommand = async (input, context) => {
|
|
586
|
+
const b = core.requestBuilder(input, context);
|
|
587
|
+
const headers = {
|
|
588
|
+
"content-type": "application/json",
|
|
589
|
+
};
|
|
590
|
+
b.bp("/list-sub-check-rule-results");
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
593
|
+
MaxResults: [],
|
|
594
|
+
NextToken: [],
|
|
595
|
+
SubCheckResultId: [],
|
|
596
|
+
}));
|
|
597
|
+
b.m("POST").h(headers).b(body);
|
|
598
|
+
return b.build();
|
|
1937
599
|
};
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1947
|
-
];
|
|
1948
|
-
}).s("SsmSap", "TagResource", {}).n("SsmSapClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1949
|
-
static {
|
|
1950
|
-
__name(this, "TagResourceCommand");
|
|
1951
|
-
}
|
|
600
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
601
|
+
const b = core.requestBuilder(input, context);
|
|
602
|
+
const headers = {};
|
|
603
|
+
b.bp("/tags/{resourceArn}");
|
|
604
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
605
|
+
let body;
|
|
606
|
+
b.m("GET").h(headers).b(body);
|
|
607
|
+
return b.build();
|
|
1952
608
|
};
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
609
|
+
const se_PutResourcePermissionCommand = async (input, context) => {
|
|
610
|
+
const b = core.requestBuilder(input, context);
|
|
611
|
+
const headers = {
|
|
612
|
+
"content-type": "application/json",
|
|
613
|
+
};
|
|
614
|
+
b.bp("/put-resource-permission");
|
|
615
|
+
let body;
|
|
616
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
617
|
+
ActionType: [],
|
|
618
|
+
ResourceArn: [],
|
|
619
|
+
SourceResourceArn: [],
|
|
620
|
+
}));
|
|
621
|
+
b.m("POST").h(headers).b(body);
|
|
622
|
+
return b.build();
|
|
1967
623
|
};
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
624
|
+
const se_RegisterApplicationCommand = async (input, context) => {
|
|
625
|
+
const b = core.requestBuilder(input, context);
|
|
626
|
+
const headers = {
|
|
627
|
+
"content-type": "application/json",
|
|
628
|
+
};
|
|
629
|
+
b.bp("/register-application");
|
|
630
|
+
let body;
|
|
631
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
632
|
+
ApplicationId: [],
|
|
633
|
+
ApplicationType: [],
|
|
634
|
+
ComponentsInfo: (_) => smithyClient._json(_),
|
|
635
|
+
Credentials: (_) => smithyClient._json(_),
|
|
636
|
+
DatabaseArn: [],
|
|
637
|
+
Instances: (_) => smithyClient._json(_),
|
|
638
|
+
SapInstanceNumber: [],
|
|
639
|
+
Sid: [],
|
|
640
|
+
Tags: (_) => smithyClient._json(_),
|
|
641
|
+
}));
|
|
642
|
+
b.m("POST").h(headers).b(body);
|
|
643
|
+
return b.build();
|
|
1982
644
|
};
|
|
645
|
+
const se_StartApplicationCommand = async (input, context) => {
|
|
646
|
+
const b = core.requestBuilder(input, context);
|
|
647
|
+
const headers = {
|
|
648
|
+
"content-type": "application/json",
|
|
649
|
+
};
|
|
650
|
+
b.bp("/start-application");
|
|
651
|
+
let body;
|
|
652
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
653
|
+
ApplicationId: [],
|
|
654
|
+
}));
|
|
655
|
+
b.m("POST").h(headers).b(body);
|
|
656
|
+
return b.build();
|
|
657
|
+
};
|
|
658
|
+
const se_StartApplicationRefreshCommand = async (input, context) => {
|
|
659
|
+
const b = core.requestBuilder(input, context);
|
|
660
|
+
const headers = {
|
|
661
|
+
"content-type": "application/json",
|
|
662
|
+
};
|
|
663
|
+
b.bp("/start-application-refresh");
|
|
664
|
+
let body;
|
|
665
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
666
|
+
ApplicationId: [],
|
|
667
|
+
}));
|
|
668
|
+
b.m("POST").h(headers).b(body);
|
|
669
|
+
return b.build();
|
|
670
|
+
};
|
|
671
|
+
const se_StartConfigurationChecksCommand = async (input, context) => {
|
|
672
|
+
const b = core.requestBuilder(input, context);
|
|
673
|
+
const headers = {
|
|
674
|
+
"content-type": "application/json",
|
|
675
|
+
};
|
|
676
|
+
b.bp("/start-configuration-checks");
|
|
677
|
+
let body;
|
|
678
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
679
|
+
ApplicationId: [],
|
|
680
|
+
ConfigurationCheckIds: (_) => smithyClient._json(_),
|
|
681
|
+
}));
|
|
682
|
+
b.m("POST").h(headers).b(body);
|
|
683
|
+
return b.build();
|
|
684
|
+
};
|
|
685
|
+
const se_StopApplicationCommand = async (input, context) => {
|
|
686
|
+
const b = core.requestBuilder(input, context);
|
|
687
|
+
const headers = {
|
|
688
|
+
"content-type": "application/json",
|
|
689
|
+
};
|
|
690
|
+
b.bp("/stop-application");
|
|
691
|
+
let body;
|
|
692
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
693
|
+
ApplicationId: [],
|
|
694
|
+
IncludeEc2InstanceShutdown: [],
|
|
695
|
+
StopConnectedEntity: [],
|
|
696
|
+
}));
|
|
697
|
+
b.m("POST").h(headers).b(body);
|
|
698
|
+
return b.build();
|
|
699
|
+
};
|
|
700
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
701
|
+
const b = core.requestBuilder(input, context);
|
|
702
|
+
const headers = {
|
|
703
|
+
"content-type": "application/json",
|
|
704
|
+
};
|
|
705
|
+
b.bp("/tags/{resourceArn}");
|
|
706
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
707
|
+
let body;
|
|
708
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
709
|
+
tags: (_) => smithyClient._json(_),
|
|
710
|
+
}));
|
|
711
|
+
b.m("POST").h(headers).b(body);
|
|
712
|
+
return b.build();
|
|
713
|
+
};
|
|
714
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
715
|
+
const b = core.requestBuilder(input, context);
|
|
716
|
+
const headers = {};
|
|
717
|
+
b.bp("/tags/{resourceArn}");
|
|
718
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
719
|
+
const query = smithyClient.map({
|
|
720
|
+
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
721
|
+
});
|
|
722
|
+
let body;
|
|
723
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
724
|
+
return b.build();
|
|
725
|
+
};
|
|
726
|
+
const se_UpdateApplicationSettingsCommand = async (input, context) => {
|
|
727
|
+
const b = core.requestBuilder(input, context);
|
|
728
|
+
const headers = {
|
|
729
|
+
"content-type": "application/json",
|
|
730
|
+
};
|
|
731
|
+
b.bp("/update-application-settings");
|
|
732
|
+
let body;
|
|
733
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
734
|
+
ApplicationId: [],
|
|
735
|
+
Backint: (_) => smithyClient._json(_),
|
|
736
|
+
CredentialsToAddOrUpdate: (_) => smithyClient._json(_),
|
|
737
|
+
CredentialsToRemove: (_) => smithyClient._json(_),
|
|
738
|
+
DatabaseArn: [],
|
|
739
|
+
}));
|
|
740
|
+
b.m("POST").h(headers).b(body);
|
|
741
|
+
return b.build();
|
|
742
|
+
};
|
|
743
|
+
const de_DeleteResourcePermissionCommand = async (output, context) => {
|
|
744
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
745
|
+
return de_CommandError(output, context);
|
|
746
|
+
}
|
|
747
|
+
const contents = smithyClient.map({
|
|
748
|
+
$metadata: deserializeMetadata(output),
|
|
749
|
+
});
|
|
750
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
751
|
+
const doc = smithyClient.take(data, {
|
|
752
|
+
Policy: smithyClient.expectString,
|
|
753
|
+
});
|
|
754
|
+
Object.assign(contents, doc);
|
|
755
|
+
return contents;
|
|
756
|
+
};
|
|
757
|
+
const de_DeregisterApplicationCommand = async (output, context) => {
|
|
758
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
|
+
return de_CommandError(output, context);
|
|
760
|
+
}
|
|
761
|
+
const contents = smithyClient.map({
|
|
762
|
+
$metadata: deserializeMetadata(output),
|
|
763
|
+
});
|
|
764
|
+
await smithyClient.collectBody(output.body, context);
|
|
765
|
+
return contents;
|
|
766
|
+
};
|
|
767
|
+
const de_GetApplicationCommand = async (output, context) => {
|
|
768
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
769
|
+
return de_CommandError(output, context);
|
|
770
|
+
}
|
|
771
|
+
const contents = smithyClient.map({
|
|
772
|
+
$metadata: deserializeMetadata(output),
|
|
773
|
+
});
|
|
774
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
775
|
+
const doc = smithyClient.take(data, {
|
|
776
|
+
Application: (_) => de_Application(_),
|
|
777
|
+
Tags: smithyClient._json,
|
|
778
|
+
});
|
|
779
|
+
Object.assign(contents, doc);
|
|
780
|
+
return contents;
|
|
781
|
+
};
|
|
782
|
+
const de_GetComponentCommand = async (output, context) => {
|
|
783
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
784
|
+
return de_CommandError(output, context);
|
|
785
|
+
}
|
|
786
|
+
const contents = smithyClient.map({
|
|
787
|
+
$metadata: deserializeMetadata(output),
|
|
788
|
+
});
|
|
789
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
790
|
+
const doc = smithyClient.take(data, {
|
|
791
|
+
Component: (_) => de_Component(_),
|
|
792
|
+
Tags: smithyClient._json,
|
|
793
|
+
});
|
|
794
|
+
Object.assign(contents, doc);
|
|
795
|
+
return contents;
|
|
796
|
+
};
|
|
797
|
+
const de_GetConfigurationCheckOperationCommand = async (output, context) => {
|
|
798
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
799
|
+
return de_CommandError(output, context);
|
|
800
|
+
}
|
|
801
|
+
const contents = smithyClient.map({
|
|
802
|
+
$metadata: deserializeMetadata(output),
|
|
803
|
+
});
|
|
804
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
805
|
+
const doc = smithyClient.take(data, {
|
|
806
|
+
ConfigurationCheckOperation: (_) => de_ConfigurationCheckOperation(_),
|
|
807
|
+
});
|
|
808
|
+
Object.assign(contents, doc);
|
|
809
|
+
return contents;
|
|
810
|
+
};
|
|
811
|
+
const de_GetDatabaseCommand = async (output, context) => {
|
|
812
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
813
|
+
return de_CommandError(output, context);
|
|
814
|
+
}
|
|
815
|
+
const contents = smithyClient.map({
|
|
816
|
+
$metadata: deserializeMetadata(output),
|
|
817
|
+
});
|
|
818
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
819
|
+
const doc = smithyClient.take(data, {
|
|
820
|
+
Database: (_) => de_Database(_),
|
|
821
|
+
Tags: smithyClient._json,
|
|
822
|
+
});
|
|
823
|
+
Object.assign(contents, doc);
|
|
824
|
+
return contents;
|
|
825
|
+
};
|
|
826
|
+
const de_GetOperationCommand = async (output, context) => {
|
|
827
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
|
+
return de_CommandError(output, context);
|
|
829
|
+
}
|
|
830
|
+
const contents = smithyClient.map({
|
|
831
|
+
$metadata: deserializeMetadata(output),
|
|
832
|
+
});
|
|
833
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
834
|
+
const doc = smithyClient.take(data, {
|
|
835
|
+
Operation: (_) => de_Operation(_),
|
|
836
|
+
});
|
|
837
|
+
Object.assign(contents, doc);
|
|
838
|
+
return contents;
|
|
839
|
+
};
|
|
840
|
+
const de_GetResourcePermissionCommand = async (output, context) => {
|
|
841
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
842
|
+
return de_CommandError(output, context);
|
|
843
|
+
}
|
|
844
|
+
const contents = smithyClient.map({
|
|
845
|
+
$metadata: deserializeMetadata(output),
|
|
846
|
+
});
|
|
847
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
848
|
+
const doc = smithyClient.take(data, {
|
|
849
|
+
Policy: smithyClient.expectString,
|
|
850
|
+
});
|
|
851
|
+
Object.assign(contents, doc);
|
|
852
|
+
return contents;
|
|
853
|
+
};
|
|
854
|
+
const de_ListApplicationsCommand = async (output, context) => {
|
|
855
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
856
|
+
return de_CommandError(output, context);
|
|
857
|
+
}
|
|
858
|
+
const contents = smithyClient.map({
|
|
859
|
+
$metadata: deserializeMetadata(output),
|
|
860
|
+
});
|
|
861
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
862
|
+
const doc = smithyClient.take(data, {
|
|
863
|
+
Applications: smithyClient._json,
|
|
864
|
+
NextToken: smithyClient.expectString,
|
|
865
|
+
});
|
|
866
|
+
Object.assign(contents, doc);
|
|
867
|
+
return contents;
|
|
868
|
+
};
|
|
869
|
+
const de_ListComponentsCommand = async (output, context) => {
|
|
870
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
871
|
+
return de_CommandError(output, context);
|
|
872
|
+
}
|
|
873
|
+
const contents = smithyClient.map({
|
|
874
|
+
$metadata: deserializeMetadata(output),
|
|
875
|
+
});
|
|
876
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
877
|
+
const doc = smithyClient.take(data, {
|
|
878
|
+
Components: smithyClient._json,
|
|
879
|
+
NextToken: smithyClient.expectString,
|
|
880
|
+
});
|
|
881
|
+
Object.assign(contents, doc);
|
|
882
|
+
return contents;
|
|
883
|
+
};
|
|
884
|
+
const de_ListConfigurationCheckDefinitionsCommand = async (output, context) => {
|
|
885
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
886
|
+
return de_CommandError(output, context);
|
|
887
|
+
}
|
|
888
|
+
const contents = smithyClient.map({
|
|
889
|
+
$metadata: deserializeMetadata(output),
|
|
890
|
+
});
|
|
891
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
892
|
+
const doc = smithyClient.take(data, {
|
|
893
|
+
ConfigurationChecks: smithyClient._json,
|
|
894
|
+
NextToken: smithyClient.expectString,
|
|
895
|
+
});
|
|
896
|
+
Object.assign(contents, doc);
|
|
897
|
+
return contents;
|
|
898
|
+
};
|
|
899
|
+
const de_ListConfigurationCheckOperationsCommand = async (output, context) => {
|
|
900
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
901
|
+
return de_CommandError(output, context);
|
|
902
|
+
}
|
|
903
|
+
const contents = smithyClient.map({
|
|
904
|
+
$metadata: deserializeMetadata(output),
|
|
905
|
+
});
|
|
906
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
907
|
+
const doc = smithyClient.take(data, {
|
|
908
|
+
ConfigurationCheckOperations: (_) => de_ConfigurationCheckOperationList(_),
|
|
909
|
+
NextToken: smithyClient.expectString,
|
|
910
|
+
});
|
|
911
|
+
Object.assign(contents, doc);
|
|
912
|
+
return contents;
|
|
913
|
+
};
|
|
914
|
+
const de_ListDatabasesCommand = async (output, context) => {
|
|
915
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
916
|
+
return de_CommandError(output, context);
|
|
917
|
+
}
|
|
918
|
+
const contents = smithyClient.map({
|
|
919
|
+
$metadata: deserializeMetadata(output),
|
|
920
|
+
});
|
|
921
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
922
|
+
const doc = smithyClient.take(data, {
|
|
923
|
+
Databases: smithyClient._json,
|
|
924
|
+
NextToken: smithyClient.expectString,
|
|
925
|
+
});
|
|
926
|
+
Object.assign(contents, doc);
|
|
927
|
+
return contents;
|
|
928
|
+
};
|
|
929
|
+
const de_ListOperationEventsCommand = async (output, context) => {
|
|
930
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
931
|
+
return de_CommandError(output, context);
|
|
932
|
+
}
|
|
933
|
+
const contents = smithyClient.map({
|
|
934
|
+
$metadata: deserializeMetadata(output),
|
|
935
|
+
});
|
|
936
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
937
|
+
const doc = smithyClient.take(data, {
|
|
938
|
+
NextToken: smithyClient.expectString,
|
|
939
|
+
OperationEvents: (_) => de_OperationEventList(_),
|
|
940
|
+
});
|
|
941
|
+
Object.assign(contents, doc);
|
|
942
|
+
return contents;
|
|
943
|
+
};
|
|
944
|
+
const de_ListOperationsCommand = async (output, context) => {
|
|
945
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
946
|
+
return de_CommandError(output, context);
|
|
947
|
+
}
|
|
948
|
+
const contents = smithyClient.map({
|
|
949
|
+
$metadata: deserializeMetadata(output),
|
|
950
|
+
});
|
|
951
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
952
|
+
const doc = smithyClient.take(data, {
|
|
953
|
+
NextToken: smithyClient.expectString,
|
|
954
|
+
Operations: (_) => de_OperationList(_),
|
|
955
|
+
});
|
|
956
|
+
Object.assign(contents, doc);
|
|
957
|
+
return contents;
|
|
958
|
+
};
|
|
959
|
+
const de_ListSubCheckResultsCommand = async (output, context) => {
|
|
960
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
961
|
+
return de_CommandError(output, context);
|
|
962
|
+
}
|
|
963
|
+
const contents = smithyClient.map({
|
|
964
|
+
$metadata: deserializeMetadata(output),
|
|
965
|
+
});
|
|
966
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
967
|
+
const doc = smithyClient.take(data, {
|
|
968
|
+
NextToken: smithyClient.expectString,
|
|
969
|
+
SubCheckResults: smithyClient._json,
|
|
970
|
+
});
|
|
971
|
+
Object.assign(contents, doc);
|
|
972
|
+
return contents;
|
|
973
|
+
};
|
|
974
|
+
const de_ListSubCheckRuleResultsCommand = async (output, context) => {
|
|
975
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
976
|
+
return de_CommandError(output, context);
|
|
977
|
+
}
|
|
978
|
+
const contents = smithyClient.map({
|
|
979
|
+
$metadata: deserializeMetadata(output),
|
|
980
|
+
});
|
|
981
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
982
|
+
const doc = smithyClient.take(data, {
|
|
983
|
+
NextToken: smithyClient.expectString,
|
|
984
|
+
RuleResults: smithyClient._json,
|
|
985
|
+
});
|
|
986
|
+
Object.assign(contents, doc);
|
|
987
|
+
return contents;
|
|
988
|
+
};
|
|
989
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
990
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
991
|
+
return de_CommandError(output, context);
|
|
992
|
+
}
|
|
993
|
+
const contents = smithyClient.map({
|
|
994
|
+
$metadata: deserializeMetadata(output),
|
|
995
|
+
});
|
|
996
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
997
|
+
const doc = smithyClient.take(data, {
|
|
998
|
+
tags: smithyClient._json,
|
|
999
|
+
});
|
|
1000
|
+
Object.assign(contents, doc);
|
|
1001
|
+
return contents;
|
|
1002
|
+
};
|
|
1003
|
+
const de_PutResourcePermissionCommand = async (output, context) => {
|
|
1004
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1005
|
+
return de_CommandError(output, context);
|
|
1006
|
+
}
|
|
1007
|
+
const contents = smithyClient.map({
|
|
1008
|
+
$metadata: deserializeMetadata(output),
|
|
1009
|
+
});
|
|
1010
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1011
|
+
const doc = smithyClient.take(data, {
|
|
1012
|
+
Policy: smithyClient.expectString,
|
|
1013
|
+
});
|
|
1014
|
+
Object.assign(contents, doc);
|
|
1015
|
+
return contents;
|
|
1016
|
+
};
|
|
1017
|
+
const de_RegisterApplicationCommand = async (output, context) => {
|
|
1018
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1019
|
+
return de_CommandError(output, context);
|
|
1020
|
+
}
|
|
1021
|
+
const contents = smithyClient.map({
|
|
1022
|
+
$metadata: deserializeMetadata(output),
|
|
1023
|
+
});
|
|
1024
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1025
|
+
const doc = smithyClient.take(data, {
|
|
1026
|
+
Application: (_) => de_Application(_),
|
|
1027
|
+
OperationId: smithyClient.expectString,
|
|
1028
|
+
});
|
|
1029
|
+
Object.assign(contents, doc);
|
|
1030
|
+
return contents;
|
|
1031
|
+
};
|
|
1032
|
+
const de_StartApplicationCommand = async (output, context) => {
|
|
1033
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1034
|
+
return de_CommandError(output, context);
|
|
1035
|
+
}
|
|
1036
|
+
const contents = smithyClient.map({
|
|
1037
|
+
$metadata: deserializeMetadata(output),
|
|
1038
|
+
});
|
|
1039
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1040
|
+
const doc = smithyClient.take(data, {
|
|
1041
|
+
OperationId: smithyClient.expectString,
|
|
1042
|
+
});
|
|
1043
|
+
Object.assign(contents, doc);
|
|
1044
|
+
return contents;
|
|
1045
|
+
};
|
|
1046
|
+
const de_StartApplicationRefreshCommand = async (output, context) => {
|
|
1047
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1048
|
+
return de_CommandError(output, context);
|
|
1049
|
+
}
|
|
1050
|
+
const contents = smithyClient.map({
|
|
1051
|
+
$metadata: deserializeMetadata(output),
|
|
1052
|
+
});
|
|
1053
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1054
|
+
const doc = smithyClient.take(data, {
|
|
1055
|
+
OperationId: smithyClient.expectString,
|
|
1056
|
+
});
|
|
1057
|
+
Object.assign(contents, doc);
|
|
1058
|
+
return contents;
|
|
1059
|
+
};
|
|
1060
|
+
const de_StartConfigurationChecksCommand = async (output, context) => {
|
|
1061
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1062
|
+
return de_CommandError(output, context);
|
|
1063
|
+
}
|
|
1064
|
+
const contents = smithyClient.map({
|
|
1065
|
+
$metadata: deserializeMetadata(output),
|
|
1066
|
+
});
|
|
1067
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1068
|
+
const doc = smithyClient.take(data, {
|
|
1069
|
+
ConfigurationCheckOperations: (_) => de_ConfigurationCheckOperationList(_),
|
|
1070
|
+
});
|
|
1071
|
+
Object.assign(contents, doc);
|
|
1072
|
+
return contents;
|
|
1073
|
+
};
|
|
1074
|
+
const de_StopApplicationCommand = async (output, context) => {
|
|
1075
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1076
|
+
return de_CommandError(output, context);
|
|
1077
|
+
}
|
|
1078
|
+
const contents = smithyClient.map({
|
|
1079
|
+
$metadata: deserializeMetadata(output),
|
|
1080
|
+
});
|
|
1081
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1082
|
+
const doc = smithyClient.take(data, {
|
|
1083
|
+
OperationId: smithyClient.expectString,
|
|
1084
|
+
});
|
|
1085
|
+
Object.assign(contents, doc);
|
|
1086
|
+
return contents;
|
|
1087
|
+
};
|
|
1088
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1089
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1090
|
+
return de_CommandError(output, context);
|
|
1091
|
+
}
|
|
1092
|
+
const contents = smithyClient.map({
|
|
1093
|
+
$metadata: deserializeMetadata(output),
|
|
1094
|
+
});
|
|
1095
|
+
await smithyClient.collectBody(output.body, context);
|
|
1096
|
+
return contents;
|
|
1097
|
+
};
|
|
1098
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1099
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1100
|
+
return de_CommandError(output, context);
|
|
1101
|
+
}
|
|
1102
|
+
const contents = smithyClient.map({
|
|
1103
|
+
$metadata: deserializeMetadata(output),
|
|
1104
|
+
});
|
|
1105
|
+
await smithyClient.collectBody(output.body, context);
|
|
1106
|
+
return contents;
|
|
1107
|
+
};
|
|
1108
|
+
const de_UpdateApplicationSettingsCommand = async (output, context) => {
|
|
1109
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1110
|
+
return de_CommandError(output, context);
|
|
1111
|
+
}
|
|
1112
|
+
const contents = smithyClient.map({
|
|
1113
|
+
$metadata: deserializeMetadata(output),
|
|
1114
|
+
});
|
|
1115
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1116
|
+
const doc = smithyClient.take(data, {
|
|
1117
|
+
Message: smithyClient.expectString,
|
|
1118
|
+
OperationIds: smithyClient._json,
|
|
1119
|
+
});
|
|
1120
|
+
Object.assign(contents, doc);
|
|
1121
|
+
return contents;
|
|
1122
|
+
};
|
|
1123
|
+
const de_CommandError = async (output, context) => {
|
|
1124
|
+
const parsedOutput = {
|
|
1125
|
+
...output,
|
|
1126
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1127
|
+
};
|
|
1128
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1129
|
+
switch (errorCode) {
|
|
1130
|
+
case "InternalServerException":
|
|
1131
|
+
case "com.amazonaws.ssmsap#InternalServerException":
|
|
1132
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1133
|
+
case "ResourceNotFoundException":
|
|
1134
|
+
case "com.amazonaws.ssmsap#ResourceNotFoundException":
|
|
1135
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1136
|
+
case "ValidationException":
|
|
1137
|
+
case "com.amazonaws.ssmsap#ValidationException":
|
|
1138
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1139
|
+
case "UnauthorizedException":
|
|
1140
|
+
case "com.amazonaws.ssmsap#UnauthorizedException":
|
|
1141
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
1142
|
+
case "ConflictException":
|
|
1143
|
+
case "com.amazonaws.ssmsap#ConflictException":
|
|
1144
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1145
|
+
default:
|
|
1146
|
+
const parsedBody = parsedOutput.body;
|
|
1147
|
+
return throwDefaultError({
|
|
1148
|
+
output,
|
|
1149
|
+
parsedBody,
|
|
1150
|
+
errorCode,
|
|
1151
|
+
});
|
|
1152
|
+
}
|
|
1153
|
+
};
|
|
1154
|
+
const throwDefaultError = smithyClient.withBaseException(SsmSapServiceException);
|
|
1155
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1156
|
+
const contents = smithyClient.map({});
|
|
1157
|
+
const data = parsedOutput.body;
|
|
1158
|
+
const doc = smithyClient.take(data, {
|
|
1159
|
+
Message: smithyClient.expectString,
|
|
1160
|
+
});
|
|
1161
|
+
Object.assign(contents, doc);
|
|
1162
|
+
const exception = new ConflictException({
|
|
1163
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1164
|
+
...contents,
|
|
1165
|
+
});
|
|
1166
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1167
|
+
};
|
|
1168
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1169
|
+
const contents = smithyClient.map({});
|
|
1170
|
+
const data = parsedOutput.body;
|
|
1171
|
+
const doc = smithyClient.take(data, {
|
|
1172
|
+
Message: smithyClient.expectString,
|
|
1173
|
+
});
|
|
1174
|
+
Object.assign(contents, doc);
|
|
1175
|
+
const exception = new InternalServerException({
|
|
1176
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1177
|
+
...contents,
|
|
1178
|
+
});
|
|
1179
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1180
|
+
};
|
|
1181
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1182
|
+
const contents = smithyClient.map({});
|
|
1183
|
+
const data = parsedOutput.body;
|
|
1184
|
+
const doc = smithyClient.take(data, {
|
|
1185
|
+
Message: smithyClient.expectString,
|
|
1186
|
+
});
|
|
1187
|
+
Object.assign(contents, doc);
|
|
1188
|
+
const exception = new ResourceNotFoundException({
|
|
1189
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1190
|
+
...contents,
|
|
1191
|
+
});
|
|
1192
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1193
|
+
};
|
|
1194
|
+
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1195
|
+
const contents = smithyClient.map({});
|
|
1196
|
+
const data = parsedOutput.body;
|
|
1197
|
+
const doc = smithyClient.take(data, {
|
|
1198
|
+
Message: smithyClient.expectString,
|
|
1199
|
+
});
|
|
1200
|
+
Object.assign(contents, doc);
|
|
1201
|
+
const exception = new UnauthorizedException({
|
|
1202
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1203
|
+
...contents,
|
|
1204
|
+
});
|
|
1205
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1206
|
+
};
|
|
1207
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1208
|
+
const contents = smithyClient.map({});
|
|
1209
|
+
const data = parsedOutput.body;
|
|
1210
|
+
const doc = smithyClient.take(data, {
|
|
1211
|
+
Message: smithyClient.expectString,
|
|
1212
|
+
});
|
|
1213
|
+
Object.assign(contents, doc);
|
|
1214
|
+
const exception = new ValidationException({
|
|
1215
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1216
|
+
...contents,
|
|
1217
|
+
});
|
|
1218
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1219
|
+
};
|
|
1220
|
+
const de_Application = (output, context) => {
|
|
1221
|
+
return smithyClient.take(output, {
|
|
1222
|
+
AppRegistryArn: smithyClient.expectString,
|
|
1223
|
+
Arn: smithyClient.expectString,
|
|
1224
|
+
AssociatedApplicationArns: smithyClient._json,
|
|
1225
|
+
Components: smithyClient._json,
|
|
1226
|
+
DiscoveryStatus: smithyClient.expectString,
|
|
1227
|
+
Id: smithyClient.expectString,
|
|
1228
|
+
LastUpdated: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1229
|
+
Status: smithyClient.expectString,
|
|
1230
|
+
StatusMessage: smithyClient.expectString,
|
|
1231
|
+
Type: smithyClient.expectString,
|
|
1232
|
+
});
|
|
1233
|
+
};
|
|
1234
|
+
const de_Component = (output, context) => {
|
|
1235
|
+
return smithyClient.take(output, {
|
|
1236
|
+
ApplicationId: smithyClient.expectString,
|
|
1237
|
+
Arn: smithyClient.expectString,
|
|
1238
|
+
AssociatedHost: smithyClient._json,
|
|
1239
|
+
ChildComponents: smithyClient._json,
|
|
1240
|
+
ComponentId: smithyClient.expectString,
|
|
1241
|
+
ComponentType: smithyClient.expectString,
|
|
1242
|
+
DatabaseConnection: smithyClient._json,
|
|
1243
|
+
Databases: smithyClient._json,
|
|
1244
|
+
HdbVersion: smithyClient.expectString,
|
|
1245
|
+
Hosts: smithyClient._json,
|
|
1246
|
+
LastUpdated: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1247
|
+
ParentComponent: smithyClient.expectString,
|
|
1248
|
+
PrimaryHost: smithyClient.expectString,
|
|
1249
|
+
Resilience: smithyClient._json,
|
|
1250
|
+
SapFeature: smithyClient.expectString,
|
|
1251
|
+
SapHostname: smithyClient.expectString,
|
|
1252
|
+
SapKernelVersion: smithyClient.expectString,
|
|
1253
|
+
Sid: smithyClient.expectString,
|
|
1254
|
+
Status: smithyClient.expectString,
|
|
1255
|
+
SystemNumber: smithyClient.expectString,
|
|
1256
|
+
});
|
|
1257
|
+
};
|
|
1258
|
+
const de_ConfigurationCheckOperation = (output, context) => {
|
|
1259
|
+
return smithyClient.take(output, {
|
|
1260
|
+
ApplicationId: smithyClient.expectString,
|
|
1261
|
+
ConfigurationCheckDescription: smithyClient.expectString,
|
|
1262
|
+
ConfigurationCheckId: smithyClient.expectString,
|
|
1263
|
+
ConfigurationCheckName: smithyClient.expectString,
|
|
1264
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1265
|
+
Id: smithyClient.expectString,
|
|
1266
|
+
RuleStatusCounts: smithyClient._json,
|
|
1267
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1268
|
+
Status: smithyClient.expectString,
|
|
1269
|
+
StatusMessage: smithyClient.expectString,
|
|
1270
|
+
});
|
|
1271
|
+
};
|
|
1272
|
+
const de_ConfigurationCheckOperationList = (output, context) => {
|
|
1273
|
+
const retVal = (output || [])
|
|
1274
|
+
.filter((e) => e != null)
|
|
1275
|
+
.map((entry) => {
|
|
1276
|
+
return de_ConfigurationCheckOperation(entry);
|
|
1277
|
+
});
|
|
1278
|
+
return retVal;
|
|
1279
|
+
};
|
|
1280
|
+
const de_Database = (output, context) => {
|
|
1281
|
+
return smithyClient.take(output, {
|
|
1282
|
+
ApplicationId: smithyClient.expectString,
|
|
1283
|
+
Arn: smithyClient.expectString,
|
|
1284
|
+
ComponentId: smithyClient.expectString,
|
|
1285
|
+
ConnectedComponentArns: smithyClient._json,
|
|
1286
|
+
Credentials: smithyClient._json,
|
|
1287
|
+
DatabaseId: smithyClient.expectString,
|
|
1288
|
+
DatabaseName: smithyClient.expectString,
|
|
1289
|
+
DatabaseType: smithyClient.expectString,
|
|
1290
|
+
LastUpdated: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1291
|
+
PrimaryHost: smithyClient.expectString,
|
|
1292
|
+
SQLPort: smithyClient.expectInt32,
|
|
1293
|
+
Status: smithyClient.expectString,
|
|
1294
|
+
});
|
|
1295
|
+
};
|
|
1296
|
+
const de_Operation = (output, context) => {
|
|
1297
|
+
return smithyClient.take(output, {
|
|
1298
|
+
EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1299
|
+
Id: smithyClient.expectString,
|
|
1300
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1301
|
+
Properties: (_) => de_OperationProperties(_),
|
|
1302
|
+
ResourceArn: smithyClient.expectString,
|
|
1303
|
+
ResourceId: smithyClient.expectString,
|
|
1304
|
+
ResourceType: smithyClient.expectString,
|
|
1305
|
+
StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1306
|
+
Status: smithyClient.expectString,
|
|
1307
|
+
StatusMessage: smithyClient.expectString,
|
|
1308
|
+
Type: smithyClient.expectString,
|
|
1309
|
+
});
|
|
1310
|
+
};
|
|
1311
|
+
const de_OperationEvent = (output, context) => {
|
|
1312
|
+
return smithyClient.take(output, {
|
|
1313
|
+
Description: smithyClient.expectString,
|
|
1314
|
+
Resource: smithyClient._json,
|
|
1315
|
+
Status: smithyClient.expectString,
|
|
1316
|
+
StatusMessage: smithyClient.expectString,
|
|
1317
|
+
Timestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1318
|
+
});
|
|
1319
|
+
};
|
|
1320
|
+
const de_OperationEventList = (output, context) => {
|
|
1321
|
+
const retVal = (output || [])
|
|
1322
|
+
.filter((e) => e != null)
|
|
1323
|
+
.map((entry) => {
|
|
1324
|
+
return de_OperationEvent(entry);
|
|
1325
|
+
});
|
|
1326
|
+
return retVal;
|
|
1327
|
+
};
|
|
1328
|
+
const de_OperationList = (output, context) => {
|
|
1329
|
+
const retVal = (output || [])
|
|
1330
|
+
.filter((e) => e != null)
|
|
1331
|
+
.map((entry) => {
|
|
1332
|
+
return de_Operation(entry);
|
|
1333
|
+
});
|
|
1334
|
+
return retVal;
|
|
1335
|
+
};
|
|
1336
|
+
const de_OperationProperties = (output, context) => {
|
|
1337
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1338
|
+
if (value === null) {
|
|
1339
|
+
acc[key] = null;
|
|
1340
|
+
return acc;
|
|
1341
|
+
}
|
|
1342
|
+
acc[key] = smithyClient.expectString(value);
|
|
1343
|
+
return acc;
|
|
1344
|
+
}, {});
|
|
1345
|
+
};
|
|
1346
|
+
const deserializeMetadata = (output) => ({
|
|
1347
|
+
httpStatusCode: output.statusCode,
|
|
1348
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1349
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1350
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1351
|
+
});
|
|
1352
|
+
const _tK = "tagKeys";
|
|
1353
|
+
|
|
1354
|
+
class DeleteResourcePermissionCommand extends smithyClient.Command
|
|
1355
|
+
.classBuilder()
|
|
1356
|
+
.ep(commonParams)
|
|
1357
|
+
.m(function (Command, cs, config, o) {
|
|
1358
|
+
return [
|
|
1359
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1360
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1361
|
+
];
|
|
1362
|
+
})
|
|
1363
|
+
.s("SsmSap", "DeleteResourcePermission", {})
|
|
1364
|
+
.n("SsmSapClient", "DeleteResourcePermissionCommand")
|
|
1365
|
+
.f(void 0, void 0)
|
|
1366
|
+
.ser(se_DeleteResourcePermissionCommand)
|
|
1367
|
+
.de(de_DeleteResourcePermissionCommand)
|
|
1368
|
+
.build() {
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
class DeregisterApplicationCommand extends smithyClient.Command
|
|
1372
|
+
.classBuilder()
|
|
1373
|
+
.ep(commonParams)
|
|
1374
|
+
.m(function (Command, cs, config, o) {
|
|
1375
|
+
return [
|
|
1376
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1377
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1378
|
+
];
|
|
1379
|
+
})
|
|
1380
|
+
.s("SsmSap", "DeregisterApplication", {})
|
|
1381
|
+
.n("SsmSapClient", "DeregisterApplicationCommand")
|
|
1382
|
+
.f(void 0, void 0)
|
|
1383
|
+
.ser(se_DeregisterApplicationCommand)
|
|
1384
|
+
.de(de_DeregisterApplicationCommand)
|
|
1385
|
+
.build() {
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
class GetApplicationCommand extends smithyClient.Command
|
|
1389
|
+
.classBuilder()
|
|
1390
|
+
.ep(commonParams)
|
|
1391
|
+
.m(function (Command, cs, config, o) {
|
|
1392
|
+
return [
|
|
1393
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1394
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1395
|
+
];
|
|
1396
|
+
})
|
|
1397
|
+
.s("SsmSap", "GetApplication", {})
|
|
1398
|
+
.n("SsmSapClient", "GetApplicationCommand")
|
|
1399
|
+
.f(void 0, void 0)
|
|
1400
|
+
.ser(se_GetApplicationCommand)
|
|
1401
|
+
.de(de_GetApplicationCommand)
|
|
1402
|
+
.build() {
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
class GetComponentCommand extends smithyClient.Command
|
|
1406
|
+
.classBuilder()
|
|
1407
|
+
.ep(commonParams)
|
|
1408
|
+
.m(function (Command, cs, config, o) {
|
|
1409
|
+
return [
|
|
1410
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1411
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1412
|
+
];
|
|
1413
|
+
})
|
|
1414
|
+
.s("SsmSap", "GetComponent", {})
|
|
1415
|
+
.n("SsmSapClient", "GetComponentCommand")
|
|
1416
|
+
.f(void 0, void 0)
|
|
1417
|
+
.ser(se_GetComponentCommand)
|
|
1418
|
+
.de(de_GetComponentCommand)
|
|
1419
|
+
.build() {
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
class GetConfigurationCheckOperationCommand extends smithyClient.Command
|
|
1423
|
+
.classBuilder()
|
|
1424
|
+
.ep(commonParams)
|
|
1425
|
+
.m(function (Command, cs, config, o) {
|
|
1426
|
+
return [
|
|
1427
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1428
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1429
|
+
];
|
|
1430
|
+
})
|
|
1431
|
+
.s("SsmSap", "GetConfigurationCheckOperation", {})
|
|
1432
|
+
.n("SsmSapClient", "GetConfigurationCheckOperationCommand")
|
|
1433
|
+
.f(void 0, void 0)
|
|
1434
|
+
.ser(se_GetConfigurationCheckOperationCommand)
|
|
1435
|
+
.de(de_GetConfigurationCheckOperationCommand)
|
|
1436
|
+
.build() {
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
class GetDatabaseCommand extends smithyClient.Command
|
|
1440
|
+
.classBuilder()
|
|
1441
|
+
.ep(commonParams)
|
|
1442
|
+
.m(function (Command, cs, config, o) {
|
|
1443
|
+
return [
|
|
1444
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1445
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1446
|
+
];
|
|
1447
|
+
})
|
|
1448
|
+
.s("SsmSap", "GetDatabase", {})
|
|
1449
|
+
.n("SsmSapClient", "GetDatabaseCommand")
|
|
1450
|
+
.f(void 0, GetDatabaseOutputFilterSensitiveLog)
|
|
1451
|
+
.ser(se_GetDatabaseCommand)
|
|
1452
|
+
.de(de_GetDatabaseCommand)
|
|
1453
|
+
.build() {
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
class GetOperationCommand extends smithyClient.Command
|
|
1457
|
+
.classBuilder()
|
|
1458
|
+
.ep(commonParams)
|
|
1459
|
+
.m(function (Command, cs, config, o) {
|
|
1460
|
+
return [
|
|
1461
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1462
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1463
|
+
];
|
|
1464
|
+
})
|
|
1465
|
+
.s("SsmSap", "GetOperation", {})
|
|
1466
|
+
.n("SsmSapClient", "GetOperationCommand")
|
|
1467
|
+
.f(void 0, void 0)
|
|
1468
|
+
.ser(se_GetOperationCommand)
|
|
1469
|
+
.de(de_GetOperationCommand)
|
|
1470
|
+
.build() {
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
class GetResourcePermissionCommand extends smithyClient.Command
|
|
1474
|
+
.classBuilder()
|
|
1475
|
+
.ep(commonParams)
|
|
1476
|
+
.m(function (Command, cs, config, o) {
|
|
1477
|
+
return [
|
|
1478
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1479
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1480
|
+
];
|
|
1481
|
+
})
|
|
1482
|
+
.s("SsmSap", "GetResourcePermission", {})
|
|
1483
|
+
.n("SsmSapClient", "GetResourcePermissionCommand")
|
|
1484
|
+
.f(void 0, void 0)
|
|
1485
|
+
.ser(se_GetResourcePermissionCommand)
|
|
1486
|
+
.de(de_GetResourcePermissionCommand)
|
|
1487
|
+
.build() {
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
class ListApplicationsCommand extends smithyClient.Command
|
|
1491
|
+
.classBuilder()
|
|
1492
|
+
.ep(commonParams)
|
|
1493
|
+
.m(function (Command, cs, config, o) {
|
|
1494
|
+
return [
|
|
1495
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1496
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1497
|
+
];
|
|
1498
|
+
})
|
|
1499
|
+
.s("SsmSap", "ListApplications", {})
|
|
1500
|
+
.n("SsmSapClient", "ListApplicationsCommand")
|
|
1501
|
+
.f(void 0, void 0)
|
|
1502
|
+
.ser(se_ListApplicationsCommand)
|
|
1503
|
+
.de(de_ListApplicationsCommand)
|
|
1504
|
+
.build() {
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
class ListComponentsCommand extends smithyClient.Command
|
|
1508
|
+
.classBuilder()
|
|
1509
|
+
.ep(commonParams)
|
|
1510
|
+
.m(function (Command, cs, config, o) {
|
|
1511
|
+
return [
|
|
1512
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1513
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1514
|
+
];
|
|
1515
|
+
})
|
|
1516
|
+
.s("SsmSap", "ListComponents", {})
|
|
1517
|
+
.n("SsmSapClient", "ListComponentsCommand")
|
|
1518
|
+
.f(void 0, void 0)
|
|
1519
|
+
.ser(se_ListComponentsCommand)
|
|
1520
|
+
.de(de_ListComponentsCommand)
|
|
1521
|
+
.build() {
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
class ListConfigurationCheckDefinitionsCommand extends smithyClient.Command
|
|
1525
|
+
.classBuilder()
|
|
1526
|
+
.ep(commonParams)
|
|
1527
|
+
.m(function (Command, cs, config, o) {
|
|
1528
|
+
return [
|
|
1529
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1530
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1531
|
+
];
|
|
1532
|
+
})
|
|
1533
|
+
.s("SsmSap", "ListConfigurationCheckDefinitions", {})
|
|
1534
|
+
.n("SsmSapClient", "ListConfigurationCheckDefinitionsCommand")
|
|
1535
|
+
.f(void 0, void 0)
|
|
1536
|
+
.ser(se_ListConfigurationCheckDefinitionsCommand)
|
|
1537
|
+
.de(de_ListConfigurationCheckDefinitionsCommand)
|
|
1538
|
+
.build() {
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
class ListConfigurationCheckOperationsCommand extends smithyClient.Command
|
|
1542
|
+
.classBuilder()
|
|
1543
|
+
.ep(commonParams)
|
|
1544
|
+
.m(function (Command, cs, config, o) {
|
|
1545
|
+
return [
|
|
1546
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1547
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1548
|
+
];
|
|
1549
|
+
})
|
|
1550
|
+
.s("SsmSap", "ListConfigurationCheckOperations", {})
|
|
1551
|
+
.n("SsmSapClient", "ListConfigurationCheckOperationsCommand")
|
|
1552
|
+
.f(void 0, void 0)
|
|
1553
|
+
.ser(se_ListConfigurationCheckOperationsCommand)
|
|
1554
|
+
.de(de_ListConfigurationCheckOperationsCommand)
|
|
1555
|
+
.build() {
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
class ListDatabasesCommand extends smithyClient.Command
|
|
1559
|
+
.classBuilder()
|
|
1560
|
+
.ep(commonParams)
|
|
1561
|
+
.m(function (Command, cs, config, o) {
|
|
1562
|
+
return [
|
|
1563
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1564
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1565
|
+
];
|
|
1566
|
+
})
|
|
1567
|
+
.s("SsmSap", "ListDatabases", {})
|
|
1568
|
+
.n("SsmSapClient", "ListDatabasesCommand")
|
|
1569
|
+
.f(void 0, void 0)
|
|
1570
|
+
.ser(se_ListDatabasesCommand)
|
|
1571
|
+
.de(de_ListDatabasesCommand)
|
|
1572
|
+
.build() {
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
class ListOperationEventsCommand extends smithyClient.Command
|
|
1576
|
+
.classBuilder()
|
|
1577
|
+
.ep(commonParams)
|
|
1578
|
+
.m(function (Command, cs, config, o) {
|
|
1579
|
+
return [
|
|
1580
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1581
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1582
|
+
];
|
|
1583
|
+
})
|
|
1584
|
+
.s("SsmSap", "ListOperationEvents", {})
|
|
1585
|
+
.n("SsmSapClient", "ListOperationEventsCommand")
|
|
1586
|
+
.f(void 0, void 0)
|
|
1587
|
+
.ser(se_ListOperationEventsCommand)
|
|
1588
|
+
.de(de_ListOperationEventsCommand)
|
|
1589
|
+
.build() {
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
class ListOperationsCommand extends smithyClient.Command
|
|
1593
|
+
.classBuilder()
|
|
1594
|
+
.ep(commonParams)
|
|
1595
|
+
.m(function (Command, cs, config, o) {
|
|
1596
|
+
return [
|
|
1597
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1598
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1599
|
+
];
|
|
1600
|
+
})
|
|
1601
|
+
.s("SsmSap", "ListOperations", {})
|
|
1602
|
+
.n("SsmSapClient", "ListOperationsCommand")
|
|
1603
|
+
.f(void 0, void 0)
|
|
1604
|
+
.ser(se_ListOperationsCommand)
|
|
1605
|
+
.de(de_ListOperationsCommand)
|
|
1606
|
+
.build() {
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
class ListSubCheckResultsCommand extends smithyClient.Command
|
|
1610
|
+
.classBuilder()
|
|
1611
|
+
.ep(commonParams)
|
|
1612
|
+
.m(function (Command, cs, config, o) {
|
|
1613
|
+
return [
|
|
1614
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1615
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1616
|
+
];
|
|
1617
|
+
})
|
|
1618
|
+
.s("SsmSap", "ListSubCheckResults", {})
|
|
1619
|
+
.n("SsmSapClient", "ListSubCheckResultsCommand")
|
|
1620
|
+
.f(void 0, void 0)
|
|
1621
|
+
.ser(se_ListSubCheckResultsCommand)
|
|
1622
|
+
.de(de_ListSubCheckResultsCommand)
|
|
1623
|
+
.build() {
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
class ListSubCheckRuleResultsCommand extends smithyClient.Command
|
|
1627
|
+
.classBuilder()
|
|
1628
|
+
.ep(commonParams)
|
|
1629
|
+
.m(function (Command, cs, config, o) {
|
|
1630
|
+
return [
|
|
1631
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1632
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1633
|
+
];
|
|
1634
|
+
})
|
|
1635
|
+
.s("SsmSap", "ListSubCheckRuleResults", {})
|
|
1636
|
+
.n("SsmSapClient", "ListSubCheckRuleResultsCommand")
|
|
1637
|
+
.f(void 0, void 0)
|
|
1638
|
+
.ser(se_ListSubCheckRuleResultsCommand)
|
|
1639
|
+
.de(de_ListSubCheckRuleResultsCommand)
|
|
1640
|
+
.build() {
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1644
|
+
.classBuilder()
|
|
1645
|
+
.ep(commonParams)
|
|
1646
|
+
.m(function (Command, cs, config, o) {
|
|
1647
|
+
return [
|
|
1648
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1649
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1650
|
+
];
|
|
1651
|
+
})
|
|
1652
|
+
.s("SsmSap", "ListTagsForResource", {})
|
|
1653
|
+
.n("SsmSapClient", "ListTagsForResourceCommand")
|
|
1654
|
+
.f(void 0, void 0)
|
|
1655
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1656
|
+
.de(de_ListTagsForResourceCommand)
|
|
1657
|
+
.build() {
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
class PutResourcePermissionCommand extends smithyClient.Command
|
|
1661
|
+
.classBuilder()
|
|
1662
|
+
.ep(commonParams)
|
|
1663
|
+
.m(function (Command, cs, config, o) {
|
|
1664
|
+
return [
|
|
1665
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1666
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1667
|
+
];
|
|
1668
|
+
})
|
|
1669
|
+
.s("SsmSap", "PutResourcePermission", {})
|
|
1670
|
+
.n("SsmSapClient", "PutResourcePermissionCommand")
|
|
1671
|
+
.f(void 0, void 0)
|
|
1672
|
+
.ser(se_PutResourcePermissionCommand)
|
|
1673
|
+
.de(de_PutResourcePermissionCommand)
|
|
1674
|
+
.build() {
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
class RegisterApplicationCommand extends smithyClient.Command
|
|
1678
|
+
.classBuilder()
|
|
1679
|
+
.ep(commonParams)
|
|
1680
|
+
.m(function (Command, cs, config, o) {
|
|
1681
|
+
return [
|
|
1682
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1683
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1684
|
+
];
|
|
1685
|
+
})
|
|
1686
|
+
.s("SsmSap", "RegisterApplication", {})
|
|
1687
|
+
.n("SsmSapClient", "RegisterApplicationCommand")
|
|
1688
|
+
.f(RegisterApplicationInputFilterSensitiveLog, void 0)
|
|
1689
|
+
.ser(se_RegisterApplicationCommand)
|
|
1690
|
+
.de(de_RegisterApplicationCommand)
|
|
1691
|
+
.build() {
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
class StartApplicationCommand extends smithyClient.Command
|
|
1695
|
+
.classBuilder()
|
|
1696
|
+
.ep(commonParams)
|
|
1697
|
+
.m(function (Command, cs, config, o) {
|
|
1698
|
+
return [
|
|
1699
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1700
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1701
|
+
];
|
|
1702
|
+
})
|
|
1703
|
+
.s("SsmSap", "StartApplication", {})
|
|
1704
|
+
.n("SsmSapClient", "StartApplicationCommand")
|
|
1705
|
+
.f(void 0, void 0)
|
|
1706
|
+
.ser(se_StartApplicationCommand)
|
|
1707
|
+
.de(de_StartApplicationCommand)
|
|
1708
|
+
.build() {
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
class StartApplicationRefreshCommand extends smithyClient.Command
|
|
1712
|
+
.classBuilder()
|
|
1713
|
+
.ep(commonParams)
|
|
1714
|
+
.m(function (Command, cs, config, o) {
|
|
1715
|
+
return [
|
|
1716
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1717
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1718
|
+
];
|
|
1719
|
+
})
|
|
1720
|
+
.s("SsmSap", "StartApplicationRefresh", {})
|
|
1721
|
+
.n("SsmSapClient", "StartApplicationRefreshCommand")
|
|
1722
|
+
.f(void 0, void 0)
|
|
1723
|
+
.ser(se_StartApplicationRefreshCommand)
|
|
1724
|
+
.de(de_StartApplicationRefreshCommand)
|
|
1725
|
+
.build() {
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
class StartConfigurationChecksCommand extends smithyClient.Command
|
|
1729
|
+
.classBuilder()
|
|
1730
|
+
.ep(commonParams)
|
|
1731
|
+
.m(function (Command, cs, config, o) {
|
|
1732
|
+
return [
|
|
1733
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1734
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1735
|
+
];
|
|
1736
|
+
})
|
|
1737
|
+
.s("SsmSap", "StartConfigurationChecks", {})
|
|
1738
|
+
.n("SsmSapClient", "StartConfigurationChecksCommand")
|
|
1739
|
+
.f(void 0, void 0)
|
|
1740
|
+
.ser(se_StartConfigurationChecksCommand)
|
|
1741
|
+
.de(de_StartConfigurationChecksCommand)
|
|
1742
|
+
.build() {
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
class StopApplicationCommand extends smithyClient.Command
|
|
1746
|
+
.classBuilder()
|
|
1747
|
+
.ep(commonParams)
|
|
1748
|
+
.m(function (Command, cs, config, o) {
|
|
1749
|
+
return [
|
|
1750
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1751
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1752
|
+
];
|
|
1753
|
+
})
|
|
1754
|
+
.s("SsmSap", "StopApplication", {})
|
|
1755
|
+
.n("SsmSapClient", "StopApplicationCommand")
|
|
1756
|
+
.f(void 0, void 0)
|
|
1757
|
+
.ser(se_StopApplicationCommand)
|
|
1758
|
+
.de(de_StopApplicationCommand)
|
|
1759
|
+
.build() {
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1763
|
+
.classBuilder()
|
|
1764
|
+
.ep(commonParams)
|
|
1765
|
+
.m(function (Command, cs, config, o) {
|
|
1766
|
+
return [
|
|
1767
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1768
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1769
|
+
];
|
|
1770
|
+
})
|
|
1771
|
+
.s("SsmSap", "TagResource", {})
|
|
1772
|
+
.n("SsmSapClient", "TagResourceCommand")
|
|
1773
|
+
.f(void 0, void 0)
|
|
1774
|
+
.ser(se_TagResourceCommand)
|
|
1775
|
+
.de(de_TagResourceCommand)
|
|
1776
|
+
.build() {
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1780
|
+
.classBuilder()
|
|
1781
|
+
.ep(commonParams)
|
|
1782
|
+
.m(function (Command, cs, config, o) {
|
|
1783
|
+
return [
|
|
1784
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1785
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1786
|
+
];
|
|
1787
|
+
})
|
|
1788
|
+
.s("SsmSap", "UntagResource", {})
|
|
1789
|
+
.n("SsmSapClient", "UntagResourceCommand")
|
|
1790
|
+
.f(void 0, void 0)
|
|
1791
|
+
.ser(se_UntagResourceCommand)
|
|
1792
|
+
.de(de_UntagResourceCommand)
|
|
1793
|
+
.build() {
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
class UpdateApplicationSettingsCommand extends smithyClient.Command
|
|
1797
|
+
.classBuilder()
|
|
1798
|
+
.ep(commonParams)
|
|
1799
|
+
.m(function (Command, cs, config, o) {
|
|
1800
|
+
return [
|
|
1801
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1802
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1803
|
+
];
|
|
1804
|
+
})
|
|
1805
|
+
.s("SsmSap", "UpdateApplicationSettings", {})
|
|
1806
|
+
.n("SsmSapClient", "UpdateApplicationSettingsCommand")
|
|
1807
|
+
.f(UpdateApplicationSettingsInputFilterSensitiveLog, void 0)
|
|
1808
|
+
.ser(se_UpdateApplicationSettingsCommand)
|
|
1809
|
+
.de(de_UpdateApplicationSettingsCommand)
|
|
1810
|
+
.build() {
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
const commands = {
|
|
1814
|
+
DeleteResourcePermissionCommand,
|
|
1815
|
+
DeregisterApplicationCommand,
|
|
1816
|
+
GetApplicationCommand,
|
|
1817
|
+
GetComponentCommand,
|
|
1818
|
+
GetConfigurationCheckOperationCommand,
|
|
1819
|
+
GetDatabaseCommand,
|
|
1820
|
+
GetOperationCommand,
|
|
1821
|
+
GetResourcePermissionCommand,
|
|
1822
|
+
ListApplicationsCommand,
|
|
1823
|
+
ListComponentsCommand,
|
|
1824
|
+
ListConfigurationCheckDefinitionsCommand,
|
|
1825
|
+
ListConfigurationCheckOperationsCommand,
|
|
1826
|
+
ListDatabasesCommand,
|
|
1827
|
+
ListOperationEventsCommand,
|
|
1828
|
+
ListOperationsCommand,
|
|
1829
|
+
ListSubCheckResultsCommand,
|
|
1830
|
+
ListSubCheckRuleResultsCommand,
|
|
1831
|
+
ListTagsForResourceCommand,
|
|
1832
|
+
PutResourcePermissionCommand,
|
|
1833
|
+
RegisterApplicationCommand,
|
|
1834
|
+
StartApplicationCommand,
|
|
1835
|
+
StartApplicationRefreshCommand,
|
|
1836
|
+
StartConfigurationChecksCommand,
|
|
1837
|
+
StopApplicationCommand,
|
|
1838
|
+
TagResourceCommand,
|
|
1839
|
+
UntagResourceCommand,
|
|
1840
|
+
UpdateApplicationSettingsCommand,
|
|
1841
|
+
};
|
|
1842
|
+
class SsmSap extends SsmSapClient {
|
|
1843
|
+
}
|
|
1844
|
+
smithyClient.createAggregatedClient(commands, SsmSap);
|
|
1983
1845
|
|
|
1984
|
-
|
|
1985
|
-
var commands = {
|
|
1986
|
-
DeleteResourcePermissionCommand,
|
|
1987
|
-
DeregisterApplicationCommand,
|
|
1988
|
-
GetApplicationCommand,
|
|
1989
|
-
GetComponentCommand,
|
|
1990
|
-
GetConfigurationCheckOperationCommand,
|
|
1991
|
-
GetDatabaseCommand,
|
|
1992
|
-
GetOperationCommand,
|
|
1993
|
-
GetResourcePermissionCommand,
|
|
1994
|
-
ListApplicationsCommand,
|
|
1995
|
-
ListComponentsCommand,
|
|
1996
|
-
ListConfigurationCheckDefinitionsCommand,
|
|
1997
|
-
ListConfigurationCheckOperationsCommand,
|
|
1998
|
-
ListDatabasesCommand,
|
|
1999
|
-
ListOperationEventsCommand,
|
|
2000
|
-
ListOperationsCommand,
|
|
2001
|
-
ListSubCheckResultsCommand,
|
|
2002
|
-
ListSubCheckRuleResultsCommand,
|
|
2003
|
-
ListTagsForResourceCommand,
|
|
2004
|
-
PutResourcePermissionCommand,
|
|
2005
|
-
RegisterApplicationCommand,
|
|
2006
|
-
StartApplicationCommand,
|
|
2007
|
-
StartApplicationRefreshCommand,
|
|
2008
|
-
StartConfigurationChecksCommand,
|
|
2009
|
-
StopApplicationCommand,
|
|
2010
|
-
TagResourceCommand,
|
|
2011
|
-
UntagResourceCommand,
|
|
2012
|
-
UpdateApplicationSettingsCommand
|
|
2013
|
-
};
|
|
2014
|
-
var SsmSap = class extends SsmSapClient {
|
|
2015
|
-
static {
|
|
2016
|
-
__name(this, "SsmSap");
|
|
2017
|
-
}
|
|
2018
|
-
};
|
|
2019
|
-
(0, import_smithy_client.createAggregatedClient)(commands, SsmSap);
|
|
2020
|
-
|
|
2021
|
-
// src/pagination/ListApplicationsPaginator.ts
|
|
2022
|
-
|
|
2023
|
-
var paginateListApplications = (0, import_core.createPaginator)(SsmSapClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2024
|
-
|
|
2025
|
-
// src/pagination/ListComponentsPaginator.ts
|
|
2026
|
-
|
|
2027
|
-
var paginateListComponents = (0, import_core.createPaginator)(SsmSapClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2028
|
-
|
|
2029
|
-
// src/pagination/ListConfigurationCheckDefinitionsPaginator.ts
|
|
2030
|
-
|
|
2031
|
-
var paginateListConfigurationCheckDefinitions = (0, import_core.createPaginator)(SsmSapClient, ListConfigurationCheckDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2032
|
-
|
|
2033
|
-
// src/pagination/ListConfigurationCheckOperationsPaginator.ts
|
|
2034
|
-
|
|
2035
|
-
var paginateListConfigurationCheckOperations = (0, import_core.createPaginator)(SsmSapClient, ListConfigurationCheckOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2036
|
-
|
|
2037
|
-
// src/pagination/ListDatabasesPaginator.ts
|
|
2038
|
-
|
|
2039
|
-
var paginateListDatabases = (0, import_core.createPaginator)(SsmSapClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1846
|
+
const paginateListApplications = core.createPaginator(SsmSapClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2040
1847
|
|
|
2041
|
-
|
|
1848
|
+
const paginateListComponents = core.createPaginator(SsmSapClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2042
1849
|
|
|
2043
|
-
|
|
1850
|
+
const paginateListConfigurationCheckDefinitions = core.createPaginator(SsmSapClient, ListConfigurationCheckDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2044
1851
|
|
|
2045
|
-
|
|
1852
|
+
const paginateListConfigurationCheckOperations = core.createPaginator(SsmSapClient, ListConfigurationCheckOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2046
1853
|
|
|
2047
|
-
|
|
1854
|
+
const paginateListDatabases = core.createPaginator(SsmSapClient, ListDatabasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2048
1855
|
|
|
2049
|
-
|
|
1856
|
+
const paginateListOperationEvents = core.createPaginator(SsmSapClient, ListOperationEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2050
1857
|
|
|
2051
|
-
|
|
1858
|
+
const paginateListOperations = core.createPaginator(SsmSapClient, ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2052
1859
|
|
|
2053
|
-
|
|
1860
|
+
const paginateListSubCheckResults = core.createPaginator(SsmSapClient, ListSubCheckResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2054
1861
|
|
|
2055
|
-
|
|
2056
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1862
|
+
const paginateListSubCheckRuleResults = core.createPaginator(SsmSapClient, ListSubCheckRuleResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2057
1863
|
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
SsmSapClient,
|
|
2062
|
-
SsmSap,
|
|
2063
|
-
$Command,
|
|
2064
|
-
DeleteResourcePermissionCommand,
|
|
2065
|
-
DeregisterApplicationCommand,
|
|
2066
|
-
GetApplicationCommand,
|
|
2067
|
-
GetComponentCommand,
|
|
2068
|
-
GetConfigurationCheckOperationCommand,
|
|
2069
|
-
GetDatabaseCommand,
|
|
2070
|
-
GetOperationCommand,
|
|
2071
|
-
GetResourcePermissionCommand,
|
|
2072
|
-
ListApplicationsCommand,
|
|
2073
|
-
ListComponentsCommand,
|
|
2074
|
-
ListConfigurationCheckDefinitionsCommand,
|
|
2075
|
-
ListConfigurationCheckOperationsCommand,
|
|
2076
|
-
ListDatabasesCommand,
|
|
2077
|
-
ListOperationEventsCommand,
|
|
2078
|
-
ListOperationsCommand,
|
|
2079
|
-
ListSubCheckResultsCommand,
|
|
2080
|
-
ListSubCheckRuleResultsCommand,
|
|
2081
|
-
ListTagsForResourceCommand,
|
|
2082
|
-
PutResourcePermissionCommand,
|
|
2083
|
-
RegisterApplicationCommand,
|
|
2084
|
-
StartApplicationCommand,
|
|
2085
|
-
StartApplicationRefreshCommand,
|
|
2086
|
-
StartConfigurationChecksCommand,
|
|
2087
|
-
StopApplicationCommand,
|
|
2088
|
-
TagResourceCommand,
|
|
2089
|
-
UntagResourceCommand,
|
|
2090
|
-
UpdateApplicationSettingsCommand,
|
|
2091
|
-
paginateListApplications,
|
|
2092
|
-
paginateListComponents,
|
|
2093
|
-
paginateListConfigurationCheckDefinitions,
|
|
2094
|
-
paginateListConfigurationCheckOperations,
|
|
2095
|
-
paginateListDatabases,
|
|
2096
|
-
paginateListOperationEvents,
|
|
2097
|
-
paginateListOperations,
|
|
2098
|
-
paginateListSubCheckResults,
|
|
2099
|
-
paginateListSubCheckRuleResults,
|
|
2100
|
-
AllocationType,
|
|
2101
|
-
ApplicationDiscoveryStatus,
|
|
2102
|
-
ApplicationStatus,
|
|
2103
|
-
ApplicationType,
|
|
2104
|
-
CredentialType,
|
|
2105
|
-
BackintMode,
|
|
2106
|
-
ClusterStatus,
|
|
2107
|
-
ComponentType,
|
|
2108
|
-
DatabaseConnectionMethod,
|
|
2109
|
-
HostRole,
|
|
2110
|
-
OperationMode,
|
|
2111
|
-
ReplicationMode,
|
|
2112
|
-
ComponentStatus,
|
|
2113
|
-
ConfigurationCheckType,
|
|
2114
|
-
OperationStatus,
|
|
2115
|
-
ConfigurationCheckOperationListingMode,
|
|
2116
|
-
ConflictException,
|
|
2117
|
-
ConnectedEntityType,
|
|
2118
|
-
DatabaseType,
|
|
2119
|
-
DatabaseStatus,
|
|
2120
|
-
PermissionActionType,
|
|
2121
|
-
InternalServerException,
|
|
2122
|
-
ResourceNotFoundException,
|
|
2123
|
-
ValidationException,
|
|
2124
|
-
UnauthorizedException,
|
|
2125
|
-
FilterOperator,
|
|
2126
|
-
OperationEventStatus,
|
|
2127
|
-
RuleResultStatus,
|
|
2128
|
-
ApplicationCredentialFilterSensitiveLog,
|
|
2129
|
-
DatabaseFilterSensitiveLog,
|
|
2130
|
-
GetDatabaseOutputFilterSensitiveLog,
|
|
2131
|
-
RegisterApplicationInputFilterSensitiveLog,
|
|
2132
|
-
UpdateApplicationSettingsInputFilterSensitiveLog
|
|
1864
|
+
Object.defineProperty(exports, "$Command", {
|
|
1865
|
+
enumerable: true,
|
|
1866
|
+
get: function () { return smithyClient.Command; }
|
|
2133
1867
|
});
|
|
2134
|
-
|
|
1868
|
+
Object.defineProperty(exports, "__Client", {
|
|
1869
|
+
enumerable: true,
|
|
1870
|
+
get: function () { return smithyClient.Client; }
|
|
1871
|
+
});
|
|
1872
|
+
exports.AllocationType = AllocationType;
|
|
1873
|
+
exports.ApplicationCredentialFilterSensitiveLog = ApplicationCredentialFilterSensitiveLog;
|
|
1874
|
+
exports.ApplicationDiscoveryStatus = ApplicationDiscoveryStatus;
|
|
1875
|
+
exports.ApplicationStatus = ApplicationStatus;
|
|
1876
|
+
exports.ApplicationType = ApplicationType;
|
|
1877
|
+
exports.BackintMode = BackintMode;
|
|
1878
|
+
exports.ClusterStatus = ClusterStatus;
|
|
1879
|
+
exports.ComponentStatus = ComponentStatus;
|
|
1880
|
+
exports.ComponentType = ComponentType;
|
|
1881
|
+
exports.ConfigurationCheckOperationListingMode = ConfigurationCheckOperationListingMode;
|
|
1882
|
+
exports.ConfigurationCheckType = ConfigurationCheckType;
|
|
1883
|
+
exports.ConflictException = ConflictException;
|
|
1884
|
+
exports.ConnectedEntityType = ConnectedEntityType;
|
|
1885
|
+
exports.CredentialType = CredentialType;
|
|
1886
|
+
exports.DatabaseConnectionMethod = DatabaseConnectionMethod;
|
|
1887
|
+
exports.DatabaseFilterSensitiveLog = DatabaseFilterSensitiveLog;
|
|
1888
|
+
exports.DatabaseStatus = DatabaseStatus;
|
|
1889
|
+
exports.DatabaseType = DatabaseType;
|
|
1890
|
+
exports.DeleteResourcePermissionCommand = DeleteResourcePermissionCommand;
|
|
1891
|
+
exports.DeregisterApplicationCommand = DeregisterApplicationCommand;
|
|
1892
|
+
exports.FilterOperator = FilterOperator;
|
|
1893
|
+
exports.GetApplicationCommand = GetApplicationCommand;
|
|
1894
|
+
exports.GetComponentCommand = GetComponentCommand;
|
|
1895
|
+
exports.GetConfigurationCheckOperationCommand = GetConfigurationCheckOperationCommand;
|
|
1896
|
+
exports.GetDatabaseCommand = GetDatabaseCommand;
|
|
1897
|
+
exports.GetDatabaseOutputFilterSensitiveLog = GetDatabaseOutputFilterSensitiveLog;
|
|
1898
|
+
exports.GetOperationCommand = GetOperationCommand;
|
|
1899
|
+
exports.GetResourcePermissionCommand = GetResourcePermissionCommand;
|
|
1900
|
+
exports.HostRole = HostRole;
|
|
1901
|
+
exports.InternalServerException = InternalServerException;
|
|
1902
|
+
exports.ListApplicationsCommand = ListApplicationsCommand;
|
|
1903
|
+
exports.ListComponentsCommand = ListComponentsCommand;
|
|
1904
|
+
exports.ListConfigurationCheckDefinitionsCommand = ListConfigurationCheckDefinitionsCommand;
|
|
1905
|
+
exports.ListConfigurationCheckOperationsCommand = ListConfigurationCheckOperationsCommand;
|
|
1906
|
+
exports.ListDatabasesCommand = ListDatabasesCommand;
|
|
1907
|
+
exports.ListOperationEventsCommand = ListOperationEventsCommand;
|
|
1908
|
+
exports.ListOperationsCommand = ListOperationsCommand;
|
|
1909
|
+
exports.ListSubCheckResultsCommand = ListSubCheckResultsCommand;
|
|
1910
|
+
exports.ListSubCheckRuleResultsCommand = ListSubCheckRuleResultsCommand;
|
|
1911
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1912
|
+
exports.OperationEventStatus = OperationEventStatus;
|
|
1913
|
+
exports.OperationMode = OperationMode;
|
|
1914
|
+
exports.OperationStatus = OperationStatus;
|
|
1915
|
+
exports.PermissionActionType = PermissionActionType;
|
|
1916
|
+
exports.PutResourcePermissionCommand = PutResourcePermissionCommand;
|
|
1917
|
+
exports.RegisterApplicationCommand = RegisterApplicationCommand;
|
|
1918
|
+
exports.RegisterApplicationInputFilterSensitiveLog = RegisterApplicationInputFilterSensitiveLog;
|
|
1919
|
+
exports.ReplicationMode = ReplicationMode;
|
|
1920
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1921
|
+
exports.RuleResultStatus = RuleResultStatus;
|
|
1922
|
+
exports.SsmSap = SsmSap;
|
|
1923
|
+
exports.SsmSapClient = SsmSapClient;
|
|
1924
|
+
exports.SsmSapServiceException = SsmSapServiceException;
|
|
1925
|
+
exports.StartApplicationCommand = StartApplicationCommand;
|
|
1926
|
+
exports.StartApplicationRefreshCommand = StartApplicationRefreshCommand;
|
|
1927
|
+
exports.StartConfigurationChecksCommand = StartConfigurationChecksCommand;
|
|
1928
|
+
exports.StopApplicationCommand = StopApplicationCommand;
|
|
1929
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1930
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
1931
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1932
|
+
exports.UpdateApplicationSettingsCommand = UpdateApplicationSettingsCommand;
|
|
1933
|
+
exports.UpdateApplicationSettingsInputFilterSensitiveLog = UpdateApplicationSettingsInputFilterSensitiveLog;
|
|
1934
|
+
exports.ValidationException = ValidationException;
|
|
1935
|
+
exports.paginateListApplications = paginateListApplications;
|
|
1936
|
+
exports.paginateListComponents = paginateListComponents;
|
|
1937
|
+
exports.paginateListConfigurationCheckDefinitions = paginateListConfigurationCheckDefinitions;
|
|
1938
|
+
exports.paginateListConfigurationCheckOperations = paginateListConfigurationCheckOperations;
|
|
1939
|
+
exports.paginateListDatabases = paginateListDatabases;
|
|
1940
|
+
exports.paginateListOperationEvents = paginateListOperationEvents;
|
|
1941
|
+
exports.paginateListOperations = paginateListOperations;
|
|
1942
|
+
exports.paginateListSubCheckResults = paginateListSubCheckResults;
|
|
1943
|
+
exports.paginateListSubCheckRuleResults = paginateListSubCheckRuleResults;
|