@aws-sdk/client-ssm 3.431.0 → 3.435.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.
Files changed (44) hide show
  1. package/README.md +9 -1
  2. package/dist-cjs/SSM.js +2 -0
  3. package/dist-cjs/commands/DeleteOpsItemCommand.js +51 -0
  4. package/dist-cjs/commands/DescribeMaintenanceWindowTasksCommand.js +2 -2
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/models/models_0.js +17 -44
  8. package/dist-cjs/models/models_1.js +44 -17
  9. package/dist-cjs/models/models_2.js +15 -1
  10. package/dist-cjs/protocols/Aws_json1_1.js +68 -7
  11. package/dist-es/SSM.js +2 -0
  12. package/dist-es/commands/DeleteOpsItemCommand.js +47 -0
  13. package/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js +1 -1
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/endpoint/ruleset.js +3 -3
  16. package/dist-es/models/models_0.js +13 -40
  17. package/dist-es/models/models_1.js +41 -14
  18. package/dist-es/models/models_2.js +13 -0
  19. package/dist-es/protocols/Aws_json1_1.js +62 -3
  20. package/dist-types/SSM.d.ts +8 -1
  21. package/dist-types/SSMClient.d.ts +4 -3
  22. package/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +3 -0
  23. package/dist-types/commands/DeleteOpsItemCommand.d.ts +105 -0
  24. package/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +2 -1
  25. package/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +3 -0
  26. package/dist-types/commands/UnlabelParameterVersionCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateOpsItemCommand.d.ts +3 -0
  28. package/dist-types/commands/index.d.ts +1 -0
  29. package/dist-types/index.d.ts +1 -1
  30. package/dist-types/models/models_0.d.ts +32 -77
  31. package/dist-types/models/models_1.d.ts +73 -51
  32. package/dist-types/models/models_2.d.ts +50 -0
  33. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  34. package/dist-types/ts3.4/SSM.d.ts +17 -0
  35. package/dist-types/ts3.4/SSMClient.d.ts +6 -0
  36. package/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +12 -47
  41. package/dist-types/ts3.4/models/models_1.d.ts +48 -22
  42. package/dist-types/ts3.4/models/models_2.d.ts +20 -0
  43. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  44. package/package.json +32 -32
@@ -18,14 +18,13 @@ import {
18
18
  LoggingInfo,
19
19
  MaintenanceWindowExecutionStatus,
20
20
  MaintenanceWindowResourceType,
21
+ MaintenanceWindowTask,
21
22
  MaintenanceWindowTaskCutoffBehavior,
22
23
  MaintenanceWindowTaskParameterValueExpression,
23
24
  MaintenanceWindowTaskType,
24
25
  MetadataValue,
25
26
  OperatingSystem,
26
27
  OpsItemDataValue,
27
- OpsItemFilterKey,
28
- OpsItemFilterOperator,
29
28
  OpsItemNotification,
30
29
  PatchAction,
31
30
  PatchComplianceLevel,
@@ -47,6 +46,50 @@ import {
47
46
  TargetLocation,
48
47
  } from "./models_0";
49
48
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
49
+ export interface DescribeMaintenanceWindowTasksResult {
50
+ Tasks?: MaintenanceWindowTask[];
51
+ NextToken?: string;
52
+ }
53
+ export declare const OpsItemFilterKey: {
54
+ readonly ACCOUNT_ID: "AccountId";
55
+ readonly ACTUAL_END_TIME: "ActualEndTime";
56
+ readonly ACTUAL_START_TIME: "ActualStartTime";
57
+ readonly AUTOMATION_ID: "AutomationId";
58
+ readonly CATEGORY: "Category";
59
+ readonly CHANGE_REQUEST_APPROVER_ARN: "ChangeRequestByApproverArn";
60
+ readonly CHANGE_REQUEST_APPROVER_NAME: "ChangeRequestByApproverName";
61
+ readonly CHANGE_REQUEST_REQUESTER_ARN: "ChangeRequestByRequesterArn";
62
+ readonly CHANGE_REQUEST_REQUESTER_NAME: "ChangeRequestByRequesterName";
63
+ readonly CHANGE_REQUEST_TARGETS_RESOURCE_GROUP: "ChangeRequestByTargetsResourceGroup";
64
+ readonly CHANGE_REQUEST_TEMPLATE: "ChangeRequestByTemplate";
65
+ readonly CREATED_BY: "CreatedBy";
66
+ readonly CREATED_TIME: "CreatedTime";
67
+ readonly INSIGHT_TYPE: "InsightByType";
68
+ readonly LAST_MODIFIED_TIME: "LastModifiedTime";
69
+ readonly OPERATIONAL_DATA: "OperationalData";
70
+ readonly OPERATIONAL_DATA_KEY: "OperationalDataKey";
71
+ readonly OPERATIONAL_DATA_VALUE: "OperationalDataValue";
72
+ readonly OPSITEM_ID: "OpsItemId";
73
+ readonly OPSITEM_TYPE: "OpsItemType";
74
+ readonly PLANNED_END_TIME: "PlannedEndTime";
75
+ readonly PLANNED_START_TIME: "PlannedStartTime";
76
+ readonly PRIORITY: "Priority";
77
+ readonly RESOURCE_ID: "ResourceId";
78
+ readonly SEVERITY: "Severity";
79
+ readonly SOURCE: "Source";
80
+ readonly STATUS: "Status";
81
+ readonly TITLE: "Title";
82
+ };
83
+ export type OpsItemFilterKey =
84
+ (typeof OpsItemFilterKey)[keyof typeof OpsItemFilterKey];
85
+ export declare const OpsItemFilterOperator: {
86
+ readonly CONTAINS: "Contains";
87
+ readonly EQUAL: "Equal";
88
+ readonly GREATER_THAN: "GreaterThan";
89
+ readonly LESS_THAN: "LessThan";
90
+ };
91
+ export type OpsItemFilterOperator =
92
+ (typeof OpsItemFilterOperator)[keyof typeof OpsItemFilterOperator];
50
93
  export interface OpsItemFilter {
51
94
  Key: OpsItemFilterKey | undefined;
52
95
  Values: string[] | undefined;
@@ -2137,26 +2180,9 @@ export interface TerminateSessionRequest {
2137
2180
  export interface TerminateSessionResponse {
2138
2181
  SessionId?: string;
2139
2182
  }
2140
- export interface UnlabelParameterVersionRequest {
2141
- Name: string | undefined;
2142
- ParameterVersion: number | undefined;
2143
- Labels: string[] | undefined;
2144
- }
2145
- export interface UnlabelParameterVersionResult {
2146
- RemovedLabels?: string[];
2147
- InvalidLabels?: string[];
2148
- }
2149
- export declare class AssociationVersionLimitExceeded extends __BaseException {
2150
- readonly name: "AssociationVersionLimitExceeded";
2151
- readonly $fault: "client";
2152
- Message?: string;
2153
- constructor(
2154
- opts: __ExceptionOptionType<
2155
- AssociationVersionLimitExceeded,
2156
- __BaseException
2157
- >
2158
- );
2159
- }
2183
+ export declare const DescribeMaintenanceWindowTasksResultFilterSensitiveLog: (
2184
+ obj: DescribeMaintenanceWindowTasksResult
2185
+ ) => any;
2160
2186
  export declare const BaselineOverrideFilterSensitiveLog: (
2161
2187
  obj: BaselineOverride
2162
2188
  ) => any;
@@ -37,6 +37,26 @@ import {
37
37
  ResultAttribute,
38
38
  } from "./models_1";
39
39
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
40
+ export interface UnlabelParameterVersionRequest {
41
+ Name: string | undefined;
42
+ ParameterVersion: number | undefined;
43
+ Labels: string[] | undefined;
44
+ }
45
+ export interface UnlabelParameterVersionResult {
46
+ RemovedLabels?: string[];
47
+ InvalidLabels?: string[];
48
+ }
49
+ export declare class AssociationVersionLimitExceeded extends __BaseException {
50
+ readonly name: "AssociationVersionLimitExceeded";
51
+ readonly $fault: "client";
52
+ Message?: string;
53
+ constructor(
54
+ opts: __ExceptionOptionType<
55
+ AssociationVersionLimitExceeded,
56
+ __BaseException
57
+ >
58
+ );
59
+ }
40
60
  export declare class InvalidUpdate extends __BaseException {
41
61
  readonly name: "InvalidUpdate";
42
62
  readonly $fault: "client";
@@ -75,6 +75,10 @@ import {
75
75
  DeleteMaintenanceWindowCommandInput,
76
76
  DeleteMaintenanceWindowCommandOutput,
77
77
  } from "../commands/DeleteMaintenanceWindowCommand";
78
+ import {
79
+ DeleteOpsItemCommandInput,
80
+ DeleteOpsItemCommandOutput,
81
+ } from "../commands/DeleteOpsItemCommand";
78
82
  import {
79
83
  DeleteOpsMetadataCommandInput,
80
84
  DeleteOpsMetadataCommandOutput,
@@ -627,6 +631,10 @@ export declare const se_DeleteMaintenanceWindowCommand: (
627
631
  input: DeleteMaintenanceWindowCommandInput,
628
632
  context: __SerdeContext
629
633
  ) => Promise<__HttpRequest>;
634
+ export declare const se_DeleteOpsItemCommand: (
635
+ input: DeleteOpsItemCommandInput,
636
+ context: __SerdeContext
637
+ ) => Promise<__HttpRequest>;
630
638
  export declare const se_DeleteOpsMetadataCommand: (
631
639
  input: DeleteOpsMetadataCommandInput,
632
640
  context: __SerdeContext
@@ -1179,6 +1187,10 @@ export declare const de_DeleteMaintenanceWindowCommand: (
1179
1187
  output: __HttpResponse,
1180
1188
  context: __SerdeContext
1181
1189
  ) => Promise<DeleteMaintenanceWindowCommandOutput>;
1190
+ export declare const de_DeleteOpsItemCommand: (
1191
+ output: __HttpResponse,
1192
+ context: __SerdeContext
1193
+ ) => Promise<DeleteOpsItemCommandOutput>;
1182
1194
  export declare const de_DeleteOpsMetadataCommand: (
1183
1195
  output: __HttpResponse,
1184
1196
  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.431.0",
4
+ "version": "3.435.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.431.0",
25
- "@aws-sdk/credential-provider-node": "3.431.0",
26
- "@aws-sdk/middleware-host-header": "3.431.0",
27
- "@aws-sdk/middleware-logger": "3.428.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
- "@aws-sdk/middleware-signing": "3.428.0",
30
- "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.430.0",
32
- "@aws-sdk/types": "3.428.0",
33
- "@aws-sdk/util-endpoints": "3.428.0",
34
- "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.430.0",
36
- "@smithy/config-resolver": "^2.0.15",
37
- "@smithy/fetch-http-handler": "^2.2.3",
38
- "@smithy/hash-node": "^2.0.11",
39
- "@smithy/invalid-dependency": "^2.0.11",
40
- "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.2",
42
- "@smithy/middleware-retry": "^2.0.17",
43
- "@smithy/middleware-serde": "^2.0.11",
44
- "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.2",
46
- "@smithy/node-http-handler": "^2.1.7",
47
- "@smithy/protocol-http": "^3.0.7",
48
- "@smithy/smithy-client": "^2.1.11",
49
- "@smithy/types": "^2.3.5",
50
- "@smithy/url-parser": "^2.0.11",
24
+ "@aws-sdk/client-sts": "3.435.0",
25
+ "@aws-sdk/credential-provider-node": "3.435.0",
26
+ "@aws-sdk/middleware-host-header": "3.433.0",
27
+ "@aws-sdk/middleware-logger": "3.433.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.433.0",
29
+ "@aws-sdk/middleware-signing": "3.433.0",
30
+ "@aws-sdk/middleware-user-agent": "3.433.0",
31
+ "@aws-sdk/region-config-resolver": "3.433.0",
32
+ "@aws-sdk/types": "3.433.0",
33
+ "@aws-sdk/util-endpoints": "3.433.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.433.0",
35
+ "@aws-sdk/util-user-agent-node": "3.433.0",
36
+ "@smithy/config-resolver": "^2.0.16",
37
+ "@smithy/fetch-http-handler": "^2.2.4",
38
+ "@smithy/hash-node": "^2.0.12",
39
+ "@smithy/invalid-dependency": "^2.0.12",
40
+ "@smithy/middleware-content-length": "^2.0.14",
41
+ "@smithy/middleware-endpoint": "^2.1.3",
42
+ "@smithy/middleware-retry": "^2.0.18",
43
+ "@smithy/middleware-serde": "^2.0.12",
44
+ "@smithy/middleware-stack": "^2.0.6",
45
+ "@smithy/node-config-provider": "^2.1.3",
46
+ "@smithy/node-http-handler": "^2.1.8",
47
+ "@smithy/protocol-http": "^3.0.8",
48
+ "@smithy/smithy-client": "^2.1.12",
49
+ "@smithy/types": "^2.4.0",
50
+ "@smithy/url-parser": "^2.0.12",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.20",
56
- "@smithy/util-retry": "^2.0.4",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.16",
55
+ "@smithy/util-defaults-mode-node": "^2.0.21",
56
+ "@smithy/util-retry": "^2.0.5",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.11",
58
+ "@smithy/util-waiter": "^2.0.12",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"
61
61
  },