@aws-sdk/client-ssm 3.211.0 → 3.213.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-types/SSM.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { DeleteParameterCommandInput, DeleteParameterCommandOutput } from "./com
|
|
|
22
22
|
import { DeleteParametersCommandInput, DeleteParametersCommandOutput } from "./commands/DeleteParametersCommand";
|
|
23
23
|
import { DeletePatchBaselineCommandInput, DeletePatchBaselineCommandOutput } from "./commands/DeletePatchBaselineCommand";
|
|
24
24
|
import { DeleteResourceDataSyncCommandInput, DeleteResourceDataSyncCommandOutput } from "./commands/DeleteResourceDataSyncCommand";
|
|
25
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
25
26
|
import { DeregisterManagedInstanceCommandInput, DeregisterManagedInstanceCommandOutput } from "./commands/DeregisterManagedInstanceCommand";
|
|
26
27
|
import { DeregisterPatchBaselineForPatchGroupCommandInput, DeregisterPatchBaselineForPatchGroupCommandOutput } from "./commands/DeregisterPatchBaselineForPatchGroupCommand";
|
|
27
28
|
import { DeregisterTargetFromMaintenanceWindowCommandInput, DeregisterTargetFromMaintenanceWindowCommandOutput } from "./commands/DeregisterTargetFromMaintenanceWindowCommand";
|
|
@@ -82,6 +83,7 @@ import { GetParametersByPathCommandInput, GetParametersByPathCommandOutput } fro
|
|
|
82
83
|
import { GetParametersCommandInput, GetParametersCommandOutput } from "./commands/GetParametersCommand";
|
|
83
84
|
import { GetPatchBaselineCommandInput, GetPatchBaselineCommandOutput } from "./commands/GetPatchBaselineCommand";
|
|
84
85
|
import { GetPatchBaselineForPatchGroupCommandInput, GetPatchBaselineForPatchGroupCommandOutput } from "./commands/GetPatchBaselineForPatchGroupCommand";
|
|
86
|
+
import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "./commands/GetResourcePoliciesCommand";
|
|
85
87
|
import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "./commands/GetServiceSettingCommand";
|
|
86
88
|
import { LabelParameterVersionCommandInput, LabelParameterVersionCommandOutput } from "./commands/LabelParameterVersionCommand";
|
|
87
89
|
import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand";
|
|
@@ -104,6 +106,7 @@ import { ModifyDocumentPermissionCommandInput, ModifyDocumentPermissionCommandOu
|
|
|
104
106
|
import { PutComplianceItemsCommandInput, PutComplianceItemsCommandOutput } from "./commands/PutComplianceItemsCommand";
|
|
105
107
|
import { PutInventoryCommandInput, PutInventoryCommandOutput } from "./commands/PutInventoryCommand";
|
|
106
108
|
import { PutParameterCommandInput, PutParameterCommandOutput } from "./commands/PutParameterCommand";
|
|
109
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
107
110
|
import { RegisterDefaultPatchBaselineCommandInput, RegisterDefaultPatchBaselineCommandOutput } from "./commands/RegisterDefaultPatchBaselineCommand";
|
|
108
111
|
import { RegisterPatchBaselineForPatchGroupCommandInput, RegisterPatchBaselineForPatchGroupCommandOutput } from "./commands/RegisterPatchBaselineForPatchGroupCommand";
|
|
109
112
|
import { RegisterTargetWithMaintenanceWindowCommandInput, RegisterTargetWithMaintenanceWindowCommandOutput } from "./commands/RegisterTargetWithMaintenanceWindowCommand";
|
|
@@ -435,6 +438,15 @@ export declare class SSM extends SSMClient {
|
|
|
435
438
|
deleteResourceDataSync(args: DeleteResourceDataSyncCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceDataSyncCommandOutput>;
|
|
436
439
|
deleteResourceDataSync(args: DeleteResourceDataSyncCommandInput, cb: (err: any, data?: DeleteResourceDataSyncCommandOutput) => void): void;
|
|
437
440
|
deleteResourceDataSync(args: DeleteResourceDataSyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceDataSyncCommandOutput) => void): void;
|
|
441
|
+
/**
|
|
442
|
+
* <p>Deletes a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently,
|
|
443
|
+
* <code>OpsItemGroup</code> is the only resource that supports Systems Manager resource policies. The
|
|
444
|
+
* resource policy for <code>OpsItemGroup</code> enables Amazon Web Services accounts to view and interact with
|
|
445
|
+
* OpsCenter operational work items (OpsItems).</p>
|
|
446
|
+
*/
|
|
447
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourcePolicyCommandOutput>;
|
|
448
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
449
|
+
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
438
450
|
/**
|
|
439
451
|
* <p>Removes the server or virtual machine from the list of registered servers. You can
|
|
440
452
|
* reregister the node again at any time. If you don't plan to use Run Command on the server, we
|
|
@@ -973,6 +985,12 @@ export declare class SSM extends SSMClient {
|
|
|
973
985
|
getPatchBaselineForPatchGroup(args: GetPatchBaselineForPatchGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetPatchBaselineForPatchGroupCommandOutput>;
|
|
974
986
|
getPatchBaselineForPatchGroup(args: GetPatchBaselineForPatchGroupCommandInput, cb: (err: any, data?: GetPatchBaselineForPatchGroupCommandOutput) => void): void;
|
|
975
987
|
getPatchBaselineForPatchGroup(args: GetPatchBaselineForPatchGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPatchBaselineForPatchGroupCommandOutput) => void): void;
|
|
988
|
+
/**
|
|
989
|
+
* <p>Returns an array of the <code>Policy</code> object.</p>
|
|
990
|
+
*/
|
|
991
|
+
getResourcePolicies(args: GetResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePoliciesCommandOutput>;
|
|
992
|
+
getResourcePolicies(args: GetResourcePoliciesCommandInput, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
993
|
+
getResourcePolicies(args: GetResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void;
|
|
976
994
|
/**
|
|
977
995
|
* <p>
|
|
978
996
|
* <code>ServiceSetting</code> is an account-level setting for an Amazon Web Services service. This setting
|
|
@@ -1239,6 +1257,16 @@ export declare class SSM extends SSMClient {
|
|
|
1239
1257
|
putParameter(args: PutParameterCommandInput, options?: __HttpHandlerOptions): Promise<PutParameterCommandOutput>;
|
|
1240
1258
|
putParameter(args: PutParameterCommandInput, cb: (err: any, data?: PutParameterCommandOutput) => void): void;
|
|
1241
1259
|
putParameter(args: PutParameterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutParameterCommandOutput) => void): void;
|
|
1260
|
+
/**
|
|
1261
|
+
* <p>Creates or updates a Systems Manager resource policy. A resource policy helps you to define the
|
|
1262
|
+
* IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources.
|
|
1263
|
+
* Currently, <code>OpsItemGroup</code> is the only resource that supports Systems Manager resource policies.
|
|
1264
|
+
* The resource policy for <code>OpsItemGroup</code> enables Amazon Web Services accounts to view and interact
|
|
1265
|
+
* with OpsCenter operational work items (OpsItems).</p>
|
|
1266
|
+
*/
|
|
1267
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutResourcePolicyCommandOutput>;
|
|
1268
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
1269
|
+
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
1242
1270
|
/**
|
|
1243
1271
|
* <p>Defines the default patch baseline for the relevant operating system.</p>
|
|
1244
1272
|
* <p>To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline
|
|
@@ -30,6 +30,7 @@ import { DeleteParameterCommandInput, DeleteParameterCommandOutput } from "./com
|
|
|
30
30
|
import { DeleteParametersCommandInput, DeleteParametersCommandOutput } from "./commands/DeleteParametersCommand";
|
|
31
31
|
import { DeletePatchBaselineCommandInput, DeletePatchBaselineCommandOutput } from "./commands/DeletePatchBaselineCommand";
|
|
32
32
|
import { DeleteResourceDataSyncCommandInput, DeleteResourceDataSyncCommandOutput } from "./commands/DeleteResourceDataSyncCommand";
|
|
33
|
+
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
33
34
|
import { DeregisterManagedInstanceCommandInput, DeregisterManagedInstanceCommandOutput } from "./commands/DeregisterManagedInstanceCommand";
|
|
34
35
|
import { DeregisterPatchBaselineForPatchGroupCommandInput, DeregisterPatchBaselineForPatchGroupCommandOutput } from "./commands/DeregisterPatchBaselineForPatchGroupCommand";
|
|
35
36
|
import { DeregisterTargetFromMaintenanceWindowCommandInput, DeregisterTargetFromMaintenanceWindowCommandOutput } from "./commands/DeregisterTargetFromMaintenanceWindowCommand";
|
|
@@ -90,6 +91,7 @@ import { GetParametersByPathCommandInput, GetParametersByPathCommandOutput } fro
|
|
|
90
91
|
import { GetParametersCommandInput, GetParametersCommandOutput } from "./commands/GetParametersCommand";
|
|
91
92
|
import { GetPatchBaselineCommandInput, GetPatchBaselineCommandOutput } from "./commands/GetPatchBaselineCommand";
|
|
92
93
|
import { GetPatchBaselineForPatchGroupCommandInput, GetPatchBaselineForPatchGroupCommandOutput } from "./commands/GetPatchBaselineForPatchGroupCommand";
|
|
94
|
+
import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "./commands/GetResourcePoliciesCommand";
|
|
93
95
|
import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "./commands/GetServiceSettingCommand";
|
|
94
96
|
import { LabelParameterVersionCommandInput, LabelParameterVersionCommandOutput } from "./commands/LabelParameterVersionCommand";
|
|
95
97
|
import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand";
|
|
@@ -112,6 +114,7 @@ import { ModifyDocumentPermissionCommandInput, ModifyDocumentPermissionCommandOu
|
|
|
112
114
|
import { PutComplianceItemsCommandInput, PutComplianceItemsCommandOutput } from "./commands/PutComplianceItemsCommand";
|
|
113
115
|
import { PutInventoryCommandInput, PutInventoryCommandOutput } from "./commands/PutInventoryCommand";
|
|
114
116
|
import { PutParameterCommandInput, PutParameterCommandOutput } from "./commands/PutParameterCommand";
|
|
117
|
+
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
115
118
|
import { RegisterDefaultPatchBaselineCommandInput, RegisterDefaultPatchBaselineCommandOutput } from "./commands/RegisterDefaultPatchBaselineCommand";
|
|
116
119
|
import { RegisterPatchBaselineForPatchGroupCommandInput, RegisterPatchBaselineForPatchGroupCommandOutput } from "./commands/RegisterPatchBaselineForPatchGroupCommand";
|
|
117
120
|
import { RegisterTargetWithMaintenanceWindowCommandInput, RegisterTargetWithMaintenanceWindowCommandOutput } from "./commands/RegisterTargetWithMaintenanceWindowCommand";
|
|
@@ -143,8 +146,8 @@ import { UpdatePatchBaselineCommandInput, UpdatePatchBaselineCommandOutput } fro
|
|
|
143
146
|
import { UpdateResourceDataSyncCommandInput, UpdateResourceDataSyncCommandOutput } from "./commands/UpdateResourceDataSyncCommand";
|
|
144
147
|
import { UpdateServiceSettingCommandInput, UpdateServiceSettingCommandOutput } from "./commands/UpdateServiceSettingCommand";
|
|
145
148
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
146
|
-
export declare type ServiceInputTypes = AddTagsToResourceCommandInput | AssociateOpsItemRelatedItemCommandInput | CancelCommandCommandInput | CancelMaintenanceWindowExecutionCommandInput | CreateActivationCommandInput | CreateAssociationBatchCommandInput | CreateAssociationCommandInput | CreateDocumentCommandInput | CreateMaintenanceWindowCommandInput | CreateOpsItemCommandInput | CreateOpsMetadataCommandInput | CreatePatchBaselineCommandInput | CreateResourceDataSyncCommandInput | DeleteActivationCommandInput | DeleteAssociationCommandInput | DeleteDocumentCommandInput | DeleteInventoryCommandInput | DeleteMaintenanceWindowCommandInput | DeleteOpsMetadataCommandInput | DeleteParameterCommandInput | DeleteParametersCommandInput | DeletePatchBaselineCommandInput | DeleteResourceDataSyncCommandInput | DeregisterManagedInstanceCommandInput | DeregisterPatchBaselineForPatchGroupCommandInput | DeregisterTargetFromMaintenanceWindowCommandInput | DeregisterTaskFromMaintenanceWindowCommandInput | DescribeActivationsCommandInput | DescribeAssociationCommandInput | DescribeAssociationExecutionTargetsCommandInput | DescribeAssociationExecutionsCommandInput | DescribeAutomationExecutionsCommandInput | DescribeAutomationStepExecutionsCommandInput | DescribeAvailablePatchesCommandInput | DescribeDocumentCommandInput | DescribeDocumentPermissionCommandInput | DescribeEffectiveInstanceAssociationsCommandInput | DescribeEffectivePatchesForPatchBaselineCommandInput | DescribeInstanceAssociationsStatusCommandInput | DescribeInstanceInformationCommandInput | DescribeInstancePatchStatesCommandInput | DescribeInstancePatchStatesForPatchGroupCommandInput | DescribeInstancePatchesCommandInput | DescribeInventoryDeletionsCommandInput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput | DescribeMaintenanceWindowExecutionTasksCommandInput | DescribeMaintenanceWindowExecutionsCommandInput | DescribeMaintenanceWindowScheduleCommandInput | DescribeMaintenanceWindowTargetsCommandInput | DescribeMaintenanceWindowTasksCommandInput | DescribeMaintenanceWindowsCommandInput | DescribeMaintenanceWindowsForTargetCommandInput | DescribeOpsItemsCommandInput | DescribeParametersCommandInput | DescribePatchBaselinesCommandInput | DescribePatchGroupStateCommandInput | DescribePatchGroupsCommandInput | DescribePatchPropertiesCommandInput | DescribeSessionsCommandInput | DisassociateOpsItemRelatedItemCommandInput | GetAutomationExecutionCommandInput | GetCalendarStateCommandInput | GetCommandInvocationCommandInput | GetConnectionStatusCommandInput | GetDefaultPatchBaselineCommandInput | GetDeployablePatchSnapshotForInstanceCommandInput | GetDocumentCommandInput | GetInventoryCommandInput | GetInventorySchemaCommandInput | GetMaintenanceWindowCommandInput | GetMaintenanceWindowExecutionCommandInput | GetMaintenanceWindowExecutionTaskCommandInput | GetMaintenanceWindowExecutionTaskInvocationCommandInput | GetMaintenanceWindowTaskCommandInput | GetOpsItemCommandInput | GetOpsMetadataCommandInput | GetOpsSummaryCommandInput | GetParameterCommandInput | GetParameterHistoryCommandInput | GetParametersByPathCommandInput | GetParametersCommandInput | GetPatchBaselineCommandInput | GetPatchBaselineForPatchGroupCommandInput | GetServiceSettingCommandInput | LabelParameterVersionCommandInput | ListAssociationVersionsCommandInput | ListAssociationsCommandInput | ListCommandInvocationsCommandInput | ListCommandsCommandInput | ListComplianceItemsCommandInput | ListComplianceSummariesCommandInput | ListDocumentMetadataHistoryCommandInput | ListDocumentVersionsCommandInput | ListDocumentsCommandInput | ListInventoryEntriesCommandInput | ListOpsItemEventsCommandInput | ListOpsItemRelatedItemsCommandInput | ListOpsMetadataCommandInput | ListResourceComplianceSummariesCommandInput | ListResourceDataSyncCommandInput | ListTagsForResourceCommandInput | ModifyDocumentPermissionCommandInput | PutComplianceItemsCommandInput | PutInventoryCommandInput | PutParameterCommandInput | RegisterDefaultPatchBaselineCommandInput | RegisterPatchBaselineForPatchGroupCommandInput | RegisterTargetWithMaintenanceWindowCommandInput | RegisterTaskWithMaintenanceWindowCommandInput | RemoveTagsFromResourceCommandInput | ResetServiceSettingCommandInput | ResumeSessionCommandInput | SendAutomationSignalCommandInput | SendCommandCommandInput | StartAssociationsOnceCommandInput | StartAutomationExecutionCommandInput | StartChangeRequestExecutionCommandInput | StartSessionCommandInput | StopAutomationExecutionCommandInput | TerminateSessionCommandInput | UnlabelParameterVersionCommandInput | UpdateAssociationCommandInput | UpdateAssociationStatusCommandInput | UpdateDocumentCommandInput | UpdateDocumentDefaultVersionCommandInput | UpdateDocumentMetadataCommandInput | UpdateMaintenanceWindowCommandInput | UpdateMaintenanceWindowTargetCommandInput | UpdateMaintenanceWindowTaskCommandInput | UpdateManagedInstanceRoleCommandInput | UpdateOpsItemCommandInput | UpdateOpsMetadataCommandInput | UpdatePatchBaselineCommandInput | UpdateResourceDataSyncCommandInput | UpdateServiceSettingCommandInput;
|
|
147
|
-
export declare type ServiceOutputTypes = AddTagsToResourceCommandOutput | AssociateOpsItemRelatedItemCommandOutput | CancelCommandCommandOutput | CancelMaintenanceWindowExecutionCommandOutput | CreateActivationCommandOutput | CreateAssociationBatchCommandOutput | CreateAssociationCommandOutput | CreateDocumentCommandOutput | CreateMaintenanceWindowCommandOutput | CreateOpsItemCommandOutput | CreateOpsMetadataCommandOutput | CreatePatchBaselineCommandOutput | CreateResourceDataSyncCommandOutput | DeleteActivationCommandOutput | DeleteAssociationCommandOutput | DeleteDocumentCommandOutput | DeleteInventoryCommandOutput | DeleteMaintenanceWindowCommandOutput | DeleteOpsMetadataCommandOutput | DeleteParameterCommandOutput | DeleteParametersCommandOutput | DeletePatchBaselineCommandOutput | DeleteResourceDataSyncCommandOutput | DeregisterManagedInstanceCommandOutput | DeregisterPatchBaselineForPatchGroupCommandOutput | DeregisterTargetFromMaintenanceWindowCommandOutput | DeregisterTaskFromMaintenanceWindowCommandOutput | DescribeActivationsCommandOutput | DescribeAssociationCommandOutput | DescribeAssociationExecutionTargetsCommandOutput | DescribeAssociationExecutionsCommandOutput | DescribeAutomationExecutionsCommandOutput | DescribeAutomationStepExecutionsCommandOutput | DescribeAvailablePatchesCommandOutput | DescribeDocumentCommandOutput | DescribeDocumentPermissionCommandOutput | DescribeEffectiveInstanceAssociationsCommandOutput | DescribeEffectivePatchesForPatchBaselineCommandOutput | DescribeInstanceAssociationsStatusCommandOutput | DescribeInstanceInformationCommandOutput | DescribeInstancePatchStatesCommandOutput | DescribeInstancePatchStatesForPatchGroupCommandOutput | DescribeInstancePatchesCommandOutput | DescribeInventoryDeletionsCommandOutput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput | DescribeMaintenanceWindowExecutionTasksCommandOutput | DescribeMaintenanceWindowExecutionsCommandOutput | DescribeMaintenanceWindowScheduleCommandOutput | DescribeMaintenanceWindowTargetsCommandOutput | DescribeMaintenanceWindowTasksCommandOutput | DescribeMaintenanceWindowsCommandOutput | DescribeMaintenanceWindowsForTargetCommandOutput | DescribeOpsItemsCommandOutput | DescribeParametersCommandOutput | DescribePatchBaselinesCommandOutput | DescribePatchGroupStateCommandOutput | DescribePatchGroupsCommandOutput | DescribePatchPropertiesCommandOutput | DescribeSessionsCommandOutput | DisassociateOpsItemRelatedItemCommandOutput | GetAutomationExecutionCommandOutput | GetCalendarStateCommandOutput | GetCommandInvocationCommandOutput | GetConnectionStatusCommandOutput | GetDefaultPatchBaselineCommandOutput | GetDeployablePatchSnapshotForInstanceCommandOutput | GetDocumentCommandOutput | GetInventoryCommandOutput | GetInventorySchemaCommandOutput | GetMaintenanceWindowCommandOutput | GetMaintenanceWindowExecutionCommandOutput | GetMaintenanceWindowExecutionTaskCommandOutput | GetMaintenanceWindowExecutionTaskInvocationCommandOutput | GetMaintenanceWindowTaskCommandOutput | GetOpsItemCommandOutput | GetOpsMetadataCommandOutput | GetOpsSummaryCommandOutput | GetParameterCommandOutput | GetParameterHistoryCommandOutput | GetParametersByPathCommandOutput | GetParametersCommandOutput | GetPatchBaselineCommandOutput | GetPatchBaselineForPatchGroupCommandOutput | GetServiceSettingCommandOutput | LabelParameterVersionCommandOutput | ListAssociationVersionsCommandOutput | ListAssociationsCommandOutput | ListCommandInvocationsCommandOutput | ListCommandsCommandOutput | ListComplianceItemsCommandOutput | ListComplianceSummariesCommandOutput | ListDocumentMetadataHistoryCommandOutput | ListDocumentVersionsCommandOutput | ListDocumentsCommandOutput | ListInventoryEntriesCommandOutput | ListOpsItemEventsCommandOutput | ListOpsItemRelatedItemsCommandOutput | ListOpsMetadataCommandOutput | ListResourceComplianceSummariesCommandOutput | ListResourceDataSyncCommandOutput | ListTagsForResourceCommandOutput | ModifyDocumentPermissionCommandOutput | PutComplianceItemsCommandOutput | PutInventoryCommandOutput | PutParameterCommandOutput | RegisterDefaultPatchBaselineCommandOutput | RegisterPatchBaselineForPatchGroupCommandOutput | RegisterTargetWithMaintenanceWindowCommandOutput | RegisterTaskWithMaintenanceWindowCommandOutput | RemoveTagsFromResourceCommandOutput | ResetServiceSettingCommandOutput | ResumeSessionCommandOutput | SendAutomationSignalCommandOutput | SendCommandCommandOutput | StartAssociationsOnceCommandOutput | StartAutomationExecutionCommandOutput | StartChangeRequestExecutionCommandOutput | StartSessionCommandOutput | StopAutomationExecutionCommandOutput | TerminateSessionCommandOutput | UnlabelParameterVersionCommandOutput | UpdateAssociationCommandOutput | UpdateAssociationStatusCommandOutput | UpdateDocumentCommandOutput | UpdateDocumentDefaultVersionCommandOutput | UpdateDocumentMetadataCommandOutput | UpdateMaintenanceWindowCommandOutput | UpdateMaintenanceWindowTargetCommandOutput | UpdateMaintenanceWindowTaskCommandOutput | UpdateManagedInstanceRoleCommandOutput | UpdateOpsItemCommandOutput | UpdateOpsMetadataCommandOutput | UpdatePatchBaselineCommandOutput | UpdateResourceDataSyncCommandOutput | UpdateServiceSettingCommandOutput;
|
|
149
|
+
export declare type ServiceInputTypes = AddTagsToResourceCommandInput | AssociateOpsItemRelatedItemCommandInput | CancelCommandCommandInput | CancelMaintenanceWindowExecutionCommandInput | CreateActivationCommandInput | CreateAssociationBatchCommandInput | CreateAssociationCommandInput | CreateDocumentCommandInput | CreateMaintenanceWindowCommandInput | CreateOpsItemCommandInput | CreateOpsMetadataCommandInput | CreatePatchBaselineCommandInput | CreateResourceDataSyncCommandInput | DeleteActivationCommandInput | DeleteAssociationCommandInput | DeleteDocumentCommandInput | DeleteInventoryCommandInput | DeleteMaintenanceWindowCommandInput | DeleteOpsMetadataCommandInput | DeleteParameterCommandInput | DeleteParametersCommandInput | DeletePatchBaselineCommandInput | DeleteResourceDataSyncCommandInput | DeleteResourcePolicyCommandInput | DeregisterManagedInstanceCommandInput | DeregisterPatchBaselineForPatchGroupCommandInput | DeregisterTargetFromMaintenanceWindowCommandInput | DeregisterTaskFromMaintenanceWindowCommandInput | DescribeActivationsCommandInput | DescribeAssociationCommandInput | DescribeAssociationExecutionTargetsCommandInput | DescribeAssociationExecutionsCommandInput | DescribeAutomationExecutionsCommandInput | DescribeAutomationStepExecutionsCommandInput | DescribeAvailablePatchesCommandInput | DescribeDocumentCommandInput | DescribeDocumentPermissionCommandInput | DescribeEffectiveInstanceAssociationsCommandInput | DescribeEffectivePatchesForPatchBaselineCommandInput | DescribeInstanceAssociationsStatusCommandInput | DescribeInstanceInformationCommandInput | DescribeInstancePatchStatesCommandInput | DescribeInstancePatchStatesForPatchGroupCommandInput | DescribeInstancePatchesCommandInput | DescribeInventoryDeletionsCommandInput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput | DescribeMaintenanceWindowExecutionTasksCommandInput | DescribeMaintenanceWindowExecutionsCommandInput | DescribeMaintenanceWindowScheduleCommandInput | DescribeMaintenanceWindowTargetsCommandInput | DescribeMaintenanceWindowTasksCommandInput | DescribeMaintenanceWindowsCommandInput | DescribeMaintenanceWindowsForTargetCommandInput | DescribeOpsItemsCommandInput | DescribeParametersCommandInput | DescribePatchBaselinesCommandInput | DescribePatchGroupStateCommandInput | DescribePatchGroupsCommandInput | DescribePatchPropertiesCommandInput | DescribeSessionsCommandInput | DisassociateOpsItemRelatedItemCommandInput | GetAutomationExecutionCommandInput | GetCalendarStateCommandInput | GetCommandInvocationCommandInput | GetConnectionStatusCommandInput | GetDefaultPatchBaselineCommandInput | GetDeployablePatchSnapshotForInstanceCommandInput | GetDocumentCommandInput | GetInventoryCommandInput | GetInventorySchemaCommandInput | GetMaintenanceWindowCommandInput | GetMaintenanceWindowExecutionCommandInput | GetMaintenanceWindowExecutionTaskCommandInput | GetMaintenanceWindowExecutionTaskInvocationCommandInput | GetMaintenanceWindowTaskCommandInput | GetOpsItemCommandInput | GetOpsMetadataCommandInput | GetOpsSummaryCommandInput | GetParameterCommandInput | GetParameterHistoryCommandInput | GetParametersByPathCommandInput | GetParametersCommandInput | GetPatchBaselineCommandInput | GetPatchBaselineForPatchGroupCommandInput | GetResourcePoliciesCommandInput | GetServiceSettingCommandInput | LabelParameterVersionCommandInput | ListAssociationVersionsCommandInput | ListAssociationsCommandInput | ListCommandInvocationsCommandInput | ListCommandsCommandInput | ListComplianceItemsCommandInput | ListComplianceSummariesCommandInput | ListDocumentMetadataHistoryCommandInput | ListDocumentVersionsCommandInput | ListDocumentsCommandInput | ListInventoryEntriesCommandInput | ListOpsItemEventsCommandInput | ListOpsItemRelatedItemsCommandInput | ListOpsMetadataCommandInput | ListResourceComplianceSummariesCommandInput | ListResourceDataSyncCommandInput | ListTagsForResourceCommandInput | ModifyDocumentPermissionCommandInput | PutComplianceItemsCommandInput | PutInventoryCommandInput | PutParameterCommandInput | PutResourcePolicyCommandInput | RegisterDefaultPatchBaselineCommandInput | RegisterPatchBaselineForPatchGroupCommandInput | RegisterTargetWithMaintenanceWindowCommandInput | RegisterTaskWithMaintenanceWindowCommandInput | RemoveTagsFromResourceCommandInput | ResetServiceSettingCommandInput | ResumeSessionCommandInput | SendAutomationSignalCommandInput | SendCommandCommandInput | StartAssociationsOnceCommandInput | StartAutomationExecutionCommandInput | StartChangeRequestExecutionCommandInput | StartSessionCommandInput | StopAutomationExecutionCommandInput | TerminateSessionCommandInput | UnlabelParameterVersionCommandInput | UpdateAssociationCommandInput | UpdateAssociationStatusCommandInput | UpdateDocumentCommandInput | UpdateDocumentDefaultVersionCommandInput | UpdateDocumentMetadataCommandInput | UpdateMaintenanceWindowCommandInput | UpdateMaintenanceWindowTargetCommandInput | UpdateMaintenanceWindowTaskCommandInput | UpdateManagedInstanceRoleCommandInput | UpdateOpsItemCommandInput | UpdateOpsMetadataCommandInput | UpdatePatchBaselineCommandInput | UpdateResourceDataSyncCommandInput | UpdateServiceSettingCommandInput;
|
|
150
|
+
export declare type ServiceOutputTypes = AddTagsToResourceCommandOutput | AssociateOpsItemRelatedItemCommandOutput | CancelCommandCommandOutput | CancelMaintenanceWindowExecutionCommandOutput | CreateActivationCommandOutput | CreateAssociationBatchCommandOutput | CreateAssociationCommandOutput | CreateDocumentCommandOutput | CreateMaintenanceWindowCommandOutput | CreateOpsItemCommandOutput | CreateOpsMetadataCommandOutput | CreatePatchBaselineCommandOutput | CreateResourceDataSyncCommandOutput | DeleteActivationCommandOutput | DeleteAssociationCommandOutput | DeleteDocumentCommandOutput | DeleteInventoryCommandOutput | DeleteMaintenanceWindowCommandOutput | DeleteOpsMetadataCommandOutput | DeleteParameterCommandOutput | DeleteParametersCommandOutput | DeletePatchBaselineCommandOutput | DeleteResourceDataSyncCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterManagedInstanceCommandOutput | DeregisterPatchBaselineForPatchGroupCommandOutput | DeregisterTargetFromMaintenanceWindowCommandOutput | DeregisterTaskFromMaintenanceWindowCommandOutput | DescribeActivationsCommandOutput | DescribeAssociationCommandOutput | DescribeAssociationExecutionTargetsCommandOutput | DescribeAssociationExecutionsCommandOutput | DescribeAutomationExecutionsCommandOutput | DescribeAutomationStepExecutionsCommandOutput | DescribeAvailablePatchesCommandOutput | DescribeDocumentCommandOutput | DescribeDocumentPermissionCommandOutput | DescribeEffectiveInstanceAssociationsCommandOutput | DescribeEffectivePatchesForPatchBaselineCommandOutput | DescribeInstanceAssociationsStatusCommandOutput | DescribeInstanceInformationCommandOutput | DescribeInstancePatchStatesCommandOutput | DescribeInstancePatchStatesForPatchGroupCommandOutput | DescribeInstancePatchesCommandOutput | DescribeInventoryDeletionsCommandOutput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput | DescribeMaintenanceWindowExecutionTasksCommandOutput | DescribeMaintenanceWindowExecutionsCommandOutput | DescribeMaintenanceWindowScheduleCommandOutput | DescribeMaintenanceWindowTargetsCommandOutput | DescribeMaintenanceWindowTasksCommandOutput | DescribeMaintenanceWindowsCommandOutput | DescribeMaintenanceWindowsForTargetCommandOutput | DescribeOpsItemsCommandOutput | DescribeParametersCommandOutput | DescribePatchBaselinesCommandOutput | DescribePatchGroupStateCommandOutput | DescribePatchGroupsCommandOutput | DescribePatchPropertiesCommandOutput | DescribeSessionsCommandOutput | DisassociateOpsItemRelatedItemCommandOutput | GetAutomationExecutionCommandOutput | GetCalendarStateCommandOutput | GetCommandInvocationCommandOutput | GetConnectionStatusCommandOutput | GetDefaultPatchBaselineCommandOutput | GetDeployablePatchSnapshotForInstanceCommandOutput | GetDocumentCommandOutput | GetInventoryCommandOutput | GetInventorySchemaCommandOutput | GetMaintenanceWindowCommandOutput | GetMaintenanceWindowExecutionCommandOutput | GetMaintenanceWindowExecutionTaskCommandOutput | GetMaintenanceWindowExecutionTaskInvocationCommandOutput | GetMaintenanceWindowTaskCommandOutput | GetOpsItemCommandOutput | GetOpsMetadataCommandOutput | GetOpsSummaryCommandOutput | GetParameterCommandOutput | GetParameterHistoryCommandOutput | GetParametersByPathCommandOutput | GetParametersCommandOutput | GetPatchBaselineCommandOutput | GetPatchBaselineForPatchGroupCommandOutput | GetResourcePoliciesCommandOutput | GetServiceSettingCommandOutput | LabelParameterVersionCommandOutput | ListAssociationVersionsCommandOutput | ListAssociationsCommandOutput | ListCommandInvocationsCommandOutput | ListCommandsCommandOutput | ListComplianceItemsCommandOutput | ListComplianceSummariesCommandOutput | ListDocumentMetadataHistoryCommandOutput | ListDocumentVersionsCommandOutput | ListDocumentsCommandOutput | ListInventoryEntriesCommandOutput | ListOpsItemEventsCommandOutput | ListOpsItemRelatedItemsCommandOutput | ListOpsMetadataCommandOutput | ListResourceComplianceSummariesCommandOutput | ListResourceDataSyncCommandOutput | ListTagsForResourceCommandOutput | ModifyDocumentPermissionCommandOutput | PutComplianceItemsCommandOutput | PutInventoryCommandOutput | PutParameterCommandOutput | PutResourcePolicyCommandOutput | RegisterDefaultPatchBaselineCommandOutput | RegisterPatchBaselineForPatchGroupCommandOutput | RegisterTargetWithMaintenanceWindowCommandOutput | RegisterTaskWithMaintenanceWindowCommandOutput | RemoveTagsFromResourceCommandOutput | ResetServiceSettingCommandOutput | ResumeSessionCommandOutput | SendAutomationSignalCommandOutput | SendCommandCommandOutput | StartAssociationsOnceCommandOutput | StartAutomationExecutionCommandOutput | StartChangeRequestExecutionCommandOutput | StartSessionCommandOutput | StopAutomationExecutionCommandOutput | TerminateSessionCommandOutput | UnlabelParameterVersionCommandOutput | UpdateAssociationCommandOutput | UpdateAssociationStatusCommandOutput | UpdateDocumentCommandOutput | UpdateDocumentDefaultVersionCommandOutput | UpdateDocumentMetadataCommandOutput | UpdateMaintenanceWindowCommandOutput | UpdateMaintenanceWindowTargetCommandOutput | UpdateMaintenanceWindowTaskCommandOutput | UpdateManagedInstanceRoleCommandOutput | UpdateOpsItemCommandOutput | UpdateOpsMetadataCommandOutput | UpdatePatchBaselineCommandOutput | UpdateResourceDataSyncCommandOutput | UpdateServiceSettingCommandOutput;
|
|
148
151
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
149
152
|
/**
|
|
150
153
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
|
+
export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently,
|
|
12
|
+
* <code>OpsItemGroup</code> is the only resource that supports Systems Manager resource policies. The
|
|
13
|
+
* resource policy for <code>OpsItemGroup</code> enables Amazon Web Services accounts to view and interact with
|
|
14
|
+
* OpsCenter operational work items (OpsItems).</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { SSMClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-ssm"; // ES Modules import
|
|
19
|
+
* // const { SSMClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
|
|
20
|
+
* const client = new SSMClient(config);
|
|
21
|
+
* const command = new DeleteResourcePolicyCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, SSMClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteResourcePolicyCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: DeleteResourcePolicyCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { DescribeOpsItemsRequest, DescribeOpsItemsResponse } from "../models/
|
|
4
|
+
import { DescribeOpsItemsRequest, DescribeOpsItemsResponse } from "../models/models_1";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
6
|
export interface DescribeOpsItemsCommandInput extends DescribeOpsItemsRequest {
|
|
7
7
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GetResourcePoliciesRequest, GetResourcePoliciesResponse } from "../models/models_1";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
|
+
export interface GetResourcePoliciesCommandInput extends GetResourcePoliciesRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns an array of the <code>Policy</code> object.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SSMClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ssm"; // ES Modules import
|
|
16
|
+
* // const { SSMClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
|
|
17
|
+
* const client = new SSMClient(config);
|
|
18
|
+
* const command = new GetResourcePoliciesCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetResourcePoliciesCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetResourcePoliciesCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetResourcePoliciesCommand extends $Command<GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput, SSMClientResolvedConfig> {
|
|
28
|
+
readonly input: GetResourcePoliciesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetResourcePoliciesCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_1";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
|
+
export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates or updates a Systems Manager resource policy. A resource policy helps you to define the
|
|
12
|
+
* IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources.
|
|
13
|
+
* Currently, <code>OpsItemGroup</code> is the only resource that supports Systems Manager resource policies.
|
|
14
|
+
* The resource policy for <code>OpsItemGroup</code> enables Amazon Web Services accounts to view and interact
|
|
15
|
+
* with OpsCenter operational work items (OpsItems).</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { SSMClient, PutResourcePolicyCommand } from "@aws-sdk/client-ssm"; // ES Modules import
|
|
20
|
+
* // const { SSMClient, PutResourcePolicyCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
|
|
21
|
+
* const client = new SSMClient(config);
|
|
22
|
+
* const command = new PutResourcePolicyCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, SSMClientResolvedConfig> {
|
|
32
|
+
readonly input: PutResourcePolicyCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
|
+
constructor(input: PutResourcePolicyCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { UpdateAssociationRequest, UpdateAssociationResult } from "../models/
|
|
4
|
+
import { UpdateAssociationRequest, UpdateAssociationResult } from "../models/models_2";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
6
|
export interface UpdateAssociationCommandInput extends UpdateAssociationRequest {
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { UpdateAssociationStatusRequest, UpdateAssociationStatusResult } from "../models/
|
|
4
|
+
import { UpdateAssociationStatusRequest, UpdateAssociationStatusResult } from "../models/models_2";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
6
|
export interface UpdateAssociationStatusCommandInput extends UpdateAssociationStatusRequest {
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { UpdateDocumentRequest, UpdateDocumentResult } from "../models/
|
|
4
|
+
import { UpdateDocumentRequest, UpdateDocumentResult } from "../models/models_2";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
6
|
export interface UpdateDocumentCommandInput extends UpdateDocumentRequest {
|
|
7
7
|
}
|
|
@@ -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";
|