@aws-sdk/client-ssm 3.210.0 → 3.212.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/SSM.js +45 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/DescribeOpsItemsCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +46 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/UpdateAssociationCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssociationStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateDocumentCommand.js +3 -3
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +58 -44
- package/dist-cjs/models/models_1.js +80 -106
- package/dist-cjs/models/models_2.js +101 -1
- package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +356 -115
- package/dist-es/SSM.js +45 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
- package/dist-es/commands/DescribeOpsItemsCommand.js +1 -1
- package/dist-es/commands/GetResourcePoliciesCommand.js +42 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
- package/dist-es/commands/UpdateAssociationCommand.js +1 -1
- package/dist-es/commands/UpdateAssociationStatusCommand.js +1 -1
- package/dist-es/commands/UpdateDocumentCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +47 -34
- package/dist-es/models/models_1.js +65 -90
- package/dist-es/models/models_2.js +90 -1
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +342 -107
- package/dist-types/SSM.d.ts +28 -0
- package/dist-types/SSMClient.d.ts +5 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +40 -0
- package/dist-types/commands/DescribeOpsItemsCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +37 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +41 -0
- package/dist-types/commands/UpdateAssociationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +105 -223
- package/dist-types/models/models_1.d.ts +385 -324
- package/dist-types/models/models_2.d.ts +343 -3
- package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/SSM.d.ts +51 -0
- package/dist-types/ts3.4/SSMClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -66
- package/dist-types/ts3.4/models/models_1.d.ts +122 -104
- package/dist-types/ts3.4/models/models_2.d.ts +110 -1
- package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +29 -29
package/dist-es/SSM.js
CHANGED
|
@@ -21,6 +21,7 @@ import { DeleteParameterCommand, } from "./commands/DeleteParameterCommand";
|
|
|
21
21
|
import { DeleteParametersCommand, } from "./commands/DeleteParametersCommand";
|
|
22
22
|
import { DeletePatchBaselineCommand, } from "./commands/DeletePatchBaselineCommand";
|
|
23
23
|
import { DeleteResourceDataSyncCommand, } from "./commands/DeleteResourceDataSyncCommand";
|
|
24
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
24
25
|
import { DeregisterManagedInstanceCommand, } from "./commands/DeregisterManagedInstanceCommand";
|
|
25
26
|
import { DeregisterPatchBaselineForPatchGroupCommand, } from "./commands/DeregisterPatchBaselineForPatchGroupCommand";
|
|
26
27
|
import { DeregisterTargetFromMaintenanceWindowCommand, } from "./commands/DeregisterTargetFromMaintenanceWindowCommand";
|
|
@@ -81,6 +82,7 @@ import { GetParametersByPathCommand, } from "./commands/GetParametersByPathComma
|
|
|
81
82
|
import { GetParametersCommand, } from "./commands/GetParametersCommand";
|
|
82
83
|
import { GetPatchBaselineCommand, } from "./commands/GetPatchBaselineCommand";
|
|
83
84
|
import { GetPatchBaselineForPatchGroupCommand, } from "./commands/GetPatchBaselineForPatchGroupCommand";
|
|
85
|
+
import { GetResourcePoliciesCommand, } from "./commands/GetResourcePoliciesCommand";
|
|
84
86
|
import { GetServiceSettingCommand, } from "./commands/GetServiceSettingCommand";
|
|
85
87
|
import { LabelParameterVersionCommand, } from "./commands/LabelParameterVersionCommand";
|
|
86
88
|
import { ListAssociationsCommand, } from "./commands/ListAssociationsCommand";
|
|
@@ -103,6 +105,7 @@ import { ModifyDocumentPermissionCommand, } from "./commands/ModifyDocumentPermi
|
|
|
103
105
|
import { PutComplianceItemsCommand, } from "./commands/PutComplianceItemsCommand";
|
|
104
106
|
import { PutInventoryCommand, } from "./commands/PutInventoryCommand";
|
|
105
107
|
import { PutParameterCommand, } from "./commands/PutParameterCommand";
|
|
108
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
106
109
|
import { RegisterDefaultPatchBaselineCommand, } from "./commands/RegisterDefaultPatchBaselineCommand";
|
|
107
110
|
import { RegisterPatchBaselineForPatchGroupCommand, } from "./commands/RegisterPatchBaselineForPatchGroupCommand";
|
|
108
111
|
import { RegisterTargetWithMaintenanceWindowCommand, } from "./commands/RegisterTargetWithMaintenanceWindowCommand";
|
|
@@ -457,6 +460,20 @@ export class SSM extends SSMClient {
|
|
|
457
460
|
return this.send(command, optionsOrCb);
|
|
458
461
|
}
|
|
459
462
|
}
|
|
463
|
+
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
464
|
+
const command = new DeleteResourcePolicyCommand(args);
|
|
465
|
+
if (typeof optionsOrCb === "function") {
|
|
466
|
+
this.send(command, optionsOrCb);
|
|
467
|
+
}
|
|
468
|
+
else if (typeof cb === "function") {
|
|
469
|
+
if (typeof optionsOrCb !== "object")
|
|
470
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
471
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
472
|
+
}
|
|
473
|
+
else {
|
|
474
|
+
return this.send(command, optionsOrCb);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
460
477
|
deregisterManagedInstance(args, optionsOrCb, cb) {
|
|
461
478
|
const command = new DeregisterManagedInstanceCommand(args);
|
|
462
479
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1297,6 +1314,20 @@ export class SSM extends SSMClient {
|
|
|
1297
1314
|
return this.send(command, optionsOrCb);
|
|
1298
1315
|
}
|
|
1299
1316
|
}
|
|
1317
|
+
getResourcePolicies(args, optionsOrCb, cb) {
|
|
1318
|
+
const command = new GetResourcePoliciesCommand(args);
|
|
1319
|
+
if (typeof optionsOrCb === "function") {
|
|
1320
|
+
this.send(command, optionsOrCb);
|
|
1321
|
+
}
|
|
1322
|
+
else if (typeof cb === "function") {
|
|
1323
|
+
if (typeof optionsOrCb !== "object")
|
|
1324
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1325
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1326
|
+
}
|
|
1327
|
+
else {
|
|
1328
|
+
return this.send(command, optionsOrCb);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1300
1331
|
getServiceSetting(args, optionsOrCb, cb) {
|
|
1301
1332
|
const command = new GetServiceSettingCommand(args);
|
|
1302
1333
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1605,6 +1636,20 @@ export class SSM extends SSMClient {
|
|
|
1605
1636
|
return this.send(command, optionsOrCb);
|
|
1606
1637
|
}
|
|
1607
1638
|
}
|
|
1639
|
+
putResourcePolicy(args, optionsOrCb, cb) {
|
|
1640
|
+
const command = new PutResourcePolicyCommand(args);
|
|
1641
|
+
if (typeof optionsOrCb === "function") {
|
|
1642
|
+
this.send(command, optionsOrCb);
|
|
1643
|
+
}
|
|
1644
|
+
else if (typeof cb === "function") {
|
|
1645
|
+
if (typeof optionsOrCb !== "object")
|
|
1646
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1647
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1648
|
+
}
|
|
1649
|
+
else {
|
|
1650
|
+
return this.send(command, optionsOrCb);
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1608
1653
|
registerDefaultPatchBaseline(args, optionsOrCb, cb) {
|
|
1609
1654
|
const command = new RegisterDefaultPatchBaselineCommand(args);
|
|
1610
1655
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteResourcePolicyRequestFilterSensitiveLog, DeleteResourcePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteResourcePolicyCommand, serializeAws_json1_1DeleteResourcePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class DeleteResourcePolicyCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SSMClient";
|
|
25
|
+
const commandName = "DeleteResourcePolicyCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteResourcePolicyRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeleteResourcePolicyResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1DeleteResourcePolicyCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1DeleteResourcePolicyCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeOpsItemsRequestFilterSensitiveLog, DescribeOpsItemsResponseFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { DescribeOpsItemsRequestFilterSensitiveLog, DescribeOpsItemsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1DescribeOpsItemsCommand, serializeAws_json1_1DescribeOpsItemsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class DescribeOpsItemsCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetResourcePoliciesRequestFilterSensitiveLog, GetResourcePoliciesResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_json1_1GetResourcePoliciesCommand, serializeAws_json1_1GetResourcePoliciesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class GetResourcePoliciesCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetResourcePoliciesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SSMClient";
|
|
25
|
+
const commandName = "GetResourcePoliciesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetResourcePoliciesRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetResourcePoliciesResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1GetResourcePoliciesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1GetResourcePoliciesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutResourcePolicyRequestFilterSensitiveLog, PutResourcePolicyResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_json1_1PutResourcePolicyCommand, serializeAws_json1_1PutResourcePolicyCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class PutResourcePolicyCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SSMClient";
|
|
25
|
+
const commandName = "PutResourcePolicyCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: PutResourcePolicyRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: PutResourcePolicyResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1PutResourcePolicyCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1PutResourcePolicyCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateAssociationRequestFilterSensitiveLog, UpdateAssociationResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UpdateAssociationRequestFilterSensitiveLog, UpdateAssociationResultFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_json1_1UpdateAssociationCommand, serializeAws_json1_1UpdateAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateAssociationCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateAssociationStatusRequestFilterSensitiveLog, UpdateAssociationStatusResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UpdateAssociationStatusRequestFilterSensitiveLog, UpdateAssociationStatusResultFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_json1_1UpdateAssociationStatusCommand, serializeAws_json1_1UpdateAssociationStatusCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateAssociationStatusCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateDocumentRequestFilterSensitiveLog, UpdateDocumentResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { UpdateDocumentRequestFilterSensitiveLog, UpdateDocumentResultFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_json1_1UpdateDocumentCommand, serializeAws_json1_1UpdateDocumentCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class UpdateDocumentCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -21,6 +21,7 @@ export * from "./DeleteParameterCommand";
|
|
|
21
21
|
export * from "./DeleteParametersCommand";
|
|
22
22
|
export * from "./DeletePatchBaselineCommand";
|
|
23
23
|
export * from "./DeleteResourceDataSyncCommand";
|
|
24
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
24
25
|
export * from "./DeregisterManagedInstanceCommand";
|
|
25
26
|
export * from "./DeregisterPatchBaselineForPatchGroupCommand";
|
|
26
27
|
export * from "./DeregisterTargetFromMaintenanceWindowCommand";
|
|
@@ -81,6 +82,7 @@ export * from "./GetParametersByPathCommand";
|
|
|
81
82
|
export * from "./GetParametersCommand";
|
|
82
83
|
export * from "./GetPatchBaselineCommand";
|
|
83
84
|
export * from "./GetPatchBaselineForPatchGroupCommand";
|
|
85
|
+
export * from "./GetResourcePoliciesCommand";
|
|
84
86
|
export * from "./GetServiceSettingCommand";
|
|
85
87
|
export * from "./LabelParameterVersionCommand";
|
|
86
88
|
export * from "./ListAssociationVersionsCommand";
|
|
@@ -103,6 +105,7 @@ export * from "./ModifyDocumentPermissionCommand";
|
|
|
103
105
|
export * from "./PutComplianceItemsCommand";
|
|
104
106
|
export * from "./PutInventoryCommand";
|
|
105
107
|
export * from "./PutParameterCommand";
|
|
108
|
+
export * from "./PutResourcePolicyCommand";
|
|
106
109
|
export * from "./RegisterDefaultPatchBaselineCommand";
|
|
107
110
|
export * from "./RegisterPatchBaselineForPatchGroupCommand";
|
|
108
111
|
export * from "./RegisterTargetWithMaintenanceWindowCommand";
|
|
@@ -521,6 +521,19 @@ export var OpsItemDataType;
|
|
|
521
521
|
OpsItemDataType["SEARCHABLE_STRING"] = "SearchableString";
|
|
522
522
|
OpsItemDataType["STRING"] = "String";
|
|
523
523
|
})(OpsItemDataType || (OpsItemDataType = {}));
|
|
524
|
+
export class OpsItemAccessDeniedException extends __BaseException {
|
|
525
|
+
constructor(opts) {
|
|
526
|
+
super({
|
|
527
|
+
name: "OpsItemAccessDeniedException",
|
|
528
|
+
$fault: "client",
|
|
529
|
+
...opts,
|
|
530
|
+
});
|
|
531
|
+
this.name = "OpsItemAccessDeniedException";
|
|
532
|
+
this.$fault = "client";
|
|
533
|
+
Object.setPrototypeOf(this, OpsItemAccessDeniedException.prototype);
|
|
534
|
+
this.Message = opts.Message;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
524
537
|
export class OpsItemAlreadyExistsException extends __BaseException {
|
|
525
538
|
constructor(opts) {
|
|
526
539
|
super({
|
|
@@ -851,6 +864,33 @@ export class ResourceDataSyncNotFoundException extends __BaseException {
|
|
|
851
864
|
this.Message = opts.Message;
|
|
852
865
|
}
|
|
853
866
|
}
|
|
867
|
+
export class ResourcePolicyConflictException extends __BaseException {
|
|
868
|
+
constructor(opts) {
|
|
869
|
+
super({
|
|
870
|
+
name: "ResourcePolicyConflictException",
|
|
871
|
+
$fault: "client",
|
|
872
|
+
...opts,
|
|
873
|
+
});
|
|
874
|
+
this.name = "ResourcePolicyConflictException";
|
|
875
|
+
this.$fault = "client";
|
|
876
|
+
Object.setPrototypeOf(this, ResourcePolicyConflictException.prototype);
|
|
877
|
+
this.Message = opts.Message;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
export class ResourcePolicyInvalidParameterException extends __BaseException {
|
|
881
|
+
constructor(opts) {
|
|
882
|
+
super({
|
|
883
|
+
name: "ResourcePolicyInvalidParameterException",
|
|
884
|
+
$fault: "client",
|
|
885
|
+
...opts,
|
|
886
|
+
});
|
|
887
|
+
this.name = "ResourcePolicyInvalidParameterException";
|
|
888
|
+
this.$fault = "client";
|
|
889
|
+
Object.setPrototypeOf(this, ResourcePolicyInvalidParameterException.prototype);
|
|
890
|
+
this.ParameterNames = opts.ParameterNames;
|
|
891
|
+
this.Message = opts.Message;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
854
894
|
export class TargetInUseException extends __BaseException {
|
|
855
895
|
constructor(opts) {
|
|
856
896
|
super({
|
|
@@ -1190,6 +1230,7 @@ export var MaintenanceWindowTaskCutoffBehavior;
|
|
|
1190
1230
|
})(MaintenanceWindowTaskCutoffBehavior || (MaintenanceWindowTaskCutoffBehavior = {}));
|
|
1191
1231
|
export var OpsItemFilterKey;
|
|
1192
1232
|
(function (OpsItemFilterKey) {
|
|
1233
|
+
OpsItemFilterKey["ACCOUNT_ID"] = "AccountId";
|
|
1193
1234
|
OpsItemFilterKey["ACTUAL_END_TIME"] = "ActualEndTime";
|
|
1194
1235
|
OpsItemFilterKey["ACTUAL_START_TIME"] = "ActualStartTime";
|
|
1195
1236
|
OpsItemFilterKey["AUTOMATION_ID"] = "AutomationId";
|
|
@@ -1225,28 +1266,6 @@ export var OpsItemFilterOperator;
|
|
|
1225
1266
|
OpsItemFilterOperator["GREATER_THAN"] = "GreaterThan";
|
|
1226
1267
|
OpsItemFilterOperator["LESS_THAN"] = "LessThan";
|
|
1227
1268
|
})(OpsItemFilterOperator || (OpsItemFilterOperator = {}));
|
|
1228
|
-
export var OpsItemStatus;
|
|
1229
|
-
(function (OpsItemStatus) {
|
|
1230
|
-
OpsItemStatus["APPROVED"] = "Approved";
|
|
1231
|
-
OpsItemStatus["CANCELLED"] = "Cancelled";
|
|
1232
|
-
OpsItemStatus["CANCELLING"] = "Cancelling";
|
|
1233
|
-
OpsItemStatus["CHANGE_CALENDAR_OVERRIDE_APPROVED"] = "ChangeCalendarOverrideApproved";
|
|
1234
|
-
OpsItemStatus["CHANGE_CALENDAR_OVERRIDE_REJECTED"] = "ChangeCalendarOverrideRejected";
|
|
1235
|
-
OpsItemStatus["CLOSED"] = "Closed";
|
|
1236
|
-
OpsItemStatus["COMPLETED_WITH_FAILURE"] = "CompletedWithFailure";
|
|
1237
|
-
OpsItemStatus["COMPLETED_WITH_SUCCESS"] = "CompletedWithSuccess";
|
|
1238
|
-
OpsItemStatus["FAILED"] = "Failed";
|
|
1239
|
-
OpsItemStatus["IN_PROGRESS"] = "InProgress";
|
|
1240
|
-
OpsItemStatus["OPEN"] = "Open";
|
|
1241
|
-
OpsItemStatus["PENDING"] = "Pending";
|
|
1242
|
-
OpsItemStatus["PENDING_APPROVAL"] = "PendingApproval";
|
|
1243
|
-
OpsItemStatus["PENDING_CHANGE_CALENDAR_OVERRIDE"] = "PendingChangeCalendarOverride";
|
|
1244
|
-
OpsItemStatus["REJECTED"] = "Rejected";
|
|
1245
|
-
OpsItemStatus["RESOLVED"] = "Resolved";
|
|
1246
|
-
OpsItemStatus["RUNBOOK_IN_PROGRESS"] = "RunbookInProgress";
|
|
1247
|
-
OpsItemStatus["SCHEDULED"] = "Scheduled";
|
|
1248
|
-
OpsItemStatus["TIMED_OUT"] = "TimedOut";
|
|
1249
|
-
})(OpsItemStatus || (OpsItemStatus = {}));
|
|
1250
1269
|
export const AccountSharingInfoFilterSensitiveLog = (obj) => ({
|
|
1251
1270
|
...obj,
|
|
1252
1271
|
});
|
|
@@ -1514,6 +1533,12 @@ export const DeleteResourceDataSyncRequestFilterSensitiveLog = (obj) => ({
|
|
|
1514
1533
|
export const DeleteResourceDataSyncResultFilterSensitiveLog = (obj) => ({
|
|
1515
1534
|
...obj,
|
|
1516
1535
|
});
|
|
1536
|
+
export const DeleteResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
1537
|
+
...obj,
|
|
1538
|
+
});
|
|
1539
|
+
export const DeleteResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
1540
|
+
...obj,
|
|
1541
|
+
});
|
|
1517
1542
|
export const DeregisterManagedInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
1518
1543
|
...obj,
|
|
1519
1544
|
});
|
|
@@ -1834,15 +1859,3 @@ export const DescribeMaintenanceWindowTasksResultFilterSensitiveLog = (obj) => (
|
|
|
1834
1859
|
...obj,
|
|
1835
1860
|
...(obj.Tasks && { Tasks: obj.Tasks.map((item) => MaintenanceWindowTaskFilterSensitiveLog(item)) }),
|
|
1836
1861
|
});
|
|
1837
|
-
export const OpsItemFilterFilterSensitiveLog = (obj) => ({
|
|
1838
|
-
...obj,
|
|
1839
|
-
});
|
|
1840
|
-
export const DescribeOpsItemsRequestFilterSensitiveLog = (obj) => ({
|
|
1841
|
-
...obj,
|
|
1842
|
-
});
|
|
1843
|
-
export const OpsItemSummaryFilterSensitiveLog = (obj) => ({
|
|
1844
|
-
...obj,
|
|
1845
|
-
});
|
|
1846
|
-
export const DescribeOpsItemsResponseFilterSensitiveLog = (obj) => ({
|
|
1847
|
-
...obj,
|
|
1848
|
-
});
|
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
2
|
+
import { PatchSourceFilterSensitiveLog, } from "./models_0";
|
|
3
3
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
4
|
+
export var OpsItemStatus;
|
|
5
|
+
(function (OpsItemStatus) {
|
|
6
|
+
OpsItemStatus["APPROVED"] = "Approved";
|
|
7
|
+
OpsItemStatus["CANCELLED"] = "Cancelled";
|
|
8
|
+
OpsItemStatus["CANCELLING"] = "Cancelling";
|
|
9
|
+
OpsItemStatus["CHANGE_CALENDAR_OVERRIDE_APPROVED"] = "ChangeCalendarOverrideApproved";
|
|
10
|
+
OpsItemStatus["CHANGE_CALENDAR_OVERRIDE_REJECTED"] = "ChangeCalendarOverrideRejected";
|
|
11
|
+
OpsItemStatus["CLOSED"] = "Closed";
|
|
12
|
+
OpsItemStatus["COMPLETED_WITH_FAILURE"] = "CompletedWithFailure";
|
|
13
|
+
OpsItemStatus["COMPLETED_WITH_SUCCESS"] = "CompletedWithSuccess";
|
|
14
|
+
OpsItemStatus["FAILED"] = "Failed";
|
|
15
|
+
OpsItemStatus["IN_PROGRESS"] = "InProgress";
|
|
16
|
+
OpsItemStatus["OPEN"] = "Open";
|
|
17
|
+
OpsItemStatus["PENDING"] = "Pending";
|
|
18
|
+
OpsItemStatus["PENDING_APPROVAL"] = "PendingApproval";
|
|
19
|
+
OpsItemStatus["PENDING_CHANGE_CALENDAR_OVERRIDE"] = "PendingChangeCalendarOverride";
|
|
20
|
+
OpsItemStatus["REJECTED"] = "Rejected";
|
|
21
|
+
OpsItemStatus["RESOLVED"] = "Resolved";
|
|
22
|
+
OpsItemStatus["RUNBOOK_IN_PROGRESS"] = "RunbookInProgress";
|
|
23
|
+
OpsItemStatus["SCHEDULED"] = "Scheduled";
|
|
24
|
+
OpsItemStatus["TIMED_OUT"] = "TimedOut";
|
|
25
|
+
})(OpsItemStatus || (OpsItemStatus = {}));
|
|
4
26
|
export var ParametersFilterKey;
|
|
5
27
|
(function (ParametersFilterKey) {
|
|
6
28
|
ParametersFilterKey["KEY_ID"] = "KeyId";
|
|
@@ -689,6 +711,21 @@ export class UnsupportedParameterType extends __BaseException {
|
|
|
689
711
|
Object.setPrototypeOf(this, UnsupportedParameterType.prototype);
|
|
690
712
|
}
|
|
691
713
|
}
|
|
714
|
+
export class ResourcePolicyLimitExceededException extends __BaseException {
|
|
715
|
+
constructor(opts) {
|
|
716
|
+
super({
|
|
717
|
+
name: "ResourcePolicyLimitExceededException",
|
|
718
|
+
$fault: "client",
|
|
719
|
+
...opts,
|
|
720
|
+
});
|
|
721
|
+
this.name = "ResourcePolicyLimitExceededException";
|
|
722
|
+
this.$fault = "client";
|
|
723
|
+
Object.setPrototypeOf(this, ResourcePolicyLimitExceededException.prototype);
|
|
724
|
+
this.Limit = opts.Limit;
|
|
725
|
+
this.LimitType = opts.LimitType;
|
|
726
|
+
this.Message = opts.Message;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
692
729
|
export class FeatureNotAvailableException extends __BaseException {
|
|
693
730
|
constructor(opts) {
|
|
694
731
|
super({
|
|
@@ -896,70 +933,18 @@ export class AssociationVersionLimitExceeded extends __BaseException {
|
|
|
896
933
|
this.Message = opts.Message;
|
|
897
934
|
}
|
|
898
935
|
}
|
|
899
|
-
export
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
}
|
|
912
|
-
export class StatusUnchanged extends __BaseException {
|
|
913
|
-
constructor(opts) {
|
|
914
|
-
super({
|
|
915
|
-
name: "StatusUnchanged",
|
|
916
|
-
$fault: "client",
|
|
917
|
-
...opts,
|
|
918
|
-
});
|
|
919
|
-
this.name = "StatusUnchanged";
|
|
920
|
-
this.$fault = "client";
|
|
921
|
-
Object.setPrototypeOf(this, StatusUnchanged.prototype);
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
export class DocumentVersionLimitExceeded extends __BaseException {
|
|
925
|
-
constructor(opts) {
|
|
926
|
-
super({
|
|
927
|
-
name: "DocumentVersionLimitExceeded",
|
|
928
|
-
$fault: "client",
|
|
929
|
-
...opts,
|
|
930
|
-
});
|
|
931
|
-
this.name = "DocumentVersionLimitExceeded";
|
|
932
|
-
this.$fault = "client";
|
|
933
|
-
Object.setPrototypeOf(this, DocumentVersionLimitExceeded.prototype);
|
|
934
|
-
this.Message = opts.Message;
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
export class DuplicateDocumentContent extends __BaseException {
|
|
938
|
-
constructor(opts) {
|
|
939
|
-
super({
|
|
940
|
-
name: "DuplicateDocumentContent",
|
|
941
|
-
$fault: "client",
|
|
942
|
-
...opts,
|
|
943
|
-
});
|
|
944
|
-
this.name = "DuplicateDocumentContent";
|
|
945
|
-
this.$fault = "client";
|
|
946
|
-
Object.setPrototypeOf(this, DuplicateDocumentContent.prototype);
|
|
947
|
-
this.Message = opts.Message;
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
export class DuplicateDocumentVersionName extends __BaseException {
|
|
951
|
-
constructor(opts) {
|
|
952
|
-
super({
|
|
953
|
-
name: "DuplicateDocumentVersionName",
|
|
954
|
-
$fault: "client",
|
|
955
|
-
...opts,
|
|
956
|
-
});
|
|
957
|
-
this.name = "DuplicateDocumentVersionName";
|
|
958
|
-
this.$fault = "client";
|
|
959
|
-
Object.setPrototypeOf(this, DuplicateDocumentVersionName.prototype);
|
|
960
|
-
this.Message = opts.Message;
|
|
961
|
-
}
|
|
962
|
-
}
|
|
936
|
+
export const OpsItemFilterFilterSensitiveLog = (obj) => ({
|
|
937
|
+
...obj,
|
|
938
|
+
});
|
|
939
|
+
export const DescribeOpsItemsRequestFilterSensitiveLog = (obj) => ({
|
|
940
|
+
...obj,
|
|
941
|
+
});
|
|
942
|
+
export const OpsItemSummaryFilterSensitiveLog = (obj) => ({
|
|
943
|
+
...obj,
|
|
944
|
+
});
|
|
945
|
+
export const DescribeOpsItemsResponseFilterSensitiveLog = (obj) => ({
|
|
946
|
+
...obj,
|
|
947
|
+
});
|
|
963
948
|
export const ParametersFilterFilterSensitiveLog = (obj) => ({
|
|
964
949
|
...obj,
|
|
965
950
|
});
|
|
@@ -1261,6 +1246,15 @@ export const GetPatchBaselineForPatchGroupRequestFilterSensitiveLog = (obj) => (
|
|
|
1261
1246
|
export const GetPatchBaselineForPatchGroupResultFilterSensitiveLog = (obj) => ({
|
|
1262
1247
|
...obj,
|
|
1263
1248
|
});
|
|
1249
|
+
export const GetResourcePoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
1250
|
+
...obj,
|
|
1251
|
+
});
|
|
1252
|
+
export const GetResourcePoliciesResponseEntryFilterSensitiveLog = (obj) => ({
|
|
1253
|
+
...obj,
|
|
1254
|
+
});
|
|
1255
|
+
export const GetResourcePoliciesResponseFilterSensitiveLog = (obj) => ({
|
|
1256
|
+
...obj,
|
|
1257
|
+
});
|
|
1264
1258
|
export const GetServiceSettingRequestFilterSensitiveLog = (obj) => ({
|
|
1265
1259
|
...obj,
|
|
1266
1260
|
});
|
|
@@ -1502,6 +1496,12 @@ export const PutParameterRequestFilterSensitiveLog = (obj) => ({
|
|
|
1502
1496
|
export const PutParameterResultFilterSensitiveLog = (obj) => ({
|
|
1503
1497
|
...obj,
|
|
1504
1498
|
});
|
|
1499
|
+
export const PutResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
1500
|
+
...obj,
|
|
1501
|
+
});
|
|
1502
|
+
export const PutResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
1503
|
+
...obj,
|
|
1504
|
+
});
|
|
1505
1505
|
export const RegisterDefaultPatchBaselineRequestFilterSensitiveLog = (obj) => ({
|
|
1506
1506
|
...obj,
|
|
1507
1507
|
});
|
|
@@ -1607,28 +1607,3 @@ export const UnlabelParameterVersionRequestFilterSensitiveLog = (obj) => ({
|
|
|
1607
1607
|
export const UnlabelParameterVersionResultFilterSensitiveLog = (obj) => ({
|
|
1608
1608
|
...obj,
|
|
1609
1609
|
});
|
|
1610
|
-
export const UpdateAssociationRequestFilterSensitiveLog = (obj) => ({
|
|
1611
|
-
...obj,
|
|
1612
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1613
|
-
});
|
|
1614
|
-
export const UpdateAssociationResultFilterSensitiveLog = (obj) => ({
|
|
1615
|
-
...obj,
|
|
1616
|
-
...(obj.AssociationDescription && {
|
|
1617
|
-
AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription),
|
|
1618
|
-
}),
|
|
1619
|
-
});
|
|
1620
|
-
export const UpdateAssociationStatusRequestFilterSensitiveLog = (obj) => ({
|
|
1621
|
-
...obj,
|
|
1622
|
-
});
|
|
1623
|
-
export const UpdateAssociationStatusResultFilterSensitiveLog = (obj) => ({
|
|
1624
|
-
...obj,
|
|
1625
|
-
...(obj.AssociationDescription && {
|
|
1626
|
-
AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription),
|
|
1627
|
-
}),
|
|
1628
|
-
});
|
|
1629
|
-
export const UpdateDocumentRequestFilterSensitiveLog = (obj) => ({
|
|
1630
|
-
...obj,
|
|
1631
|
-
});
|
|
1632
|
-
export const UpdateDocumentResultFilterSensitiveLog = (obj) => ({
|
|
1633
|
-
...obj,
|
|
1634
|
-
});
|