@aws-sdk/client-ssm 3.43.0 → 3.44.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/CHANGELOG.md +11 -0
- package/README.md +12 -6
- package/dist-cjs/commands/UpdateDocumentMetadataCommand.js +2 -1
- package/dist-cjs/models/models_0.js +9 -8
- package/dist-cjs/models/models_1.js +12 -12
- package/dist-cjs/models/models_2.js +7 -1
- package/dist-cjs/protocols/Aws_json1_1.js +2 -0
- package/dist-es/commands/UpdateDocumentMetadataCommand.js +2 -1
- package/dist-es/models/models_0.js +7 -6
- package/dist-es/models/models_1.js +6 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/SSM.d.ts +87 -81
- package/dist-types/SSMClient.d.ts +12 -6
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +5 -5
- package/dist-types/commands/CreateActivationCommand.d.ts +6 -6
- package/dist-types/commands/CreateAssociationBatchCommand.d.ts +6 -6
- package/dist-types/commands/CreateAssociationCommand.d.ts +10 -10
- package/dist-types/commands/CreateDocumentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActivationCommand.d.ts +2 -3
- package/dist-types/commands/DeleteAssociationCommand.d.ts +4 -4
- package/dist-types/commands/DeleteDocumentCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceInformationCommand.d.ts +7 -6
- package/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetCommandInvocationCommand.d.ts +2 -2
- package/dist-types/commands/GetConnectionStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +2 -2
- package/dist-types/commands/GetInventoryCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCommandInvocationsCommand.d.ts +4 -4
- package/dist-types/commands/PutComplianceItemsCommand.d.ts +1 -1
- package/dist-types/commands/PutInventoryCommand.d.ts +1 -1
- package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/dist-types/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/commands/TerminateSessionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +194 -192
- package/dist-types/models/models_1.d.ts +188 -194
- package/dist-types/models/models_2.d.ts +21 -13
- package/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +10 -5
- package/dist-types/ts3.4/models/models_1.d.ts +6 -7
- package/dist-types/ts3.4/models/models_2.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
import { LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target } from "./models_0";
|
|
3
3
|
import { InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
|
|
4
|
+
export interface UpdateDocumentMetadataResponse {
|
|
5
|
+
}
|
|
6
|
+
export declare namespace UpdateDocumentMetadataResponse {
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
const filterSensitiveLog: (obj: UpdateDocumentMetadataResponse) => any;
|
|
11
|
+
}
|
|
4
12
|
export interface UpdateMaintenanceWindowRequest {
|
|
5
13
|
/**
|
|
6
14
|
* <p>The ID of the maintenance window to update.</p>
|
|
@@ -224,9 +232,9 @@ export interface UpdateMaintenanceWindowTaskRequest {
|
|
|
224
232
|
*/
|
|
225
233
|
WindowTaskId: string | undefined;
|
|
226
234
|
/**
|
|
227
|
-
* <p>The targets (either
|
|
228
|
-
*
|
|
229
|
-
* format <code> Key=tag_name,Values=tag_value</code>. </p>
|
|
235
|
+
* <p>The targets (either managed nodes or tags) to modify. Managed nodes are specified using the
|
|
236
|
+
* format <code>Key=instanceids,Values=instanceID_1,instanceID_2</code>. Tags are specified using
|
|
237
|
+
* the format <code> Key=tag_name,Values=tag_value</code>. </p>
|
|
230
238
|
* <note>
|
|
231
239
|
* <p>One or more targets must be specified for maintenance window Run Command-type tasks.
|
|
232
240
|
* Depending on the task, targets are optional for other maintenance window task types (Automation,
|
|
@@ -465,7 +473,7 @@ export declare namespace UpdateMaintenanceWindowTaskResult {
|
|
|
465
473
|
}
|
|
466
474
|
export interface UpdateManagedInstanceRoleRequest {
|
|
467
475
|
/**
|
|
468
|
-
* <p>The ID of the managed
|
|
476
|
+
* <p>The ID of the managed node where you want to update the role.</p>
|
|
469
477
|
*/
|
|
470
478
|
InstanceId: string | undefined;
|
|
471
479
|
/**
|
|
@@ -672,8 +680,8 @@ export interface UpdatePatchBaselineRequest {
|
|
|
672
680
|
ApprovedPatchesComplianceLevel?: PatchComplianceLevel | string;
|
|
673
681
|
/**
|
|
674
682
|
* <p>Indicates whether the list of approved patches includes non-security updates that should be
|
|
675
|
-
* applied to the
|
|
676
|
-
* only.</p>
|
|
683
|
+
* applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed
|
|
684
|
+
* nodes only.</p>
|
|
677
685
|
*/
|
|
678
686
|
ApprovedPatchesEnableNonSecurity?: boolean;
|
|
679
687
|
/**
|
|
@@ -714,8 +722,8 @@ export interface UpdatePatchBaselineRequest {
|
|
|
714
722
|
*/
|
|
715
723
|
Description?: string;
|
|
716
724
|
/**
|
|
717
|
-
* <p>Information about the patches to use to update the
|
|
718
|
-
* systems and source repositories. Applies to Linux
|
|
725
|
+
* <p>Information about the patches to use to update the managed nodes, including target operating
|
|
726
|
+
* systems and source repositories. Applies to Linux managed nodes only.</p>
|
|
719
727
|
*/
|
|
720
728
|
Sources?: PatchSource[];
|
|
721
729
|
/**
|
|
@@ -763,8 +771,8 @@ export interface UpdatePatchBaselineResult {
|
|
|
763
771
|
ApprovedPatchesComplianceLevel?: PatchComplianceLevel | string;
|
|
764
772
|
/**
|
|
765
773
|
* <p>Indicates whether the list of approved patches includes non-security updates that should be
|
|
766
|
-
* applied to the
|
|
767
|
-
* only.</p>
|
|
774
|
+
* applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed
|
|
775
|
+
* nodes only.</p>
|
|
768
776
|
*/
|
|
769
777
|
ApprovedPatchesEnableNonSecurity?: boolean;
|
|
770
778
|
/**
|
|
@@ -790,8 +798,8 @@ export interface UpdatePatchBaselineResult {
|
|
|
790
798
|
*/
|
|
791
799
|
Description?: string;
|
|
792
800
|
/**
|
|
793
|
-
* <p>Information about the patches to use to update the
|
|
794
|
-
* systems and source repositories. Applies to Linux
|
|
801
|
+
* <p>Information about the patches to use to update the managed nodes, including target operating
|
|
802
|
+
* systems and source repositories. Applies to Linux managed nodes only.</p>
|
|
795
803
|
*/
|
|
796
804
|
Sources?: PatchSource[];
|
|
797
805
|
}
|
|
@@ -1023,7 +1031,7 @@ export interface GetInventoryRequest {
|
|
|
1023
1031
|
/**
|
|
1024
1032
|
* <p>Returns counts of inventory types based on one or more expressions. For example, if you
|
|
1025
1033
|
* aggregate by using an expression that uses the <code>AWS:InstanceInformation.PlatformType</code>
|
|
1026
|
-
* type, you can see a count of how many Windows and Linux
|
|
1034
|
+
* type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried
|
|
1027
1035
|
* fleet.</p>
|
|
1028
1036
|
*/
|
|
1029
1037
|
Aggregators?: InventoryAggregator[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { UpdateDocumentMetadataRequest
|
|
3
|
+
import { UpdateDocumentMetadataRequest } from "../models/models_1";
|
|
4
|
+
import { UpdateDocumentMetadataResponse } from "../models/models_2";
|
|
4
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
6
|
export interface UpdateDocumentMetadataCommandInput extends UpdateDocumentMetadataRequest {
|
|
6
7
|
}
|
|
@@ -780,6 +780,7 @@ export declare namespace DocumentParameter {
|
|
|
780
780
|
}
|
|
781
781
|
export declare enum PlatformType {
|
|
782
782
|
LINUX = "Linux",
|
|
783
|
+
MACOS = "MacOS",
|
|
783
784
|
WINDOWS = "Windows"
|
|
784
785
|
}
|
|
785
786
|
export declare enum ReviewStatus {
|
|
@@ -2790,6 +2791,11 @@ export declare enum ResourceType {
|
|
|
2790
2791
|
EC2_INSTANCE = "EC2Instance",
|
|
2791
2792
|
MANAGED_INSTANCE = "ManagedInstance"
|
|
2792
2793
|
}
|
|
2794
|
+
export declare enum SourceType {
|
|
2795
|
+
AWS_EC2_INSTANCE = "AWS::EC2::Instance",
|
|
2796
|
+
AWS_IOT_THING = "AWS::IoT::Thing",
|
|
2797
|
+
AWS_SSM_MANAGEDINSTANCE = "AWS::SSM::ManagedInstance"
|
|
2798
|
+
}
|
|
2793
2799
|
|
|
2794
2800
|
export interface InstanceInformation {
|
|
2795
2801
|
|
|
@@ -2830,6 +2836,10 @@ export interface InstanceInformation {
|
|
|
2830
2836
|
LastSuccessfulAssociationExecutionDate?: Date;
|
|
2831
2837
|
|
|
2832
2838
|
AssociationOverview?: InstanceAggregatedAssociationOverview;
|
|
2839
|
+
|
|
2840
|
+
SourceId?: string;
|
|
2841
|
+
|
|
2842
|
+
SourceType?: SourceType | string;
|
|
2833
2843
|
}
|
|
2834
2844
|
export declare namespace InstanceInformation {
|
|
2835
2845
|
|
|
@@ -3724,8 +3734,3 @@ export declare enum ParameterTier {
|
|
|
3724
3734
|
INTELLIGENT_TIERING = "Intelligent-Tiering",
|
|
3725
3735
|
STANDARD = "Standard"
|
|
3726
3736
|
}
|
|
3727
|
-
export declare enum ParameterType {
|
|
3728
|
-
SECURE_STRING = "SecureString",
|
|
3729
|
-
STRING = "String",
|
|
3730
|
-
STRING_LIST = "StringList"
|
|
3731
|
-
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
import { AssociationComplianceSeverity, AssociationDescription, AssociationOverview, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, AutomationExecutionStatus, AutomationSubtype, DocumentDescription, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, ParameterInlinePolicy, ParameterStringFilter, ParameterTier,
|
|
2
|
+
import { AssociationComplianceSeverity, AssociationDescription, AssociationOverview, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, AutomationExecutionStatus, AutomationSubtype, DocumentDescription, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, ParameterInlinePolicy, ParameterStringFilter, ParameterTier, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
|
|
3
|
+
export declare enum ParameterType {
|
|
4
|
+
SECURE_STRING = "SecureString",
|
|
5
|
+
STRING = "String",
|
|
6
|
+
STRING_LIST = "StringList"
|
|
7
|
+
}
|
|
3
8
|
|
|
4
9
|
export interface ParameterMetadata {
|
|
5
10
|
|
|
@@ -3956,9 +3961,3 @@ export declare namespace UpdateDocumentMetadataRequest {
|
|
|
3956
3961
|
|
|
3957
3962
|
const filterSensitiveLog: (obj: UpdateDocumentMetadataRequest) => any;
|
|
3958
3963
|
}
|
|
3959
|
-
export interface UpdateDocumentMetadataResponse {
|
|
3960
|
-
}
|
|
3961
|
-
export declare namespace UpdateDocumentMetadataResponse {
|
|
3962
|
-
|
|
3963
|
-
const filterSensitiveLog: (obj: UpdateDocumentMetadataResponse) => any;
|
|
3964
|
-
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
2
|
import { LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target } from "./models_0";
|
|
3
3
|
import { InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
|
|
4
|
+
export interface UpdateDocumentMetadataResponse {
|
|
5
|
+
}
|
|
6
|
+
export declare namespace UpdateDocumentMetadataResponse {
|
|
7
|
+
|
|
8
|
+
const filterSensitiveLog: (obj: UpdateDocumentMetadataResponse) => any;
|
|
9
|
+
}
|
|
4
10
|
export interface UpdateMaintenanceWindowRequest {
|
|
5
11
|
|
|
6
12
|
WindowId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.44.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|