@aws-sdk/client-ssm 3.515.0 → 3.521.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/index.js +107 -10
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/models/models_0.js +39 -8
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +38 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -1
- package/dist-types/SSMClient.d.ts +4 -4
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +26 -4
- package/dist-types/commands/DescribeParametersCommand.d.ts +6 -3
- package/dist-types/commands/GetParameterHistoryCommand.d.ts +2 -2
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +3 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +40 -3
- package/dist-types/commands/StopAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TerminateSessionCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +52 -61
- package/dist-types/models/models_1.d.ts +108 -45
- package/dist-types/models/models_2.d.ts +39 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/dist-types/runtimeConfig.d.ts +1 -4
- package/dist-types/runtimeConfig.native.d.ts +1 -4
- package/dist-types/ts3.4/SSMClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +30 -17
- package/dist-types/ts3.4/models/models_1.d.ts +19 -11
- package/dist-types/ts3.4/models/models_2.d.ts +12 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/package.json +35 -35
|
@@ -1111,6 +1111,25 @@ export interface DeleteResourcePolicyRequest {
|
|
|
1111
1111
|
PolicyHash: string | undefined;
|
|
1112
1112
|
}
|
|
1113
1113
|
export interface DeleteResourcePolicyResponse {}
|
|
1114
|
+
export declare class MalformedResourcePolicyDocumentException extends __BaseException {
|
|
1115
|
+
readonly name: "MalformedResourcePolicyDocumentException";
|
|
1116
|
+
readonly $fault: "client";
|
|
1117
|
+
Message?: string;
|
|
1118
|
+
constructor(
|
|
1119
|
+
opts: __ExceptionOptionType<
|
|
1120
|
+
MalformedResourcePolicyDocumentException,
|
|
1121
|
+
__BaseException
|
|
1122
|
+
>
|
|
1123
|
+
);
|
|
1124
|
+
}
|
|
1125
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1126
|
+
readonly name: "ResourceNotFoundException";
|
|
1127
|
+
readonly $fault: "client";
|
|
1128
|
+
Message?: string;
|
|
1129
|
+
constructor(
|
|
1130
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
1131
|
+
);
|
|
1132
|
+
}
|
|
1114
1133
|
export declare class ResourcePolicyConflictException extends __BaseException {
|
|
1115
1134
|
readonly name: "ResourcePolicyConflictException";
|
|
1116
1135
|
readonly $fault: "client";
|
|
@@ -1134,6 +1153,17 @@ export declare class ResourcePolicyInvalidParameterException extends __BaseExcep
|
|
|
1134
1153
|
>
|
|
1135
1154
|
);
|
|
1136
1155
|
}
|
|
1156
|
+
export declare class ResourcePolicyNotFoundException extends __BaseException {
|
|
1157
|
+
readonly name: "ResourcePolicyNotFoundException";
|
|
1158
|
+
readonly $fault: "client";
|
|
1159
|
+
Message?: string;
|
|
1160
|
+
constructor(
|
|
1161
|
+
opts: __ExceptionOptionType<
|
|
1162
|
+
ResourcePolicyNotFoundException,
|
|
1163
|
+
__BaseException
|
|
1164
|
+
>
|
|
1165
|
+
);
|
|
1166
|
+
}
|
|
1137
1167
|
export interface DeregisterManagedInstanceRequest {
|
|
1138
1168
|
InstanceId: string | undefined;
|
|
1139
1169
|
}
|
|
@@ -2047,20 +2077,6 @@ export interface DescribeMaintenanceWindowTasksRequest {
|
|
|
2047
2077
|
MaxResults?: number;
|
|
2048
2078
|
NextToken?: string;
|
|
2049
2079
|
}
|
|
2050
|
-
export declare const MaintenanceWindowTaskCutoffBehavior: {
|
|
2051
|
-
readonly CancelTask: "CANCEL_TASK";
|
|
2052
|
-
readonly ContinueTask: "CONTINUE_TASK";
|
|
2053
|
-
};
|
|
2054
|
-
export type MaintenanceWindowTaskCutoffBehavior =
|
|
2055
|
-
(typeof MaintenanceWindowTaskCutoffBehavior)[keyof typeof MaintenanceWindowTaskCutoffBehavior];
|
|
2056
|
-
export interface LoggingInfo {
|
|
2057
|
-
S3BucketName: string | undefined;
|
|
2058
|
-
S3KeyPrefix?: string;
|
|
2059
|
-
S3Region: string | undefined;
|
|
2060
|
-
}
|
|
2061
|
-
export interface MaintenanceWindowTaskParameterValueExpression {
|
|
2062
|
-
Values?: string[];
|
|
2063
|
-
}
|
|
2064
2080
|
export declare const CreateAssociationRequestFilterSensitiveLog: (
|
|
2065
2081
|
obj: CreateAssociationRequest
|
|
2066
2082
|
) => any;
|
|
@@ -2119,6 +2135,3 @@ export declare const MaintenanceWindowTargetFilterSensitiveLog: (
|
|
|
2119
2135
|
export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: (
|
|
2120
2136
|
obj: DescribeMaintenanceWindowTargetsResult
|
|
2121
2137
|
) => any;
|
|
2122
|
-
export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (
|
|
2123
|
-
obj: MaintenanceWindowTaskParameterValueExpression
|
|
2124
|
-
) => any;
|
|
@@ -15,11 +15,8 @@ import {
|
|
|
15
15
|
DocumentType,
|
|
16
16
|
ExecutionMode,
|
|
17
17
|
InstanceAssociationOutputLocation,
|
|
18
|
-
LoggingInfo,
|
|
19
18
|
MaintenanceWindowExecutionStatus,
|
|
20
19
|
MaintenanceWindowResourceType,
|
|
21
|
-
MaintenanceWindowTaskCutoffBehavior,
|
|
22
|
-
MaintenanceWindowTaskParameterValueExpression,
|
|
23
20
|
MaintenanceWindowTaskType,
|
|
24
21
|
MetadataValue,
|
|
25
22
|
OperatingSystem,
|
|
@@ -45,6 +42,20 @@ import {
|
|
|
45
42
|
TargetLocation,
|
|
46
43
|
} from "./models_0";
|
|
47
44
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
45
|
+
export declare const MaintenanceWindowTaskCutoffBehavior: {
|
|
46
|
+
readonly CancelTask: "CANCEL_TASK";
|
|
47
|
+
readonly ContinueTask: "CONTINUE_TASK";
|
|
48
|
+
};
|
|
49
|
+
export type MaintenanceWindowTaskCutoffBehavior =
|
|
50
|
+
(typeof MaintenanceWindowTaskCutoffBehavior)[keyof typeof MaintenanceWindowTaskCutoffBehavior];
|
|
51
|
+
export interface LoggingInfo {
|
|
52
|
+
S3BucketName: string | undefined;
|
|
53
|
+
S3KeyPrefix?: string;
|
|
54
|
+
S3Region: string | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface MaintenanceWindowTaskParameterValueExpression {
|
|
57
|
+
Values?: string[];
|
|
58
|
+
}
|
|
48
59
|
export interface MaintenanceWindowTask {
|
|
49
60
|
WindowId?: string;
|
|
50
61
|
WindowTaskId?: string;
|
|
@@ -185,6 +196,7 @@ export interface DescribeParametersRequest {
|
|
|
185
196
|
ParameterFilters?: ParameterStringFilter[];
|
|
186
197
|
MaxResults?: number;
|
|
187
198
|
NextToken?: string;
|
|
199
|
+
Shared?: boolean;
|
|
188
200
|
}
|
|
189
201
|
export interface ParameterInlinePolicy {
|
|
190
202
|
PolicyText?: string;
|
|
@@ -205,6 +217,7 @@ export declare const ParameterType: {
|
|
|
205
217
|
export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
|
|
206
218
|
export interface ParameterMetadata {
|
|
207
219
|
Name?: string;
|
|
220
|
+
ARN?: string;
|
|
208
221
|
Type?: ParameterType;
|
|
209
222
|
KeyId?: string;
|
|
210
223
|
LastModifiedDate?: Date;
|
|
@@ -2191,14 +2204,9 @@ export declare const StopType: {
|
|
|
2191
2204
|
readonly COMPLETE: "Complete";
|
|
2192
2205
|
};
|
|
2193
2206
|
export type StopType = (typeof StopType)[keyof typeof StopType];
|
|
2194
|
-
export
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
}
|
|
2198
|
-
export interface StopAutomationExecutionResult {}
|
|
2199
|
-
export interface TerminateSessionRequest {
|
|
2200
|
-
SessionId: string | undefined;
|
|
2201
|
-
}
|
|
2207
|
+
export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (
|
|
2208
|
+
obj: MaintenanceWindowTaskParameterValueExpression
|
|
2209
|
+
) => any;
|
|
2202
2210
|
export declare const MaintenanceWindowTaskFilterSensitiveLog: (
|
|
2203
2211
|
obj: MaintenanceWindowTask
|
|
2204
2212
|
) => any;
|
|
@@ -9,9 +9,6 @@ import {
|
|
|
9
9
|
DocumentDescription,
|
|
10
10
|
DocumentFormat,
|
|
11
11
|
InstanceAssociationOutputLocation,
|
|
12
|
-
LoggingInfo,
|
|
13
|
-
MaintenanceWindowTaskCutoffBehavior,
|
|
14
|
-
MaintenanceWindowTaskParameterValueExpression,
|
|
15
12
|
MetadataValue,
|
|
16
13
|
OperatingSystem,
|
|
17
14
|
OpsItemDataValue,
|
|
@@ -30,13 +27,25 @@ import {
|
|
|
30
27
|
DocumentReviewCommentSource,
|
|
31
28
|
InventoryFilter,
|
|
32
29
|
InventoryGroup,
|
|
30
|
+
LoggingInfo,
|
|
31
|
+
MaintenanceWindowTaskCutoffBehavior,
|
|
33
32
|
MaintenanceWindowTaskInvocationParameters,
|
|
33
|
+
MaintenanceWindowTaskParameterValueExpression,
|
|
34
34
|
OpsFilter,
|
|
35
35
|
OpsItemStatus,
|
|
36
36
|
OpsResultAttribute,
|
|
37
37
|
ResultAttribute,
|
|
38
|
+
StopType,
|
|
38
39
|
} from "./models_1";
|
|
39
40
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
41
|
+
export interface StopAutomationExecutionRequest {
|
|
42
|
+
AutomationExecutionId: string | undefined;
|
|
43
|
+
Type?: StopType;
|
|
44
|
+
}
|
|
45
|
+
export interface StopAutomationExecutionResult {}
|
|
46
|
+
export interface TerminateSessionRequest {
|
|
47
|
+
SessionId: string | undefined;
|
|
48
|
+
}
|
|
40
49
|
export interface TerminateSessionResponse {
|
|
41
50
|
SessionId?: string;
|
|
42
51
|
}
|
|
@@ -15,19 +15,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
|
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
17
17
|
requestHandler:
|
|
18
|
-
|
|
|
19
|
-
any,
|
|
20
|
-
any,
|
|
21
|
-
import("@smithy/types").HttpHandlerOptions
|
|
22
|
-
> &
|
|
23
|
-
import("@smithy/types").RequestHandler<
|
|
24
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
-
import("@smithy/types").HttpHandlerOptions
|
|
27
|
-
> & {
|
|
28
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
-
httpHandlerConfigs(): {};
|
|
30
|
-
})
|
|
18
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
31
19
|
| RequestHandler;
|
|
32
20
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
21
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -19,20 +19,8 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
|
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
20
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
21
|
requestHandler:
|
|
22
|
-
|
|
|
23
|
-
|
|
24
|
-
any,
|
|
25
|
-
import("@smithy/types").HttpHandlerOptions
|
|
26
|
-
> &
|
|
27
|
-
import("@smithy/types").RequestHandler<
|
|
28
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
29
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
30
|
-
import("@smithy/types").HttpHandlerOptions
|
|
31
|
-
> & {
|
|
32
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
33
|
-
httpHandlerConfigs(): {};
|
|
34
|
-
})
|
|
35
|
-
| RequestHandler;
|
|
22
|
+
| RequestHandler
|
|
23
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
36
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
37
25
|
sha256: import("@smithy/types").HashConstructor;
|
|
38
26
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
|
|
|
3
3
|
runtime: string;
|
|
4
4
|
sha256: import("@smithy/types").HashConstructor;
|
|
5
5
|
requestHandler:
|
|
6
|
-
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
> &
|
|
11
|
-
import("@smithy/types").RequestHandler<
|
|
12
|
-
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
-
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
-
import("@smithy/types").HttpHandlerOptions
|
|
15
|
-
> & {
|
|
16
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
-
httpHandlerConfigs(): {};
|
|
18
|
-
})
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
19
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
20
11
|
apiVersion: string;
|
|
21
12
|
urlParser: import("@smithy/types").UrlParser;
|
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.521.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,44 +20,44 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
38
|
-
"@smithy/hash-node": "^2.1.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
43
|
-
"@smithy/middleware-serde": "^2.1.
|
|
44
|
-
"@smithy/middleware-stack": "^2.1.
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.521.0",
|
|
24
|
+
"@aws-sdk/core": "3.521.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.521.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.521.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.521.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.521.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.521.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.521.0",
|
|
31
|
+
"@aws-sdk/types": "3.521.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.521.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.521.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.521.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.2",
|
|
36
|
+
"@smithy/core": "^1.3.3",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.2",
|
|
38
|
+
"@smithy/hash-node": "^2.1.2",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.2",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.2",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.2",
|
|
43
|
+
"@smithy/middleware-serde": "^2.1.2",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.2",
|
|
46
|
+
"@smithy/node-http-handler": "^2.4.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.2.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.4.0",
|
|
49
|
+
"@smithy/types": "^2.10.0",
|
|
50
|
+
"@smithy/url-parser": "^2.1.2",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
57
|
-
"@smithy/util-middleware": "^2.1.
|
|
58
|
-
"@smithy/util-retry": "^2.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.2",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.1",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.2",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.2",
|
|
58
|
+
"@smithy/util-retry": "^2.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
|
-
"@smithy/util-waiter": "^2.1.
|
|
60
|
+
"@smithy/util-waiter": "^2.1.2",
|
|
61
61
|
"tslib": "^2.5.0",
|
|
62
62
|
"uuid": "^9.0.1"
|
|
63
63
|
},
|