@aws-sdk/client-ssm 3.554.0 → 3.562.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/README.md +8 -0
- package/dist-cjs/index.js +213 -73
- package/dist-es/SSM.js +2 -0
- package/dist-es/commands/DescribeInstancePropertiesCommand.js +24 -0
- package/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +30 -9
- package/dist-es/models/models_1.js +9 -43
- package/dist-es/models/models_2.js +43 -0
- package/dist-es/pagination/DescribeInstancePropertiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +78 -3
- package/dist-types/SSM.d.ts +8 -0
- package/dist-types/SSMClient.d.ts +3 -2
- package/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +151 -0
- package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -1
- package/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +334 -243
- package/dist-types/models/models_1.d.ts +219 -234
- package/dist-types/models/models_2.d.ts +246 -8
- package/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +7 -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 +18 -0
- package/dist-types/ts3.4/SSMClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeInstancePropertiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -49
- package/dist-types/ts3.4/models/models_1.d.ts +51 -60
- package/dist-types/ts3.4/models/models_2.d.ts +62 -1
- package/dist-types/ts3.4/pagination/DescribeInstancePropertiesPaginator.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 +12 -0
- package/package.json +4 -4
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
ExecutionMode,
|
|
17
17
|
InstanceAssociationOutputLocation,
|
|
18
18
|
MaintenanceWindowExecutionStatus,
|
|
19
|
+
MaintenanceWindowFilter,
|
|
19
20
|
MaintenanceWindowResourceType,
|
|
20
21
|
MaintenanceWindowTaskType,
|
|
21
22
|
MetadataValue,
|
|
@@ -36,12 +37,56 @@ import {
|
|
|
36
37
|
ResourceTypeForTagging,
|
|
37
38
|
ReviewStatus,
|
|
38
39
|
Runbook,
|
|
40
|
+
ScheduledWindowExecution,
|
|
39
41
|
StepExecution,
|
|
40
42
|
Tag,
|
|
41
43
|
Target,
|
|
42
44
|
TargetLocation,
|
|
43
45
|
} from "./models_0";
|
|
44
46
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
47
|
+
export interface DescribeMaintenanceWindowScheduleResult {
|
|
48
|
+
ScheduledWindowExecutions?: ScheduledWindowExecution[];
|
|
49
|
+
NextToken?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface DescribeMaintenanceWindowsForTargetRequest {
|
|
52
|
+
Targets: Target[] | undefined;
|
|
53
|
+
ResourceType: MaintenanceWindowResourceType | undefined;
|
|
54
|
+
MaxResults?: number;
|
|
55
|
+
NextToken?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface MaintenanceWindowIdentityForTarget {
|
|
58
|
+
WindowId?: string;
|
|
59
|
+
Name?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface DescribeMaintenanceWindowsForTargetResult {
|
|
62
|
+
WindowIdentities?: MaintenanceWindowIdentityForTarget[];
|
|
63
|
+
NextToken?: string;
|
|
64
|
+
}
|
|
65
|
+
export interface DescribeMaintenanceWindowTargetsRequest {
|
|
66
|
+
WindowId: string | undefined;
|
|
67
|
+
Filters?: MaintenanceWindowFilter[];
|
|
68
|
+
MaxResults?: number;
|
|
69
|
+
NextToken?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface MaintenanceWindowTarget {
|
|
72
|
+
WindowId?: string;
|
|
73
|
+
WindowTargetId?: string;
|
|
74
|
+
ResourceType?: MaintenanceWindowResourceType;
|
|
75
|
+
Targets?: Target[];
|
|
76
|
+
OwnerInformation?: string;
|
|
77
|
+
Name?: string;
|
|
78
|
+
Description?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface DescribeMaintenanceWindowTargetsResult {
|
|
81
|
+
Targets?: MaintenanceWindowTarget[];
|
|
82
|
+
NextToken?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface DescribeMaintenanceWindowTasksRequest {
|
|
85
|
+
WindowId: string | undefined;
|
|
86
|
+
Filters?: MaintenanceWindowFilter[];
|
|
87
|
+
MaxResults?: number;
|
|
88
|
+
NextToken?: string;
|
|
89
|
+
}
|
|
45
90
|
export declare const MaintenanceWindowTaskCutoffBehavior: {
|
|
46
91
|
readonly CancelTask: "CANCEL_TASK";
|
|
47
92
|
readonly ContinueTask: "CONTINUE_TASK";
|
|
@@ -2144,66 +2189,12 @@ export interface StartAutomationExecutionRequest {
|
|
|
2144
2189
|
export interface StartAutomationExecutionResult {
|
|
2145
2190
|
AutomationExecutionId?: string;
|
|
2146
2191
|
}
|
|
2147
|
-
export declare
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
AutomationDefinitionNotApprovedException,
|
|
2154
|
-
__BaseException
|
|
2155
|
-
>
|
|
2156
|
-
);
|
|
2157
|
-
}
|
|
2158
|
-
export interface StartChangeRequestExecutionRequest {
|
|
2159
|
-
ScheduledTime?: Date;
|
|
2160
|
-
DocumentName: string | undefined;
|
|
2161
|
-
DocumentVersion?: string;
|
|
2162
|
-
Parameters?: Record<string, string[]>;
|
|
2163
|
-
ChangeRequestName?: string;
|
|
2164
|
-
ClientToken?: string;
|
|
2165
|
-
AutoApprove?: boolean;
|
|
2166
|
-
Runbooks: Runbook[] | undefined;
|
|
2167
|
-
Tags?: Tag[];
|
|
2168
|
-
ScheduledEndTime?: Date;
|
|
2169
|
-
ChangeDetails?: string;
|
|
2170
|
-
}
|
|
2171
|
-
export interface StartChangeRequestExecutionResult {
|
|
2172
|
-
AutomationExecutionId?: string;
|
|
2173
|
-
}
|
|
2174
|
-
export interface StartSessionRequest {
|
|
2175
|
-
Target: string | undefined;
|
|
2176
|
-
DocumentName?: string;
|
|
2177
|
-
Reason?: string;
|
|
2178
|
-
Parameters?: Record<string, string[]>;
|
|
2179
|
-
}
|
|
2180
|
-
export interface StartSessionResponse {
|
|
2181
|
-
SessionId?: string;
|
|
2182
|
-
TokenValue?: string;
|
|
2183
|
-
StreamUrl?: string;
|
|
2184
|
-
}
|
|
2185
|
-
export declare class TargetNotConnected extends __BaseException {
|
|
2186
|
-
readonly name: "TargetNotConnected";
|
|
2187
|
-
readonly $fault: "client";
|
|
2188
|
-
Message?: string;
|
|
2189
|
-
constructor(opts: __ExceptionOptionType<TargetNotConnected, __BaseException>);
|
|
2190
|
-
}
|
|
2191
|
-
export declare class InvalidAutomationStatusUpdateException extends __BaseException {
|
|
2192
|
-
readonly name: "InvalidAutomationStatusUpdateException";
|
|
2193
|
-
readonly $fault: "client";
|
|
2194
|
-
Message?: string;
|
|
2195
|
-
constructor(
|
|
2196
|
-
opts: __ExceptionOptionType<
|
|
2197
|
-
InvalidAutomationStatusUpdateException,
|
|
2198
|
-
__BaseException
|
|
2199
|
-
>
|
|
2200
|
-
);
|
|
2201
|
-
}
|
|
2202
|
-
export declare const StopType: {
|
|
2203
|
-
readonly CANCEL: "Cancel";
|
|
2204
|
-
readonly COMPLETE: "Complete";
|
|
2205
|
-
};
|
|
2206
|
-
export type StopType = (typeof StopType)[keyof typeof StopType];
|
|
2192
|
+
export declare const MaintenanceWindowTargetFilterSensitiveLog: (
|
|
2193
|
+
obj: MaintenanceWindowTarget
|
|
2194
|
+
) => any;
|
|
2195
|
+
export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: (
|
|
2196
|
+
obj: DescribeMaintenanceWindowTargetsResult
|
|
2197
|
+
) => any;
|
|
2207
2198
|
export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (
|
|
2208
2199
|
obj: MaintenanceWindowTaskParameterValueExpression
|
|
2209
2200
|
) => any;
|
|
@@ -20,6 +20,8 @@ import {
|
|
|
20
20
|
PatchSource,
|
|
21
21
|
RelatedOpsItem,
|
|
22
22
|
ResourceDataSyncSource,
|
|
23
|
+
Runbook,
|
|
24
|
+
Tag,
|
|
23
25
|
Target,
|
|
24
26
|
TargetLocation,
|
|
25
27
|
} from "./models_0";
|
|
@@ -35,9 +37,68 @@ import {
|
|
|
35
37
|
OpsItemStatus,
|
|
36
38
|
OpsResultAttribute,
|
|
37
39
|
ResultAttribute,
|
|
38
|
-
StopType,
|
|
39
40
|
} from "./models_1";
|
|
40
41
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
42
|
+
export declare class AutomationDefinitionNotApprovedException extends __BaseException {
|
|
43
|
+
readonly name: "AutomationDefinitionNotApprovedException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
Message?: string;
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<
|
|
48
|
+
AutomationDefinitionNotApprovedException,
|
|
49
|
+
__BaseException
|
|
50
|
+
>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export interface StartChangeRequestExecutionRequest {
|
|
54
|
+
ScheduledTime?: Date;
|
|
55
|
+
DocumentName: string | undefined;
|
|
56
|
+
DocumentVersion?: string;
|
|
57
|
+
Parameters?: Record<string, string[]>;
|
|
58
|
+
ChangeRequestName?: string;
|
|
59
|
+
ClientToken?: string;
|
|
60
|
+
AutoApprove?: boolean;
|
|
61
|
+
Runbooks: Runbook[] | undefined;
|
|
62
|
+
Tags?: Tag[];
|
|
63
|
+
ScheduledEndTime?: Date;
|
|
64
|
+
ChangeDetails?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface StartChangeRequestExecutionResult {
|
|
67
|
+
AutomationExecutionId?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface StartSessionRequest {
|
|
70
|
+
Target: string | undefined;
|
|
71
|
+
DocumentName?: string;
|
|
72
|
+
Reason?: string;
|
|
73
|
+
Parameters?: Record<string, string[]>;
|
|
74
|
+
}
|
|
75
|
+
export interface StartSessionResponse {
|
|
76
|
+
SessionId?: string;
|
|
77
|
+
TokenValue?: string;
|
|
78
|
+
StreamUrl?: string;
|
|
79
|
+
}
|
|
80
|
+
export declare class TargetNotConnected extends __BaseException {
|
|
81
|
+
readonly name: "TargetNotConnected";
|
|
82
|
+
readonly $fault: "client";
|
|
83
|
+
Message?: string;
|
|
84
|
+
constructor(opts: __ExceptionOptionType<TargetNotConnected, __BaseException>);
|
|
85
|
+
}
|
|
86
|
+
export declare class InvalidAutomationStatusUpdateException extends __BaseException {
|
|
87
|
+
readonly name: "InvalidAutomationStatusUpdateException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
Message?: string;
|
|
90
|
+
constructor(
|
|
91
|
+
opts: __ExceptionOptionType<
|
|
92
|
+
InvalidAutomationStatusUpdateException,
|
|
93
|
+
__BaseException
|
|
94
|
+
>
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
export declare const StopType: {
|
|
98
|
+
readonly CANCEL: "Cancel";
|
|
99
|
+
readonly COMPLETE: "Complete";
|
|
100
|
+
};
|
|
101
|
+
export type StopType = (typeof StopType)[keyof typeof StopType];
|
|
41
102
|
export interface StopAutomationExecutionRequest {
|
|
42
103
|
AutomationExecutionId: string | undefined;
|
|
43
104
|
Type?: StopType;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeInstancePropertiesCommandInput,
|
|
4
|
+
DescribeInstancePropertiesCommandOutput,
|
|
5
|
+
} from "../commands/DescribeInstancePropertiesCommand";
|
|
6
|
+
import { SSMPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateDescribeInstanceProperties: (
|
|
8
|
+
config: SSMPaginationConfiguration,
|
|
9
|
+
input: DescribeInstancePropertiesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeInstancePropertiesCommandOutput>;
|
|
@@ -12,6 +12,7 @@ export * from "./Interfaces";
|
|
|
12
12
|
export * from "./DescribeInstancePatchStatesForPatchGroupPaginator";
|
|
13
13
|
export * from "./DescribeInstancePatchStatesPaginator";
|
|
14
14
|
export * from "./DescribeInstancePatchesPaginator";
|
|
15
|
+
export * from "./DescribeInstancePropertiesPaginator";
|
|
15
16
|
export * from "./DescribeInventoryDeletionsPaginator";
|
|
16
17
|
export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsPaginator";
|
|
17
18
|
export * from "./DescribeMaintenanceWindowExecutionTasksPaginator";
|
|
@@ -183,6 +183,10 @@ import {
|
|
|
183
183
|
DescribeInstancePatchStatesForPatchGroupCommandInput,
|
|
184
184
|
DescribeInstancePatchStatesForPatchGroupCommandOutput,
|
|
185
185
|
} from "../commands/DescribeInstancePatchStatesForPatchGroupCommand";
|
|
186
|
+
import {
|
|
187
|
+
DescribeInstancePropertiesCommandInput,
|
|
188
|
+
DescribeInstancePropertiesCommandOutput,
|
|
189
|
+
} from "../commands/DescribeInstancePropertiesCommand";
|
|
186
190
|
import {
|
|
187
191
|
DescribeInventoryDeletionsCommandInput,
|
|
188
192
|
DescribeInventoryDeletionsCommandOutput,
|
|
@@ -739,6 +743,10 @@ export declare const se_DescribeInstancePatchStatesForPatchGroupCommand: (
|
|
|
739
743
|
input: DescribeInstancePatchStatesForPatchGroupCommandInput,
|
|
740
744
|
context: __SerdeContext
|
|
741
745
|
) => Promise<__HttpRequest>;
|
|
746
|
+
export declare const se_DescribeInstancePropertiesCommand: (
|
|
747
|
+
input: DescribeInstancePropertiesCommandInput,
|
|
748
|
+
context: __SerdeContext
|
|
749
|
+
) => Promise<__HttpRequest>;
|
|
742
750
|
export declare const se_DescribeInventoryDeletionsCommand: (
|
|
743
751
|
input: DescribeInventoryDeletionsCommandInput,
|
|
744
752
|
context: __SerdeContext
|
|
@@ -1295,6 +1303,10 @@ export declare const de_DescribeInstancePatchStatesForPatchGroupCommand: (
|
|
|
1295
1303
|
output: __HttpResponse,
|
|
1296
1304
|
context: __SerdeContext
|
|
1297
1305
|
) => Promise<DescribeInstancePatchStatesForPatchGroupCommandOutput>;
|
|
1306
|
+
export declare const de_DescribeInstancePropertiesCommand: (
|
|
1307
|
+
output: __HttpResponse,
|
|
1308
|
+
context: __SerdeContext
|
|
1309
|
+
) => Promise<DescribeInstancePropertiesCommandOutput>;
|
|
1298
1310
|
export declare const de_DescribeInventoryDeletionsCommand: (
|
|
1299
1311
|
output: __HttpResponse,
|
|
1300
1312
|
context: __SerdeContext
|
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.562.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ssm",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.556.0",
|
|
24
|
+
"@aws-sdk/core": "3.556.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.556.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|