Skip to content

Commit daee31f

Browse files
author
awstools
committed
feat(client-ssm): Introduces AccessType, a new filter value for the DescribeSessions API.
1 parent aa10e5d commit daee31f

17 files changed

+160
-72
lines changed

clients/client-ssm/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ AWS SDK for JavaScript SSM Client for Node.js, Browser and React Native.
99
<p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure
1010
end-to-end management solution for hybrid cloud environments that enables safe and secure
1111
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>
1314
<p class="title">
1415
<b>Related resources</b>
1516
</p>

clients/client-ssm/src/SSM.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3253,7 +3253,8 @@ export interface SSM {
32533253
* <p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure
32543254
* end-to-end management solution for hybrid cloud environments that enables safe and secure
32553255
* operations at scale.</p>
3256-
* <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>
3256+
* <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
3257+
* Amazon Web Services Systems Manager</a>.</p>
32573258
* <p class="title">
32583259
* <b>Related resources</b>
32593260
* </p>

clients/client-ssm/src/SSMClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,8 @@ export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType {}
991991
* <p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure
992992
* end-to-end management solution for hybrid cloud environments that enables safe and secure
993993
* operations at scale.</p>
994-
* <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>
994+
* <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
995+
* Amazon Web Services Systems Manager</a>.</p>
995996
* <p class="title">
996997
* <b>Related resources</b>
997998
* </p>

clients/client-ssm/src/commands/CreateDocumentCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ export interface CreateDocumentCommandOutput extends CreateDocumentResult, __Met
168168
* @throws {@link MaxDocumentSizeExceeded} (client fault)
169169
* <p>The size limit of a document is 64 KB.</p>
170170
*
171+
* @throws {@link TooManyUpdates} (client fault)
172+
* <p>There are concurrent updates for a resource that supports one update at a time.</p>
173+
*
171174
* @throws {@link SSMServiceException}
172175
* <p>Base exception class for all service exceptions from SSM service.</p>
173176
*

clients/client-ssm/src/commands/DeleteDocumentCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ export interface DeleteDocumentCommandOutput extends DeleteDocumentResult, __Met
6868
* <p>You attempted to delete a document while it is still shared. You must stop sharing the
6969
* document before you can delete it.</p>
7070
*
71+
* @throws {@link TooManyUpdates} (client fault)
72+
* <p>There are concurrent updates for a resource that supports one update at a time.</p>
73+
*
7174
* @throws {@link SSMServiceException}
7275
* <p>Base exception class for all service exceptions from SSM service.</p>
7376
*

clients/client-ssm/src/commands/DescribeMaintenanceWindowsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8+
import { DescribeMaintenanceWindowsRequest } from "../models/models_0";
89
import {
9-
DescribeMaintenanceWindowsRequest,
1010
DescribeMaintenanceWindowsResult,
1111
DescribeMaintenanceWindowsResultFilterSensitiveLog,
12-
} from "../models/models_0";
12+
} from "../models/models_1";
1313
import { de_DescribeMaintenanceWindowsCommand, se_DescribeMaintenanceWindowsCommand } from "../protocols/Aws_json1_1";
1414
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
1515

clients/client-ssm/src/commands/DescribeSessionsCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface DescribeSessionsCommandOutput extends DescribeSessionsResponse,
4242
* NextToken: "STRING_VALUE",
4343
* Filters: [ // SessionFilterList
4444
* { // SessionFilter
45-
* key: "InvokedAfter" || "InvokedBefore" || "Target" || "Owner" || "Status" || "SessionId", // required
45+
* key: "InvokedAfter" || "InvokedBefore" || "Target" || "Owner" || "Status" || "SessionId" || "AccessType", // required
4646
* value: "STRING_VALUE", // required
4747
* },
4848
* ],
@@ -66,6 +66,7 @@ export interface DescribeSessionsCommandOutput extends DescribeSessionsResponse,
6666
* // CloudWatchOutputUrl: "STRING_VALUE",
6767
* // },
6868
* // MaxSessionDuration: "STRING_VALUE",
69+
* // AccessType: "Standard" || "JustInTime",
6970
* // },
7071
* // ],
7172
* // NextToken: "STRING_VALUE",

clients/client-ssm/src/commands/GetAccessTokenCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ export interface GetAccessTokenCommandOutput extends GetAccessTokenResponse, __M
7272
* <p>The specified parameter to be shared could not be found.</p>
7373
*
7474
* @throws {@link ThrottlingException} (client fault)
75-
* <p>The request or operation couldn't be performed because the service is throttling requests.</p>
75+
* <p>The request or operation couldn't be performed because the service is throttling
76+
* requests.</p>
7677
*
7778
* @throws {@link ValidationException} (client fault)
7879
* <p>The request isn't valid. Verify that you entered valid contents for the command and try

clients/client-ssm/src/commands/RegisterPatchBaselineForPatchGroupCommand.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import {
9-
RegisterPatchBaselineForPatchGroupRequest,
10-
RegisterPatchBaselineForPatchGroupResult,
11-
} from "../models/models_1";
8+
import { RegisterPatchBaselineForPatchGroupRequest } from "../models/models_1";
9+
import { RegisterPatchBaselineForPatchGroupResult } from "../models/models_2";
1210
import {
1311
de_RegisterPatchBaselineForPatchGroupCommand,
1412
se_RegisterPatchBaselineForPatchGroupCommand,

clients/client-ssm/src/commands/StartAccessRequestCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ export interface StartAccessRequestCommandOutput extends StartAccessRequestRespo
7676
* <p>The specified parameter to be shared could not be found.</p>
7777
*
7878
* @throws {@link ServiceQuotaExceededException} (client fault)
79-
* <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>
79+
* <p>The request exceeds the service quota. Service quotas, also referred to as limits, are the
80+
* maximum number of service resources or operations for your Amazon Web Services account.</p>
8081
*
8182
* @throws {@link ThrottlingException} (client fault)
82-
* <p>The request or operation couldn't be performed because the service is throttling requests.</p>
83+
* <p>The request or operation couldn't be performed because the service is throttling
84+
* requests.</p>
8385
*
8486
* @throws {@link ValidationException} (client fault)
8587
* <p>The request isn't valid. Verify that you entered valid contents for the command and try

0 commit comments

Comments
 (0)