@aws-sdk/client-ssm 3.556.0 → 3.563.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 +2 -2
|
@@ -1,7 +1,237 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, InstanceAssociationOutputLocation, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target, TargetLocation } from "./models_0";
|
|
3
|
-
import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute
|
|
2
|
+
import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, InstanceAssociationOutputLocation, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Runbook, Tag, Target, TargetLocation } from "./models_0";
|
|
3
|
+
import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute } from "./models_1";
|
|
4
4
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* <p>Indicates that the Change Manager change template used in the change request was rejected or is
|
|
7
|
+
* still in a pending state.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare class AutomationDefinitionNotApprovedException extends __BaseException {
|
|
11
|
+
readonly name: "AutomationDefinitionNotApprovedException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
Message?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
constructor(opts: __ExceptionOptionType<AutomationDefinitionNotApprovedException, __BaseException>);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface StartChangeRequestExecutionRequest {
|
|
23
|
+
/**
|
|
24
|
+
* <p>The date and time specified in the change request to run the Automation runbooks.</p>
|
|
25
|
+
* <note>
|
|
26
|
+
* <p>The Automation runbooks specified for the runbook workflow can't run until all required
|
|
27
|
+
* approvals for the change request have been received.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
ScheduledTime?: Date;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The name of the change template document to run during the runbook workflow.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
DocumentName: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The version of the change template document to run during the runbook workflow.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
DocumentVersion?: string;
|
|
42
|
+
/**
|
|
43
|
+
* <p>A key-value map of parameters that match the declared parameters in the change template
|
|
44
|
+
* document.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
Parameters?: Record<string, string[]>;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The name of the change request associated with the runbook workflow to be run.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
ChangeRequestName?: string;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The user-provided idempotency token. The token must be unique, is case insensitive, enforces
|
|
55
|
+
* the UUID format, and can't be reused.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
ClientToken?: string;
|
|
59
|
+
/**
|
|
60
|
+
* <p>Indicates whether the change request can be approved automatically without the need for
|
|
61
|
+
* manual approvals.</p>
|
|
62
|
+
* <p>If <code>AutoApprovable</code> is enabled in a change template, then setting
|
|
63
|
+
* <code>AutoApprove</code> to <code>true</code> in <code>StartChangeRequestExecution</code>
|
|
64
|
+
* creates a change request that bypasses approver review.</p>
|
|
65
|
+
* <note>
|
|
66
|
+
* <p>Change Calendar restrictions are not bypassed in this scenario. If the state of an
|
|
67
|
+
* associated calendar is <code>CLOSED</code>, change freeze approvers must still grant permission
|
|
68
|
+
* for this change request to run. If they don't, the change won't be processed until the calendar
|
|
69
|
+
* state is again <code>OPEN</code>. </p>
|
|
70
|
+
* </note>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
AutoApprove?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* <p>Information about the Automation runbooks that are run during the runbook workflow.</p>
|
|
76
|
+
* <note>
|
|
77
|
+
* <p>The Automation runbooks specified for the runbook workflow can't run until all required
|
|
78
|
+
* approvals for the change request have been received.</p>
|
|
79
|
+
* </note>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
Runbooks: Runbook[] | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>Optional metadata that you assign to a resource. You can specify a maximum of five tags for
|
|
85
|
+
* a change request. Tags enable you to categorize a resource in different ways, such as by
|
|
86
|
+
* purpose, owner, or environment. For example, you might want to tag a change request to identify
|
|
87
|
+
* an environment or target Amazon Web Services Region. In this case, you could specify the following key-value
|
|
88
|
+
* pairs:</p>
|
|
89
|
+
* <ul>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <code>Key=Environment,Value=Production</code>
|
|
93
|
+
* </p>
|
|
94
|
+
* </li>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>
|
|
97
|
+
* <code>Key=Region,Value=us-east-2</code>
|
|
98
|
+
* </p>
|
|
99
|
+
* </li>
|
|
100
|
+
* </ul>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
Tags?: Tag[];
|
|
104
|
+
/**
|
|
105
|
+
* <p>The time that the requester expects the runbook workflow related to the change request to
|
|
106
|
+
* complete. The time is an estimate only that the requester provides for reviewers.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
ScheduledEndTime?: Date;
|
|
110
|
+
/**
|
|
111
|
+
* <p>User-provided details about the change. If no details are provided, content specified in the
|
|
112
|
+
* <b>Template information</b> section of the associated change template
|
|
113
|
+
* is added.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
ChangeDetails?: string;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export interface StartChangeRequestExecutionResult {
|
|
122
|
+
/**
|
|
123
|
+
* <p>The unique ID of a runbook workflow operation. (A runbook workflow is a type of Automation
|
|
124
|
+
* operation.) </p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
AutomationExecutionId?: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export interface StartSessionRequest {
|
|
133
|
+
/**
|
|
134
|
+
* <p>The managed node to connect to for the session.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
Target: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* <p>The name of the SSM document you want to use to define the type of session, input
|
|
140
|
+
* parameters, or preferences for the session. For example, <code>SSM-SessionManagerRunShell</code>.
|
|
141
|
+
* You can call the <a>GetDocument</a> API to verify the document exists before
|
|
142
|
+
* attempting to start a session. If no document name is provided, a shell to the managed node is
|
|
143
|
+
* launched by default. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-sessions-start.html">Start a
|
|
144
|
+
* session</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
DocumentName?: string;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The reason for connecting to the instance. This value is included in the details for the
|
|
150
|
+
* Amazon CloudWatch Events event created when you start the session.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
Reason?: string;
|
|
154
|
+
/**
|
|
155
|
+
* <p>The values you want to specify for the parameters defined in the Session
|
|
156
|
+
* document.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
Parameters?: Record<string, string[]>;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export interface StartSessionResponse {
|
|
165
|
+
/**
|
|
166
|
+
* <p>The ID of the session.</p>
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
SessionId?: string;
|
|
170
|
+
/**
|
|
171
|
+
* <p>An encrypted token value containing session and caller information. This token is used to
|
|
172
|
+
* authenticate the connection to the managed node, and is valid only long enough to ensure the
|
|
173
|
+
* connection is successful. Never share your session's token.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
TokenValue?: string;
|
|
177
|
+
/**
|
|
178
|
+
* <p>A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and
|
|
179
|
+
* receive output from the node. Format: <code>wss://ssmmessages.<b>region</b>.amazonaws.com/v1/data-channel/<b>session-id</b>?stream=(input|output)</code>
|
|
180
|
+
* </p>
|
|
181
|
+
* <p>
|
|
182
|
+
* <b>region</b> represents the Region identifier for an
|
|
183
|
+
* Amazon Web Services Region supported by Amazon Web Services Systems Manager, such as <code>us-east-2</code> for the US East (Ohio) Region.
|
|
184
|
+
* For a list of supported <b>region</b> values, see the <b>Region</b> column in <a href="https://docs.aws.amazon.com/general/latest/gr/ssm.html#ssm_region">Systems Manager service endpoints</a> in the
|
|
185
|
+
* <i>Amazon Web Services General Reference</i>.</p>
|
|
186
|
+
* <p>
|
|
187
|
+
* <b>session-id</b> represents the ID of a Session Manager session, such as
|
|
188
|
+
* <code>1a2b3c4dEXAMPLE</code>.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
StreamUrl?: string;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* <p>The specified target managed node for the session isn't fully configured for use with Session Manager.
|
|
195
|
+
* For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html">Getting started with
|
|
196
|
+
* Session Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. This error is also returned if you
|
|
197
|
+
* attempt to start a session on a managed node that is located in a different account or
|
|
198
|
+
* Region</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export declare class TargetNotConnected extends __BaseException {
|
|
202
|
+
readonly name: "TargetNotConnected";
|
|
203
|
+
readonly $fault: "client";
|
|
204
|
+
Message?: string;
|
|
205
|
+
/**
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
constructor(opts: __ExceptionOptionType<TargetNotConnected, __BaseException>);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* <p>The specified update status operation isn't valid.</p>
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
export declare class InvalidAutomationStatusUpdateException extends __BaseException {
|
|
215
|
+
readonly name: "InvalidAutomationStatusUpdateException";
|
|
216
|
+
readonly $fault: "client";
|
|
217
|
+
Message?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
constructor(opts: __ExceptionOptionType<InvalidAutomationStatusUpdateException, __BaseException>);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
* @enum
|
|
226
|
+
*/
|
|
227
|
+
export declare const StopType: {
|
|
228
|
+
readonly CANCEL: "Cancel";
|
|
229
|
+
readonly COMPLETE: "Complete";
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export type StopType = (typeof StopType)[keyof typeof StopType];
|
|
5
235
|
/**
|
|
6
236
|
* @public
|
|
7
237
|
*/
|
|
@@ -604,6 +834,10 @@ export interface UpdateMaintenanceWindowRequest {
|
|
|
604
834
|
* <p>The date and time, in ISO-8601 Extended format, for when you want the maintenance window to
|
|
605
835
|
* become active. <code>StartDate</code> allows you to delay activation of the maintenance window
|
|
606
836
|
* until the specified future date.</p>
|
|
837
|
+
* <note>
|
|
838
|
+
* <p>When using a rate schedule, if you provide a start date that occurs in the past, the
|
|
839
|
+
* current date and time are used as the start date. </p>
|
|
840
|
+
* </note>
|
|
607
841
|
* @public
|
|
608
842
|
*/
|
|
609
843
|
StartDate?: string;
|
|
@@ -854,12 +1088,16 @@ export interface UpdateMaintenanceWindowTaskRequest {
|
|
|
854
1088
|
*/
|
|
855
1089
|
TaskArn?: string;
|
|
856
1090
|
/**
|
|
857
|
-
* <p>The Amazon Resource Name (ARN) of the IAM service role for
|
|
858
|
-
*
|
|
859
|
-
*
|
|
860
|
-
*
|
|
861
|
-
*
|
|
862
|
-
*
|
|
1091
|
+
* <p>The Amazon Resource Name (ARN) of the IAM service role for
|
|
1092
|
+
* Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a
|
|
1093
|
+
* service role ARN, Systems Manager uses a service-linked role in your account. If no
|
|
1094
|
+
* appropriate service-linked role for Systems Manager exists in your account, it is created when
|
|
1095
|
+
* you run <code>RegisterTaskWithMaintenanceWindow</code>.</p>
|
|
1096
|
+
* <p>However, for an improved security posture, we strongly recommend creating a custom
|
|
1097
|
+
* policy and custom service role for running your maintenance window tasks. The policy
|
|
1098
|
+
* can be crafted to provide only the permissions needed for your particular
|
|
1099
|
+
* maintenance window tasks. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html">Setting up maintenance windows</a> in the in the
|
|
1100
|
+
* <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
|
863
1101
|
* @public
|
|
864
1102
|
*/
|
|
865
1103
|
ServiceRoleArn?: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeInstancePropertiesCommandInput, DescribeInstancePropertiesCommandOutput } from "../commands/DescribeInstancePropertiesCommand";
|
|
3
|
+
import { SSMPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeInstanceProperties: (config: SSMPaginationConfiguration, input: DescribeInstancePropertiesCommandInput, ...rest: any[]) => 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";
|
|
@@ -45,6 +45,7 @@ import { DescribeInstanceInformationCommandInput, DescribeInstanceInformationCom
|
|
|
45
45
|
import { DescribeInstancePatchesCommandInput, DescribeInstancePatchesCommandOutput } from "../commands/DescribeInstancePatchesCommand";
|
|
46
46
|
import { DescribeInstancePatchStatesCommandInput, DescribeInstancePatchStatesCommandOutput } from "../commands/DescribeInstancePatchStatesCommand";
|
|
47
47
|
import { DescribeInstancePatchStatesForPatchGroupCommandInput, DescribeInstancePatchStatesForPatchGroupCommandOutput } from "../commands/DescribeInstancePatchStatesForPatchGroupCommand";
|
|
48
|
+
import { DescribeInstancePropertiesCommandInput, DescribeInstancePropertiesCommandOutput } from "../commands/DescribeInstancePropertiesCommand";
|
|
48
49
|
import { DescribeInventoryDeletionsCommandInput, DescribeInventoryDeletionsCommandOutput } from "../commands/DescribeInventoryDeletionsCommand";
|
|
49
50
|
import { DescribeMaintenanceWindowExecutionsCommandInput, DescribeMaintenanceWindowExecutionsCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionsCommand";
|
|
50
51
|
import { DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
|
|
@@ -319,6 +320,10 @@ export declare const se_DescribeInstancePatchStatesCommand: (input: DescribeInst
|
|
|
319
320
|
* serializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand
|
|
320
321
|
*/
|
|
321
322
|
export declare const se_DescribeInstancePatchStatesForPatchGroupCommand: (input: DescribeInstancePatchStatesForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
323
|
+
/**
|
|
324
|
+
* serializeAws_json1_1DescribeInstancePropertiesCommand
|
|
325
|
+
*/
|
|
326
|
+
export declare const se_DescribeInstancePropertiesCommand: (input: DescribeInstancePropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
322
327
|
/**
|
|
323
328
|
* serializeAws_json1_1DescribeInventoryDeletionsCommand
|
|
324
329
|
*/
|
|
@@ -875,6 +880,10 @@ export declare const de_DescribeInstancePatchStatesCommand: (output: __HttpRespo
|
|
|
875
880
|
* deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand
|
|
876
881
|
*/
|
|
877
882
|
export declare const de_DescribeInstancePatchStatesForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstancePatchStatesForPatchGroupCommandOutput>;
|
|
883
|
+
/**
|
|
884
|
+
* deserializeAws_json1_1DescribeInstancePropertiesCommand
|
|
885
|
+
*/
|
|
886
|
+
export declare const de_DescribeInstancePropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeInstancePropertiesCommandOutput>;
|
|
878
887
|
/**
|
|
879
888
|
* deserializeAws_json1_1DescribeInventoryDeletionsCommand
|
|
880
889
|
*/
|
|
@@ -179,6 +179,10 @@ import {
|
|
|
179
179
|
DescribeInstancePatchStatesForPatchGroupCommandInput,
|
|
180
180
|
DescribeInstancePatchStatesForPatchGroupCommandOutput,
|
|
181
181
|
} from "./commands/DescribeInstancePatchStatesForPatchGroupCommand";
|
|
182
|
+
import {
|
|
183
|
+
DescribeInstancePropertiesCommandInput,
|
|
184
|
+
DescribeInstancePropertiesCommandOutput,
|
|
185
|
+
} from "./commands/DescribeInstancePropertiesCommand";
|
|
182
186
|
import {
|
|
183
187
|
DescribeInventoryDeletionsCommandInput,
|
|
184
188
|
DescribeInventoryDeletionsCommandOutput,
|
|
@@ -1196,6 +1200,20 @@ export interface SSM {
|
|
|
1196
1200
|
data?: DescribeInstancePatchStatesForPatchGroupCommandOutput
|
|
1197
1201
|
) => void
|
|
1198
1202
|
): void;
|
|
1203
|
+
describeInstanceProperties(): Promise<DescribeInstancePropertiesCommandOutput>;
|
|
1204
|
+
describeInstanceProperties(
|
|
1205
|
+
args: DescribeInstancePropertiesCommandInput,
|
|
1206
|
+
options?: __HttpHandlerOptions
|
|
1207
|
+
): Promise<DescribeInstancePropertiesCommandOutput>;
|
|
1208
|
+
describeInstanceProperties(
|
|
1209
|
+
args: DescribeInstancePropertiesCommandInput,
|
|
1210
|
+
cb: (err: any, data?: DescribeInstancePropertiesCommandOutput) => void
|
|
1211
|
+
): void;
|
|
1212
|
+
describeInstanceProperties(
|
|
1213
|
+
args: DescribeInstancePropertiesCommandInput,
|
|
1214
|
+
options: __HttpHandlerOptions,
|
|
1215
|
+
cb: (err: any, data?: DescribeInstancePropertiesCommandOutput) => void
|
|
1216
|
+
): void;
|
|
1199
1217
|
describeInventoryDeletions(): Promise<DescribeInventoryDeletionsCommandOutput>;
|
|
1200
1218
|
describeInventoryDeletions(
|
|
1201
1219
|
args: DescribeInventoryDeletionsCommandInput,
|
|
@@ -225,6 +225,10 @@ import {
|
|
|
225
225
|
DescribeInstancePatchStatesForPatchGroupCommandInput,
|
|
226
226
|
DescribeInstancePatchStatesForPatchGroupCommandOutput,
|
|
227
227
|
} from "./commands/DescribeInstancePatchStatesForPatchGroupCommand";
|
|
228
|
+
import {
|
|
229
|
+
DescribeInstancePropertiesCommandInput,
|
|
230
|
+
DescribeInstancePropertiesCommandOutput,
|
|
231
|
+
} from "./commands/DescribeInstancePropertiesCommand";
|
|
228
232
|
import {
|
|
229
233
|
DescribeInventoryDeletionsCommandInput,
|
|
230
234
|
DescribeInventoryDeletionsCommandOutput,
|
|
@@ -654,6 +658,7 @@ export type ServiceInputTypes =
|
|
|
654
658
|
| DescribeInstancePatchStatesCommandInput
|
|
655
659
|
| DescribeInstancePatchStatesForPatchGroupCommandInput
|
|
656
660
|
| DescribeInstancePatchesCommandInput
|
|
661
|
+
| DescribeInstancePropertiesCommandInput
|
|
657
662
|
| DescribeInventoryDeletionsCommandInput
|
|
658
663
|
| DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput
|
|
659
664
|
| DescribeMaintenanceWindowExecutionTasksCommandInput
|
|
@@ -794,6 +799,7 @@ export type ServiceOutputTypes =
|
|
|
794
799
|
| DescribeInstancePatchStatesCommandOutput
|
|
795
800
|
| DescribeInstancePatchStatesForPatchGroupCommandOutput
|
|
796
801
|
| DescribeInstancePatchesCommandOutput
|
|
802
|
+
| DescribeInstancePropertiesCommandOutput
|
|
797
803
|
| DescribeInventoryDeletionsCommandOutput
|
|
798
804
|
| DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput
|
|
799
805
|
| DescribeMaintenanceWindowExecutionTasksCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DescribeInstancePropertiesRequest,
|
|
5
|
+
DescribeInstancePropertiesResult,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
SSMClientResolvedConfig,
|
|
11
|
+
} from "../SSMClient";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface DescribeInstancePropertiesCommandInput
|
|
14
|
+
extends DescribeInstancePropertiesRequest {}
|
|
15
|
+
export interface DescribeInstancePropertiesCommandOutput
|
|
16
|
+
extends DescribeInstancePropertiesResult,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const DescribeInstancePropertiesCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DescribeInstancePropertiesCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
DescribeInstancePropertiesCommandInput,
|
|
23
|
+
DescribeInstancePropertiesCommandOutput,
|
|
24
|
+
SSMClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [DescribeInstancePropertiesCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DescribeInstancePropertiesCommandInput,
|
|
32
|
+
DescribeInstancePropertiesCommandOutput,
|
|
33
|
+
SSMClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class DescribeInstancePropertiesCommand extends DescribeInstancePropertiesCommand_base {}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
DescribeMaintenanceWindowScheduleResult,
|
|
6
|
-
} from "../models/models_0";
|
|
3
|
+
import { DescribeMaintenanceWindowScheduleRequest } from "../models/models_0";
|
|
4
|
+
import { DescribeMaintenanceWindowScheduleResult } from "../models/models_1";
|
|
7
5
|
import {
|
|
8
6
|
ServiceInputTypes,
|
|
9
7
|
ServiceOutputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
DescribeMaintenanceWindowTargetsRequest,
|
|
5
5
|
DescribeMaintenanceWindowTargetsResult,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_1";
|
|
7
7
|
import {
|
|
8
8
|
ServiceInputTypes,
|
|
9
9
|
ServiceOutputTypes,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
DescribeMaintenanceWindowTasksRequest,
|
|
5
|
+
DescribeMaintenanceWindowTasksResult,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
ServiceInputTypes,
|
|
7
9
|
ServiceOutputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
DescribeMaintenanceWindowsForTargetRequest,
|
|
5
5
|
DescribeMaintenanceWindowsForTargetResult,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_1";
|
|
7
7
|
import {
|
|
8
8
|
ServiceInputTypes,
|
|
9
9
|
ServiceOutputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
StartChangeRequestExecutionRequest,
|
|
5
5
|
StartChangeRequestExecutionResult,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_2";
|
|
7
7
|
import {
|
|
8
8
|
ServiceInputTypes,
|
|
9
9
|
ServiceOutputTypes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StartSessionRequest, StartSessionResponse } from "../models/
|
|
3
|
+
import { StartSessionRequest, StartSessionResponse } from "../models/models_2";
|
|
4
4
|
import {
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
@@ -43,6 +43,7 @@ export * from "./DescribeInstanceInformationCommand";
|
|
|
43
43
|
export * from "./DescribeInstancePatchStatesCommand";
|
|
44
44
|
export * from "./DescribeInstancePatchStatesForPatchGroupCommand";
|
|
45
45
|
export * from "./DescribeInstancePatchesCommand";
|
|
46
|
+
export * from "./DescribeInstancePropertiesCommand";
|
|
46
47
|
export * from "./DescribeInventoryDeletionsCommand";
|
|
47
48
|
export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
|
|
48
49
|
export * from "./DescribeMaintenanceWindowExecutionTasksCommand";
|
|
@@ -1871,6 +1871,85 @@ export interface DescribeInstancePatchStatesForPatchGroupResult {
|
|
|
1871
1871
|
InstancePatchStates?: InstancePatchState[];
|
|
1872
1872
|
NextToken?: string;
|
|
1873
1873
|
}
|
|
1874
|
+
export declare const InstancePropertyFilterOperator: {
|
|
1875
|
+
readonly BEGIN_WITH: "BeginWith";
|
|
1876
|
+
readonly EQUAL: "Equal";
|
|
1877
|
+
readonly GREATER_THAN: "GreaterThan";
|
|
1878
|
+
readonly LESS_THAN: "LessThan";
|
|
1879
|
+
readonly NOT_EQUAL: "NotEqual";
|
|
1880
|
+
};
|
|
1881
|
+
export type InstancePropertyFilterOperator =
|
|
1882
|
+
(typeof InstancePropertyFilterOperator)[keyof typeof InstancePropertyFilterOperator];
|
|
1883
|
+
export interface InstancePropertyStringFilter {
|
|
1884
|
+
Key: string | undefined;
|
|
1885
|
+
Values: string[] | undefined;
|
|
1886
|
+
Operator?: InstancePropertyFilterOperator;
|
|
1887
|
+
}
|
|
1888
|
+
export declare const InstancePropertyFilterKey: {
|
|
1889
|
+
readonly ACTIVATION_IDS: "ActivationIds";
|
|
1890
|
+
readonly AGENT_VERSION: "AgentVersion";
|
|
1891
|
+
readonly ASSOCIATION_STATUS: "AssociationStatus";
|
|
1892
|
+
readonly DOCUMENT_NAME: "DocumentName";
|
|
1893
|
+
readonly IAM_ROLE: "IamRole";
|
|
1894
|
+
readonly INSTANCE_IDS: "InstanceIds";
|
|
1895
|
+
readonly PING_STATUS: "PingStatus";
|
|
1896
|
+
readonly PLATFORM_TYPES: "PlatformTypes";
|
|
1897
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
1898
|
+
};
|
|
1899
|
+
export type InstancePropertyFilterKey =
|
|
1900
|
+
(typeof InstancePropertyFilterKey)[keyof typeof InstancePropertyFilterKey];
|
|
1901
|
+
export interface InstancePropertyFilter {
|
|
1902
|
+
key: InstancePropertyFilterKey | undefined;
|
|
1903
|
+
valueSet: string[] | undefined;
|
|
1904
|
+
}
|
|
1905
|
+
export interface DescribeInstancePropertiesRequest {
|
|
1906
|
+
InstancePropertyFilterList?: InstancePropertyFilter[];
|
|
1907
|
+
FiltersWithOperator?: InstancePropertyStringFilter[];
|
|
1908
|
+
MaxResults?: number;
|
|
1909
|
+
NextToken?: string;
|
|
1910
|
+
}
|
|
1911
|
+
export interface InstanceProperty {
|
|
1912
|
+
Name?: string;
|
|
1913
|
+
InstanceId?: string;
|
|
1914
|
+
InstanceType?: string;
|
|
1915
|
+
InstanceRole?: string;
|
|
1916
|
+
KeyName?: string;
|
|
1917
|
+
InstanceState?: string;
|
|
1918
|
+
Architecture?: string;
|
|
1919
|
+
IPAddress?: string;
|
|
1920
|
+
LaunchTime?: Date;
|
|
1921
|
+
PingStatus?: PingStatus;
|
|
1922
|
+
LastPingDateTime?: Date;
|
|
1923
|
+
AgentVersion?: string;
|
|
1924
|
+
PlatformType?: PlatformType;
|
|
1925
|
+
PlatformName?: string;
|
|
1926
|
+
PlatformVersion?: string;
|
|
1927
|
+
ActivationId?: string;
|
|
1928
|
+
IamRole?: string;
|
|
1929
|
+
RegistrationDate?: Date;
|
|
1930
|
+
ResourceType?: string;
|
|
1931
|
+
ComputerName?: string;
|
|
1932
|
+
AssociationStatus?: string;
|
|
1933
|
+
LastAssociationExecutionDate?: Date;
|
|
1934
|
+
LastSuccessfulAssociationExecutionDate?: Date;
|
|
1935
|
+
AssociationOverview?: InstanceAggregatedAssociationOverview;
|
|
1936
|
+
SourceId?: string;
|
|
1937
|
+
SourceType?: SourceType;
|
|
1938
|
+
}
|
|
1939
|
+
export interface DescribeInstancePropertiesResult {
|
|
1940
|
+
InstanceProperties?: InstanceProperty[];
|
|
1941
|
+
NextToken?: string;
|
|
1942
|
+
}
|
|
1943
|
+
export declare class InvalidInstancePropertyFilterValue extends __BaseException {
|
|
1944
|
+
readonly name: "InvalidInstancePropertyFilterValue";
|
|
1945
|
+
readonly $fault: "client";
|
|
1946
|
+
constructor(
|
|
1947
|
+
opts: __ExceptionOptionType<
|
|
1948
|
+
InvalidInstancePropertyFilterValue,
|
|
1949
|
+
__BaseException
|
|
1950
|
+
>
|
|
1951
|
+
);
|
|
1952
|
+
}
|
|
1874
1953
|
export interface DescribeInventoryDeletionsRequest {
|
|
1875
1954
|
DeletionId?: string;
|
|
1876
1955
|
NextToken?: string;
|
|
@@ -2034,49 +2113,6 @@ export interface ScheduledWindowExecution {
|
|
|
2034
2113
|
Name?: string;
|
|
2035
2114
|
ExecutionTime?: string;
|
|
2036
2115
|
}
|
|
2037
|
-
export interface DescribeMaintenanceWindowScheduleResult {
|
|
2038
|
-
ScheduledWindowExecutions?: ScheduledWindowExecution[];
|
|
2039
|
-
NextToken?: string;
|
|
2040
|
-
}
|
|
2041
|
-
export interface DescribeMaintenanceWindowsForTargetRequest {
|
|
2042
|
-
Targets: Target[] | undefined;
|
|
2043
|
-
ResourceType: MaintenanceWindowResourceType | undefined;
|
|
2044
|
-
MaxResults?: number;
|
|
2045
|
-
NextToken?: string;
|
|
2046
|
-
}
|
|
2047
|
-
export interface MaintenanceWindowIdentityForTarget {
|
|
2048
|
-
WindowId?: string;
|
|
2049
|
-
Name?: string;
|
|
2050
|
-
}
|
|
2051
|
-
export interface DescribeMaintenanceWindowsForTargetResult {
|
|
2052
|
-
WindowIdentities?: MaintenanceWindowIdentityForTarget[];
|
|
2053
|
-
NextToken?: string;
|
|
2054
|
-
}
|
|
2055
|
-
export interface DescribeMaintenanceWindowTargetsRequest {
|
|
2056
|
-
WindowId: string | undefined;
|
|
2057
|
-
Filters?: MaintenanceWindowFilter[];
|
|
2058
|
-
MaxResults?: number;
|
|
2059
|
-
NextToken?: string;
|
|
2060
|
-
}
|
|
2061
|
-
export interface MaintenanceWindowTarget {
|
|
2062
|
-
WindowId?: string;
|
|
2063
|
-
WindowTargetId?: string;
|
|
2064
|
-
ResourceType?: MaintenanceWindowResourceType;
|
|
2065
|
-
Targets?: Target[];
|
|
2066
|
-
OwnerInformation?: string;
|
|
2067
|
-
Name?: string;
|
|
2068
|
-
Description?: string;
|
|
2069
|
-
}
|
|
2070
|
-
export interface DescribeMaintenanceWindowTargetsResult {
|
|
2071
|
-
Targets?: MaintenanceWindowTarget[];
|
|
2072
|
-
NextToken?: string;
|
|
2073
|
-
}
|
|
2074
|
-
export interface DescribeMaintenanceWindowTasksRequest {
|
|
2075
|
-
WindowId: string | undefined;
|
|
2076
|
-
Filters?: MaintenanceWindowFilter[];
|
|
2077
|
-
MaxResults?: number;
|
|
2078
|
-
NextToken?: string;
|
|
2079
|
-
}
|
|
2080
2116
|
export declare const CreateAssociationRequestFilterSensitiveLog: (
|
|
2081
2117
|
obj: CreateAssociationRequest
|
|
2082
2118
|
) => any;
|
|
@@ -2129,9 +2165,3 @@ export declare const MaintenanceWindowIdentityFilterSensitiveLog: (
|
|
|
2129
2165
|
export declare const DescribeMaintenanceWindowsResultFilterSensitiveLog: (
|
|
2130
2166
|
obj: DescribeMaintenanceWindowsResult
|
|
2131
2167
|
) => any;
|
|
2132
|
-
export declare const MaintenanceWindowTargetFilterSensitiveLog: (
|
|
2133
|
-
obj: MaintenanceWindowTarget
|
|
2134
|
-
) => any;
|
|
2135
|
-
export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: (
|
|
2136
|
-
obj: DescribeMaintenanceWindowTargetsResult
|
|
2137
|
-
) => any;
|