@aws-sdk/client-ssm 3.835.0 → 3.840.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 CHANGED
@@ -9,7 +9,8 @@ AWS SDK for JavaScript SSM Client for Node.js, Browser and React Native.
9
9
  <p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure
10
10
  end-to-end management solution for hybrid cloud environments that enables safe and secure
11
11
  operations at scale.</p>
12
- <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html">Setting up Amazon Web Services Systems Manager</a>.</p>
12
+ <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-console.html">Setting up
13
+ Amazon Web Services Systems Manager</a>.</p>
13
14
  <p class="title">
14
15
  <b>Related resources</b>
15
16
  </p>
package/dist-cjs/index.js CHANGED
@@ -23,6 +23,7 @@ var index_exports = {};
23
23
  __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AccessRequestStatus: () => AccessRequestStatus,
26
+ AccessType: () => AccessType,
26
27
  AddTagsToResourceCommand: () => AddTagsToResourceCommand,
27
28
  AlreadyExistsException: () => AlreadyExistsException,
28
29
  AssociateOpsItemRelatedItemCommand: () => AssociateOpsItemRelatedItemCommand,
@@ -735,6 +736,10 @@ var AccessRequestStatus = {
735
736
  REJECTED: "Rejected",
736
737
  REVOKED: "Revoked"
737
738
  };
739
+ var AccessType = {
740
+ JUSTINTIME: "JustInTime",
741
+ STANDARD: "Standard"
742
+ };
738
743
  var ResourceTypeForTagging = {
739
744
  ASSOCIATION: "Association",
740
745
  AUTOMATION: "Automation",
@@ -2621,12 +2626,6 @@ var MaintenanceWindowIdentityFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
2621
2626
  ...obj,
2622
2627
  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
2623
2628
  }), "MaintenanceWindowIdentityFilterSensitiveLog");
2624
- var DescribeMaintenanceWindowsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2625
- ...obj,
2626
- ...obj.WindowIdentities && {
2627
- WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item))
2628
- }
2629
- }), "DescribeMaintenanceWindowsResultFilterSensitiveLog");
2630
2629
 
2631
2630
  // src/models/models_1.ts
2632
2631
 
@@ -2751,6 +2750,7 @@ var PatchProperty = {
2751
2750
  Product: "PRODUCT"
2752
2751
  };
2753
2752
  var SessionFilterKey = {
2753
+ ACCESS_TYPE: "AccessType",
2754
2754
  INVOKED_AFTER: "InvokedAfter",
2755
2755
  INVOKED_BEFORE: "InvokedBefore",
2756
2756
  OWNER: "Owner",
@@ -3773,6 +3773,12 @@ var ResourcePolicyLimitExceededException = class _ResourcePolicyLimitExceededExc
3773
3773
  this.Message = opts.Message;
3774
3774
  }
3775
3775
  };
3776
+ var DescribeMaintenanceWindowsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
3777
+ ...obj,
3778
+ ...obj.WindowIdentities && {
3779
+ WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item))
3780
+ }
3781
+ }), "DescribeMaintenanceWindowsResultFilterSensitiveLog");
3776
3782
  var MaintenanceWindowTargetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
3777
3783
  ...obj,
3778
3784
  ...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING },
@@ -10632,6 +10638,7 @@ var de_ServiceSetting = /* @__PURE__ */ __name((output, context) => {
10632
10638
  }, "de_ServiceSetting");
10633
10639
  var de_Session = /* @__PURE__ */ __name((output, context) => {
10634
10640
  return (0, import_smithy_client.take)(output, {
10641
+ AccessType: import_smithy_client.expectString,
10635
10642
  Details: import_smithy_client.expectString,
10636
10643
  DocumentName: import_smithy_client.expectString,
10637
10644
  EndDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndDate"),
@@ -13618,6 +13625,7 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
13618
13625
  waitUntilCommandExecuted,
13619
13626
  AccessDeniedException,
13620
13627
  AccessRequestStatus,
13628
+ AccessType,
13621
13629
  ResourceTypeForTagging,
13622
13630
  InternalServerError,
13623
13631
  InvalidResourceId,
@@ -13759,7 +13767,6 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
13759
13767
  MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog,
13760
13768
  DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog,
13761
13769
  MaintenanceWindowIdentityFilterSensitiveLog,
13762
- DescribeMaintenanceWindowsResultFilterSensitiveLog,
13763
13770
  MaintenanceWindowResourceType,
13764
13771
  MaintenanceWindowTaskCutoffBehavior,
13765
13772
  OpsItemFilterKey,
@@ -13849,6 +13856,7 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
13849
13856
  PoliciesLimitExceededException,
13850
13857
  UnsupportedParameterType,
13851
13858
  ResourcePolicyLimitExceededException,
13859
+ DescribeMaintenanceWindowsResultFilterSensitiveLog,
13852
13860
  MaintenanceWindowTargetFilterSensitiveLog,
13853
13861
  DescribeMaintenanceWindowTargetsResultFilterSensitiveLog,
13854
13862
  MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog,
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeMaintenanceWindowsResultFilterSensitiveLog, } from "../models/models_0";
5
+ import { DescribeMaintenanceWindowsResultFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_DescribeMaintenanceWindowsCommand, se_DescribeMaintenanceWindowsCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
8
  export class DescribeMaintenanceWindowsCommand extends $Command
@@ -21,6 +21,10 @@ export const AccessRequestStatus = {
21
21
  REJECTED: "Rejected",
22
22
  REVOKED: "Revoked",
23
23
  };
24
+ export const AccessType = {
25
+ JUSTINTIME: "JustInTime",
26
+ STANDARD: "Standard",
27
+ };
24
28
  export const ResourceTypeForTagging = {
25
29
  ASSOCIATION: "Association",
26
30
  AUTOMATION: "Automation",
@@ -1458,9 +1462,3 @@ export const MaintenanceWindowIdentityFilterSensitiveLog = (obj) => ({
1458
1462
  ...obj,
1459
1463
  ...(obj.Description && { Description: SENSITIVE_STRING }),
1460
1464
  });
1461
- export const DescribeMaintenanceWindowsResultFilterSensitiveLog = (obj) => ({
1462
- ...obj,
1463
- ...(obj.WindowIdentities && {
1464
- WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item)),
1465
- }),
1466
- });
@@ -1,5 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { PatchSourceFilterSensitiveLog, } from "./models_0";
2
+ import { MaintenanceWindowIdentityFilterSensitiveLog, PatchSourceFilterSensitiveLog, } from "./models_0";
3
3
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
4
4
  export const MaintenanceWindowResourceType = {
5
5
  Instance: "INSTANCE",
@@ -116,6 +116,7 @@ export const PatchProperty = {
116
116
  Product: "PRODUCT",
117
117
  };
118
118
  export const SessionFilterKey = {
119
+ ACCESS_TYPE: "AccessType",
119
120
  INVOKED_AFTER: "InvokedAfter",
120
121
  INVOKED_BEFORE: "InvokedBefore",
121
122
  OWNER: "Owner",
@@ -888,6 +889,12 @@ export class ResourcePolicyLimitExceededException extends __BaseException {
888
889
  this.Message = opts.Message;
889
890
  }
890
891
  }
892
+ export const DescribeMaintenanceWindowsResultFilterSensitiveLog = (obj) => ({
893
+ ...obj,
894
+ ...(obj.WindowIdentities && {
895
+ WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item)),
896
+ }),
897
+ });
891
898
  export const MaintenanceWindowTargetFilterSensitiveLog = (obj) => ({
892
899
  ...obj,
893
900
  ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
@@ -6213,6 +6213,7 @@ const de_ServiceSetting = (output, context) => {
6213
6213
  };
6214
6214
  const de_Session = (output, context) => {
6215
6215
  return take(output, {
6216
+ AccessType: __expectString,
6216
6217
  Details: __expectString,
6217
6218
  DocumentName: __expectString,
6218
6219
  EndDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -1058,7 +1058,8 @@ export interface SSM {
1058
1058
  * <p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure
1059
1059
  * end-to-end management solution for hybrid cloud environments that enables safe and secure
1060
1060
  * operations at scale.</p>
1061
- * <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html">Setting up Amazon Web Services Systems Manager</a>.</p>
1061
+ * <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-console.html">Setting up
1062
+ * Amazon Web Services Systems Manager</a>.</p>
1062
1063
  * <p class="title">
1063
1064
  * <b>Related resources</b>
1064
1065
  * </p>
@@ -318,7 +318,8 @@ export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType {
318
318
  * <p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure
319
319
  * end-to-end management solution for hybrid cloud environments that enables safe and secure
320
320
  * operations at scale.</p>
321
- * <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html">Setting up Amazon Web Services Systems Manager</a>.</p>
321
+ * <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-console.html">Setting up
322
+ * Amazon Web Services Systems Manager</a>.</p>
322
323
  * <p class="title">
323
324
  * <b>Related resources</b>
324
325
  * </p>
@@ -167,6 +167,9 @@ declare const CreateDocumentCommand_base: {
167
167
  * @throws {@link MaxDocumentSizeExceeded} (client fault)
168
168
  * <p>The size limit of a document is 64 KB.</p>
169
169
  *
170
+ * @throws {@link TooManyUpdates} (client fault)
171
+ * <p>There are concurrent updates for a resource that supports one update at a time.</p>
172
+ *
170
173
  * @throws {@link SSMServiceException}
171
174
  * <p>Base exception class for all service exceptions from SSM service.</p>
172
175
  *
@@ -67,6 +67,9 @@ declare const DeleteDocumentCommand_base: {
67
67
  * <p>You attempted to delete a document while it is still shared. You must stop sharing the
68
68
  * document before you can delete it.</p>
69
69
  *
70
+ * @throws {@link TooManyUpdates} (client fault)
71
+ * <p>There are concurrent updates for a resource that supports one update at a time.</p>
72
+ *
70
73
  * @throws {@link SSMServiceException}
71
74
  * <p>Base exception class for all service exceptions from SSM service.</p>
72
75
  *
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeMaintenanceWindowsRequest, DescribeMaintenanceWindowsResult } from "../models/models_0";
3
+ import { DescribeMaintenanceWindowsRequest } from "../models/models_0";
4
+ import { DescribeMaintenanceWindowsResult } from "../models/models_1";
4
5
  import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
5
6
  /**
6
7
  * @public
@@ -41,7 +41,7 @@ declare const DescribeSessionsCommand_base: {
41
41
  * NextToken: "STRING_VALUE",
42
42
  * Filters: [ // SessionFilterList
43
43
  * { // SessionFilter
44
- * key: "InvokedAfter" || "InvokedBefore" || "Target" || "Owner" || "Status" || "SessionId", // required
44
+ * key: "InvokedAfter" || "InvokedBefore" || "Target" || "Owner" || "Status" || "SessionId" || "AccessType", // required
45
45
  * value: "STRING_VALUE", // required
46
46
  * },
47
47
  * ],
@@ -65,6 +65,7 @@ declare const DescribeSessionsCommand_base: {
65
65
  * // CloudWatchOutputUrl: "STRING_VALUE",
66
66
  * // },
67
67
  * // MaxSessionDuration: "STRING_VALUE",
68
+ * // AccessType: "Standard" || "JustInTime",
68
69
  * // },
69
70
  * // ],
70
71
  * // NextToken: "STRING_VALUE",
@@ -67,7 +67,8 @@ declare const GetAccessTokenCommand_base: {
67
67
  * <p>The specified parameter to be shared could not be found.</p>
68
68
  *
69
69
  * @throws {@link ThrottlingException} (client fault)
70
- * <p>The request or operation couldn't be performed because the service is throttling requests.</p>
70
+ * <p>The request or operation couldn't be performed because the service is throttling
71
+ * requests.</p>
71
72
  *
72
73
  * @throws {@link ValidationException} (client fault)
73
74
  * <p>The request isn't valid. Verify that you entered valid contents for the command and try
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RegisterPatchBaselineForPatchGroupRequest, RegisterPatchBaselineForPatchGroupResult } from "../models/models_1";
3
+ import { RegisterPatchBaselineForPatchGroupRequest } from "../models/models_1";
4
+ import { RegisterPatchBaselineForPatchGroupResult } from "../models/models_2";
4
5
  import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
5
6
  /**
6
7
  * @public
@@ -75,10 +75,12 @@ declare const StartAccessRequestCommand_base: {
75
75
  * <p>The specified parameter to be shared could not be found.</p>
76
76
  *
77
77
  * @throws {@link ServiceQuotaExceededException} (client fault)
78
- * <p>The request exceeds the service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.</p>
78
+ * <p>The request exceeds the service quota. Service quotas, also referred to as limits, are the
79
+ * maximum number of service resources or operations for your Amazon Web Services account.</p>
79
80
  *
80
81
  * @throws {@link ThrottlingException} (client fault)
81
- * <p>The request or operation couldn't be performed because the service is throttling requests.</p>
82
+ * <p>The request or operation couldn't be performed because the service is throttling
83
+ * requests.</p>
82
84
  *
83
85
  * @throws {@link ValidationException} (client fault)
84
86
  * <p>The request isn't valid. Verify that you entered valid contents for the command and try
@@ -73,6 +73,9 @@ declare const UpdateDocumentMetadataCommand_base: {
73
73
  * @throws {@link InvalidDocumentVersion} (client fault)
74
74
  * <p>The document version isn't valid or doesn't exist.</p>
75
75
  *
76
+ * @throws {@link TooManyUpdates} (client fault)
77
+ * <p>There are concurrent updates for a resource that supports one update at a time.</p>
78
+ *
76
79
  * @throws {@link SSMServiceException}
77
80
  * <p>Base exception class for all service exceptions from SSM service.</p>
78
81
  *
@@ -2,7 +2,8 @@
2
2
  * <p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure
3
3
  * end-to-end management solution for hybrid cloud environments that enables safe and secure
4
4
  * operations at scale.</p>
5
- * <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html">Setting up Amazon Web Services Systems Manager</a>.</p>
5
+ * <p>This reference is intended to be used with the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-console.html">Setting up
6
+ * Amazon Web Services Systems Manager</a>.</p>
6
7
  * <p class="title">
7
8
  * <b>Related resources</b>
8
9
  * </p>
@@ -28,6 +28,18 @@ export declare const AccessRequestStatus: {
28
28
  * @public
29
29
  */
30
30
  export type AccessRequestStatus = (typeof AccessRequestStatus)[keyof typeof AccessRequestStatus];
31
+ /**
32
+ * @public
33
+ * @enum
34
+ */
35
+ export declare const AccessType: {
36
+ readonly JUSTINTIME: "JustInTime";
37
+ readonly STANDARD: "Standard";
38
+ };
39
+ /**
40
+ * @public
41
+ */
42
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
31
43
  /**
32
44
  * <p>Information includes the Amazon Web Services account ID where the current document is shared and the
33
45
  * version shared with that account.</p>
@@ -5918,6 +5930,10 @@ export interface DescribeAvailablePatchesResult {
5918
5930
  export interface DescribeDocumentRequest {
5919
5931
  /**
5920
5932
  * <p>The name of the SSM document.</p>
5933
+ * <note>
5934
+ * <p>If you're calling a shared SSM document from a different Amazon Web Services account,
5935
+ * <code>Name</code> is the full Amazon Resource Name (ARN) of the document.</p>
5936
+ * </note>
5921
5937
  * @public
5922
5938
  */
5923
5939
  Name: string | undefined;
@@ -5961,7 +5977,7 @@ export type DocumentPermissionType = (typeof DocumentPermissionType)[keyof typeo
5961
5977
  */
5962
5978
  export interface DescribeDocumentPermissionRequest {
5963
5979
  /**
5964
- * <p>The name of the document for which you are the owner.</p>
5980
+ * <p>The name of the document for which you are the owner. </p>
5965
5981
  * @public
5966
5982
  */
5967
5983
  Name: string | undefined;
@@ -5990,7 +6006,7 @@ export interface DescribeDocumentPermissionRequest {
5990
6006
  export interface DescribeDocumentPermissionResponse {
5991
6007
  /**
5992
6008
  * <p>The account IDs that have permission to use this document. The ID can be either an
5993
- * Amazon Web Services account or <i>All</i>.</p>
6009
+ * Amazon Web Services account number or <code>all</code>.</p>
5994
6010
  * @public
5995
6011
  */
5996
6012
  AccountIds?: string[] | undefined;
@@ -6330,7 +6346,7 @@ export interface InstanceInformationStringFilter {
6330
6346
  /**
6331
6347
  * <p>The filter key name to describe your managed nodes.</p>
6332
6348
  * <p>Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole |
6333
- * InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" |
6349
+ * InstanceIds | PingStatus | PlatformType | ResourceType | SourceIds | SourceTypes | "tag-key" |
6334
6350
  * "tag:<code>\{keyname\}</code>
6335
6351
  * </p>
6336
6352
  * <ul>
@@ -8107,22 +8123,6 @@ export interface MaintenanceWindowIdentity {
8107
8123
  */
8108
8124
  NextExecutionTime?: string | undefined;
8109
8125
  }
8110
- /**
8111
- * @public
8112
- */
8113
- export interface DescribeMaintenanceWindowsResult {
8114
- /**
8115
- * <p>Information about the maintenance windows.</p>
8116
- * @public
8117
- */
8118
- WindowIdentities?: MaintenanceWindowIdentity[] | undefined;
8119
- /**
8120
- * <p>The token to use when requesting the next set of items. If there are no additional items to
8121
- * return, the string is empty.</p>
8122
- * @public
8123
- */
8124
- NextToken?: string | undefined;
8125
- }
8126
8126
  /**
8127
8127
  * @internal
8128
8128
  */
@@ -8207,7 +8207,3 @@ export declare const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilt
8207
8207
  * @internal
8208
8208
  */
8209
8209
  export declare const MaintenanceWindowIdentityFilterSensitiveLog: (obj: MaintenanceWindowIdentity) => any;
8210
- /**
8211
- * @internal
8212
- */
8213
- export declare const DescribeMaintenanceWindowsResultFilterSensitiveLog: (obj: DescribeMaintenanceWindowsResult) => any;
@@ -1,6 +1,22 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AccessRequestStatus, AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, MaintenanceWindowExecutionStatus, MaintenanceWindowFilter, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceType, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
2
+ import { AccessRequestStatus, AccessType, AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, MaintenanceWindowExecutionStatus, MaintenanceWindowFilter, MaintenanceWindowIdentity, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceType, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
3
3
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DescribeMaintenanceWindowsResult {
8
+ /**
9
+ * <p>Information about the maintenance windows.</p>
10
+ * @public
11
+ */
12
+ WindowIdentities?: MaintenanceWindowIdentity[] | undefined;
13
+ /**
14
+ * <p>The token to use when requesting the next set of items. If there are no additional items to
15
+ * return, the string is empty.</p>
16
+ * @public
17
+ */
18
+ NextToken?: string | undefined;
19
+ }
4
20
  /**
5
21
  * @public
6
22
  * @enum
@@ -1431,6 +1447,7 @@ export interface DescribePatchPropertiesResult {
1431
1447
  * @enum
1432
1448
  */
1433
1449
  export declare const SessionFilterKey: {
1450
+ readonly ACCESS_TYPE: "AccessType";
1434
1451
  readonly INVOKED_AFTER: "InvokedAfter";
1435
1452
  readonly INVOKED_BEFORE: "InvokedBefore";
1436
1453
  readonly OWNER: "Owner";
@@ -1633,6 +1650,13 @@ export interface Session {
1633
1650
  * @public
1634
1651
  */
1635
1652
  MaxSessionDuration?: string | undefined;
1653
+ /**
1654
+ * <p>
1655
+ * <code>Standard</code> access type is the default for Session Manager sessions.
1656
+ * <code>JustInTime</code> is the access type for <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-just-in-time-node-access.html">Just-in-time node access</a>. </p>
1657
+ * @public
1658
+ */
1659
+ AccessType?: AccessType | undefined;
1636
1660
  }
1637
1661
  /**
1638
1662
  * @public
@@ -1697,7 +1721,8 @@ export interface GetAccessTokenRequest {
1697
1721
  AccessRequestId: string | undefined;
1698
1722
  }
1699
1723
  /**
1700
- * <p>The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.</p>
1724
+ * <p>The temporary security credentials, which include an access key ID, a secret access key, and
1725
+ * a security (or session) token.</p>
1701
1726
  * @public
1702
1727
  */
1703
1728
  export interface Credentials {
@@ -1727,7 +1752,8 @@ export interface Credentials {
1727
1752
  */
1728
1753
  export interface GetAccessTokenResponse {
1729
1754
  /**
1730
- * <p>The temporary security credentials which can be used to start just-in-time node access sessions.</p>
1755
+ * <p>The temporary security credentials which can be used to start just-in-time node access
1756
+ * sessions.</p>
1731
1757
  * @public
1732
1758
  */
1733
1759
  Credentials?: Credentials | undefined;
@@ -1738,7 +1764,8 @@ export interface GetAccessTokenResponse {
1738
1764
  AccessRequestStatus?: AccessRequestStatus | undefined;
1739
1765
  }
1740
1766
  /**
1741
- * <p>The request or operation couldn't be performed because the service is throttling requests.</p>
1767
+ * <p>The request or operation couldn't be performed because the service is throttling
1768
+ * requests.</p>
1742
1769
  * @public
1743
1770
  */
1744
1771
  export declare class ThrottlingException extends __BaseException {
@@ -9180,20 +9207,9 @@ export interface RegisterPatchBaselineForPatchGroupRequest {
9180
9207
  PatchGroup: string | undefined;
9181
9208
  }
9182
9209
  /**
9183
- * @public
9210
+ * @internal
9184
9211
  */
9185
- export interface RegisterPatchBaselineForPatchGroupResult {
9186
- /**
9187
- * <p>The ID of the patch baseline the patch group was registered with.</p>
9188
- * @public
9189
- */
9190
- BaselineId?: string | undefined;
9191
- /**
9192
- * <p>The name of the patch group registered with the patch baseline.</p>
9193
- * @public
9194
- */
9195
- PatchGroup?: string | undefined;
9196
- }
9212
+ export declare const DescribeMaintenanceWindowsResultFilterSensitiveLog: (obj: DescribeMaintenanceWindowsResult) => any;
9197
9213
  /**
9198
9214
  * @internal
9199
9215
  */
@@ -2,6 +2,21 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, DocumentHashType, ExecutionMode, InstanceAssociationOutputLocation, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, ResourceTypeForTagging, Runbook, Tag, Target, TargetLocation } from "./models_0";
3
3
  import { CloudWatchOutputConfig, Command, DocumentReviewCommentSource, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, NodeAggregatorType, NodeAttributeName, NodeFilter, NodeTypeName, NotificationConfig, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute, ServiceSetting } from "./models_1";
4
4
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface RegisterPatchBaselineForPatchGroupResult {
9
+ /**
10
+ * <p>The ID of the patch baseline the patch group was registered with.</p>
11
+ * @public
12
+ */
13
+ BaselineId?: string | undefined;
14
+ /**
15
+ * <p>The name of the patch group registered with the patch baseline.</p>
16
+ * @public
17
+ */
18
+ PatchGroup?: string | undefined;
19
+ }
5
20
  /**
6
21
  * @public
7
22
  */
@@ -737,7 +752,8 @@ export interface SendCommandResult {
737
752
  Command?: Command | undefined;
738
753
  }
739
754
  /**
740
- * <p>The request exceeds the service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.</p>
755
+ * <p>The request exceeds the service quota. Service quotas, also referred to as limits, are the
756
+ * maximum number of service resources or operations for your Amazon Web Services account.</p>
741
757
  * @public
742
758
  */
743
759
  export declare class ServiceQuotaExceededException extends __BaseException {
@@ -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
- DescribeMaintenanceWindowsRequest,
5
- DescribeMaintenanceWindowsResult,
6
- } from "../models/models_0";
3
+ import { DescribeMaintenanceWindowsRequest } from "../models/models_0";
4
+ import { DescribeMaintenanceWindowsResult } from "../models/models_1";
7
5
  import {
8
6
  ServiceInputTypes,
9
7
  ServiceOutputTypes,
@@ -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
- RegisterPatchBaselineForPatchGroupRequest,
5
- RegisterPatchBaselineForPatchGroupResult,
6
- } from "../models/models_1";
3
+ import { RegisterPatchBaselineForPatchGroupRequest } from "../models/models_1";
4
+ import { RegisterPatchBaselineForPatchGroupResult } from "../models/models_2";
7
5
  import {
8
6
  ServiceInputTypes,
9
7
  ServiceOutputTypes,
@@ -17,6 +17,11 @@ export declare const AccessRequestStatus: {
17
17
  };
18
18
  export type AccessRequestStatus =
19
19
  (typeof AccessRequestStatus)[keyof typeof AccessRequestStatus];
20
+ export declare const AccessType: {
21
+ readonly JUSTINTIME: "JustInTime";
22
+ readonly STANDARD: "Standard";
23
+ };
24
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
20
25
  export interface AccountSharingInfo {
21
26
  AccountId?: string | undefined;
22
27
  SharedDocumentVersion?: string | undefined;
@@ -2129,10 +2134,6 @@ export interface MaintenanceWindowIdentity {
2129
2134
  StartDate?: string | undefined;
2130
2135
  NextExecutionTime?: string | undefined;
2131
2136
  }
2132
- export interface DescribeMaintenanceWindowsResult {
2133
- WindowIdentities?: MaintenanceWindowIdentity[] | undefined;
2134
- NextToken?: string | undefined;
2135
- }
2136
2137
  export declare const CreateAssociationRequestFilterSensitiveLog: (
2137
2138
  obj: CreateAssociationRequest
2138
2139
  ) => any;
@@ -2194,6 +2195,3 @@ export declare const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilt
2194
2195
  export declare const MaintenanceWindowIdentityFilterSensitiveLog: (
2195
2196
  obj: MaintenanceWindowIdentity
2196
2197
  ) => any;
2197
- export declare const DescribeMaintenanceWindowsResultFilterSensitiveLog: (
2198
- obj: DescribeMaintenanceWindowsResult
2199
- ) => any;
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import {
3
3
  AccessRequestStatus,
4
+ AccessType,
4
5
  AlarmConfiguration,
5
6
  AlarmStateInformation,
6
7
  AssociationComplianceSeverity,
@@ -18,6 +19,7 @@ import {
18
19
  InstanceAssociationOutputLocation,
19
20
  MaintenanceWindowExecutionStatus,
20
21
  MaintenanceWindowFilter,
22
+ MaintenanceWindowIdentity,
21
23
  MaintenanceWindowTaskType,
22
24
  MetadataValue,
23
25
  OperatingSystem,
@@ -45,6 +47,10 @@ import {
45
47
  TargetLocation,
46
48
  } from "./models_0";
47
49
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
50
+ export interface DescribeMaintenanceWindowsResult {
51
+ WindowIdentities?: MaintenanceWindowIdentity[] | undefined;
52
+ NextToken?: string | undefined;
53
+ }
48
54
  export declare const MaintenanceWindowResourceType: {
49
55
  readonly Instance: "INSTANCE";
50
56
  readonly ResourceGroup: "RESOURCE_GROUP";
@@ -387,6 +393,7 @@ export interface DescribePatchPropertiesResult {
387
393
  NextToken?: string | undefined;
388
394
  }
389
395
  export declare const SessionFilterKey: {
396
+ readonly ACCESS_TYPE: "AccessType";
390
397
  readonly INVOKED_AFTER: "InvokedAfter";
391
398
  readonly INVOKED_BEFORE: "InvokedBefore";
392
399
  readonly OWNER: "Owner";
@@ -436,6 +443,7 @@ export interface Session {
436
443
  Details?: string | undefined;
437
444
  OutputUrl?: SessionManagerOutputUrl | undefined;
438
445
  MaxSessionDuration?: string | undefined;
446
+ AccessType?: AccessType | undefined;
439
447
  }
440
448
  export interface DescribeSessionsResponse {
441
449
  Sessions?: Session[] | undefined;
@@ -2203,10 +2211,9 @@ export interface RegisterPatchBaselineForPatchGroupRequest {
2203
2211
  BaselineId: string | undefined;
2204
2212
  PatchGroup: string | undefined;
2205
2213
  }
2206
- export interface RegisterPatchBaselineForPatchGroupResult {
2207
- BaselineId?: string | undefined;
2208
- PatchGroup?: string | undefined;
2209
- }
2214
+ export declare const DescribeMaintenanceWindowsResultFilterSensitiveLog: (
2215
+ obj: DescribeMaintenanceWindowsResult
2216
+ ) => any;
2210
2217
  export declare const MaintenanceWindowTargetFilterSensitiveLog: (
2211
2218
  obj: MaintenanceWindowTarget
2212
2219
  ) => any;
@@ -53,6 +53,10 @@ import {
53
53
  ServiceSetting,
54
54
  } from "./models_1";
55
55
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
56
+ export interface RegisterPatchBaselineForPatchGroupResult {
57
+ BaselineId?: string | undefined;
58
+ PatchGroup?: string | undefined;
59
+ }
56
60
  export interface RegisterTargetWithMaintenanceWindowRequest {
57
61
  WindowId: string | undefined;
58
62
  ResourceType: MaintenanceWindowResourceType | 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.835.0",
4
+ "version": "3.840.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,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.835.0",
24
- "@aws-sdk/credential-provider-node": "3.835.0",
25
- "@aws-sdk/middleware-host-header": "3.821.0",
26
- "@aws-sdk/middleware-logger": "3.821.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.835.0",
29
- "@aws-sdk/region-config-resolver": "3.821.0",
30
- "@aws-sdk/types": "3.821.0",
31
- "@aws-sdk/util-endpoints": "3.828.0",
32
- "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.835.0",
23
+ "@aws-sdk/core": "3.840.0",
24
+ "@aws-sdk/credential-provider-node": "3.840.0",
25
+ "@aws-sdk/middleware-host-header": "3.840.0",
26
+ "@aws-sdk/middleware-logger": "3.840.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
+ "@aws-sdk/middleware-user-agent": "3.840.0",
29
+ "@aws-sdk/region-config-resolver": "3.840.0",
30
+ "@aws-sdk/types": "3.840.0",
31
+ "@aws-sdk/util-endpoints": "3.840.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.840.0",
33
+ "@aws-sdk/util-user-agent-node": "3.840.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.5.3",
35
+ "@smithy/core": "^3.6.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.12",
41
- "@smithy/middleware-retry": "^4.1.13",
40
+ "@smithy/middleware-endpoint": "^4.1.13",
41
+ "@smithy/middleware-retry": "^4.1.14",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.4",
47
+ "@smithy/smithy-client": "^4.4.5",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.20",
54
- "@smithy/util-defaults-mode-node": "^4.0.20",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.21",
54
+ "@smithy/util-defaults-mode-node": "^4.0.21",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
- "@smithy/util-waiter": "^4.0.5",
59
+ "@smithy/util-waiter": "^4.0.6",
60
60
  "@types/uuid": "^9.0.1",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"