Skip to content

Commit ac4a855

Browse files
author
awstools
committed
feat(client-ssm): This release adds support for just-In-time node access in AWS Systems Manager. Just-in-time node access enables customers to move towards zero standing privileges by requiring operators to request access and obtain approval before remotely connecting to nodes managed by the SSM Agent.
1 parent 093005b commit ac4a855

26 files changed

+1656
-518
lines changed

clients/client-ssm/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,14 @@ DisassociateOpsItemRelatedItem
742742

743743
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/DisassociateOpsItemRelatedItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/DisassociateOpsItemRelatedItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/DisassociateOpsItemRelatedItemCommandOutput/)
744744

745+
</details>
746+
<details>
747+
<summary>
748+
GetAccessToken
749+
</summary>
750+
751+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/GetAccessTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/GetAccessTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/GetAccessTokenCommandOutput/)
752+
745753
</details>
746754
<details>
747755
<summary>
@@ -1214,6 +1222,14 @@ SendCommand
12141222

12151223
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/SendCommandCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/SendCommandCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/SendCommandCommandOutput/)
12161224

1225+
</details>
1226+
<details>
1227+
<summary>
1228+
StartAccessRequest
1229+
</summary>
1230+
1231+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/StartAccessRequestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/StartAccessRequestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/StartAccessRequestCommandOutput/)
1232+
12171233
</details>
12181234
<details>
12191235
<summary>

clients/client-ssm/src/SSM.ts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,11 @@ import {
317317
DisassociateOpsItemRelatedItemCommandInput,
318318
DisassociateOpsItemRelatedItemCommandOutput,
319319
} from "./commands/DisassociateOpsItemRelatedItemCommand";
320+
import {
321+
GetAccessTokenCommand,
322+
GetAccessTokenCommandInput,
323+
GetAccessTokenCommandOutput,
324+
} from "./commands/GetAccessTokenCommand";
320325
import {
321326
GetAutomationExecutionCommand,
322327
GetAutomationExecutionCommandInput,
@@ -596,6 +601,11 @@ import {
596601
SendAutomationSignalCommandOutput,
597602
} from "./commands/SendAutomationSignalCommand";
598603
import { SendCommandCommand, SendCommandCommandInput, SendCommandCommandOutput } from "./commands/SendCommandCommand";
604+
import {
605+
StartAccessRequestCommand,
606+
StartAccessRequestCommandInput,
607+
StartAccessRequestCommandOutput,
608+
} from "./commands/StartAccessRequestCommand";
599609
import {
600610
StartAssociationsOnceCommand,
601611
StartAssociationsOnceCommandInput,
@@ -772,6 +782,7 @@ const commands = {
772782
DescribePatchPropertiesCommand,
773783
DescribeSessionsCommand,
774784
DisassociateOpsItemRelatedItemCommand,
785+
GetAccessTokenCommand,
775786
GetAutomationExecutionCommand,
776787
GetCalendarStateCommand,
777788
GetCommandInvocationCommand,
@@ -831,6 +842,7 @@ const commands = {
831842
ResumeSessionCommand,
832843
SendAutomationSignalCommand,
833844
SendCommandCommand,
845+
StartAccessRequestCommand,
834846
StartAssociationsOnceCommand,
835847
StartAutomationExecutionCommand,
836848
StartChangeRequestExecutionCommand,
@@ -1911,6 +1923,20 @@ export interface SSM {
19111923
cb: (err: any, data?: DisassociateOpsItemRelatedItemCommandOutput) => void
19121924
): void;
19131925

1926+
/**
1927+
* @see {@link GetAccessTokenCommand}
1928+
*/
1929+
getAccessToken(
1930+
args: GetAccessTokenCommandInput,
1931+
options?: __HttpHandlerOptions
1932+
): Promise<GetAccessTokenCommandOutput>;
1933+
getAccessToken(args: GetAccessTokenCommandInput, cb: (err: any, data?: GetAccessTokenCommandOutput) => void): void;
1934+
getAccessToken(
1935+
args: GetAccessTokenCommandInput,
1936+
options: __HttpHandlerOptions,
1937+
cb: (err: any, data?: GetAccessTokenCommandOutput) => void
1938+
): void;
1939+
19141940
/**
19151941
* @see {@link GetAutomationExecutionCommand}
19161942
*/
@@ -2846,6 +2872,23 @@ export interface SSM {
28462872
cb: (err: any, data?: SendCommandCommandOutput) => void
28472873
): void;
28482874

2875+
/**
2876+
* @see {@link StartAccessRequestCommand}
2877+
*/
2878+
startAccessRequest(
2879+
args: StartAccessRequestCommandInput,
2880+
options?: __HttpHandlerOptions
2881+
): Promise<StartAccessRequestCommandOutput>;
2882+
startAccessRequest(
2883+
args: StartAccessRequestCommandInput,
2884+
cb: (err: any, data?: StartAccessRequestCommandOutput) => void
2885+
): void;
2886+
startAccessRequest(
2887+
args: StartAccessRequestCommandInput,
2888+
options: __HttpHandlerOptions,
2889+
cb: (err: any, data?: StartAccessRequestCommandOutput) => void
2890+
): void;
2891+
28492892
/**
28502893
* @see {@link StartAssociationsOnceCommand}
28512894
*/

clients/client-ssm/src/SSMClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ import {
248248
DisassociateOpsItemRelatedItemCommandInput,
249249
DisassociateOpsItemRelatedItemCommandOutput,
250250
} from "./commands/DisassociateOpsItemRelatedItemCommand";
251+
import { GetAccessTokenCommandInput, GetAccessTokenCommandOutput } from "./commands/GetAccessTokenCommand";
251252
import {
252253
GetAutomationExecutionCommandInput,
253254
GetAutomationExecutionCommandOutput,
@@ -412,6 +413,7 @@ import {
412413
SendAutomationSignalCommandOutput,
413414
} from "./commands/SendAutomationSignalCommand";
414415
import { SendCommandCommandInput, SendCommandCommandOutput } from "./commands/SendCommandCommand";
416+
import { StartAccessRequestCommandInput, StartAccessRequestCommandOutput } from "./commands/StartAccessRequestCommand";
415417
import {
416418
StartAssociationsOnceCommandInput,
417419
StartAssociationsOnceCommandOutput,
@@ -560,6 +562,7 @@ export type ServiceInputTypes =
560562
| DescribePatchPropertiesCommandInput
561563
| DescribeSessionsCommandInput
562564
| DisassociateOpsItemRelatedItemCommandInput
565+
| GetAccessTokenCommandInput
563566
| GetAutomationExecutionCommandInput
564567
| GetCalendarStateCommandInput
565568
| GetCommandInvocationCommandInput
@@ -619,6 +622,7 @@ export type ServiceInputTypes =
619622
| ResumeSessionCommandInput
620623
| SendAutomationSignalCommandInput
621624
| SendCommandCommandInput
625+
| StartAccessRequestCommandInput
622626
| StartAssociationsOnceCommandInput
623627
| StartAutomationExecutionCommandInput
624628
| StartChangeRequestExecutionCommandInput
@@ -709,6 +713,7 @@ export type ServiceOutputTypes =
709713
| DescribePatchPropertiesCommandOutput
710714
| DescribeSessionsCommandOutput
711715
| DisassociateOpsItemRelatedItemCommandOutput
716+
| GetAccessTokenCommandOutput
712717
| GetAutomationExecutionCommandOutput
713718
| GetCalendarStateCommandOutput
714719
| GetCommandInvocationCommandOutput
@@ -768,6 +773,7 @@ export type ServiceOutputTypes =
768773
| ResumeSessionCommandOutput
769774
| SendAutomationSignalCommandOutput
770775
| SendCommandCommandOutput
776+
| StartAccessRequestCommandOutput
771777
| StartAssociationsOnceCommandOutput
772778
| StartAutomationExecutionCommandOutput
773779
| StartChangeRequestExecutionCommandOutput

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export interface CreateDocumentCommandOutput extends CreateDocumentResult, __Met
6060
* Name: "STRING_VALUE", // required
6161
* DisplayName: "STRING_VALUE",
6262
* VersionName: "STRING_VALUE",
63-
* DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup",
63+
* DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup" || "ManualApprovalPolicy" || "AutoApprovalPolicy",
6464
* DocumentFormat: "YAML" || "JSON" || "TEXT",
6565
* TargetType: "STRING_VALUE",
6666
* Tags: [ // TagList
@@ -97,7 +97,7 @@ export interface CreateDocumentCommandOutput extends CreateDocumentResult, __Met
9797
* // PlatformTypes: [ // PlatformTypeList
9898
* // "Windows" || "Linux" || "MacOS",
9999
* // ],
100-
* // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup",
100+
* // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup" || "ManualApprovalPolicy" || "AutoApprovalPolicy",
101101
* // SchemaVersion: "STRING_VALUE",
102102
* // LatestVersion: "STRING_VALUE",
103103
* // DefaultVersion: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export interface DescribeAutomationExecutionsCommandOutput
116116
* // },
117117
* // ],
118118
* // TargetLocationsURL: "STRING_VALUE",
119-
* // AutomationSubtype: "ChangeRequest",
119+
* // AutomationSubtype: "ChangeRequest" || "AccessRequest",
120120
* // ScheduledTime: new Date("TIMESTAMP"),
121121
* // Runbooks: [ // Runbooks
122122
* // { // Runbook

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface DescribeDocumentCommandOutput extends DescribeDocumentResult, _
6767
* // PlatformTypes: [ // PlatformTypeList
6868
* // "Windows" || "Linux" || "MacOS",
6969
* // ],
70-
* // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup",
70+
* // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup" || "ManualApprovalPolicy" || "AutoApprovalPolicy",
7171
* // SchemaVersion: "STRING_VALUE",
7272
* // LatestVersion: "STRING_VALUE",
7373
* // DefaultVersion: "STRING_VALUE",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ 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 { DescribeMaintenanceWindowScheduleRequest } from "../models/models_0";
9-
import { DescribeMaintenanceWindowScheduleResult } from "../models/models_1";
8+
import { DescribeMaintenanceWindowScheduleRequest, DescribeMaintenanceWindowScheduleResult } from "../models/models_1";
109
import {
1110
de_DescribeMaintenanceWindowScheduleCommand,
1211
se_DescribeMaintenanceWindowScheduleCommand,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface DescribeOpsItemsCommandOutput extends DescribeOpsItemsResponse,
4343
* const input = { // DescribeOpsItemsRequest
4444
* OpsItemFilters: [ // OpsItemFilters
4545
* { // OpsItemFilter
46-
* Key: "Status" || "CreatedBy" || "Source" || "Priority" || "Title" || "OpsItemId" || "CreatedTime" || "LastModifiedTime" || "ActualStartTime" || "ActualEndTime" || "PlannedStartTime" || "PlannedEndTime" || "OperationalData" || "OperationalDataKey" || "OperationalDataValue" || "ResourceId" || "AutomationId" || "Category" || "Severity" || "OpsItemType" || "ChangeRequestByRequesterArn" || "ChangeRequestByRequesterName" || "ChangeRequestByApproverArn" || "ChangeRequestByApproverName" || "ChangeRequestByTemplate" || "ChangeRequestByTargetsResourceGroup" || "InsightByType" || "AccountId", // required
46+
* Key: "Status" || "CreatedBy" || "Source" || "Priority" || "Title" || "OpsItemId" || "CreatedTime" || "LastModifiedTime" || "ActualStartTime" || "ActualEndTime" || "PlannedStartTime" || "PlannedEndTime" || "OperationalData" || "OperationalDataKey" || "OperationalDataValue" || "ResourceId" || "AutomationId" || "Category" || "Severity" || "OpsItemType" || "AccessRequestByRequesterArn" || "AccessRequestByRequesterId" || "AccessRequestByApproverArn" || "AccessRequestByApproverId" || "AccessRequestBySourceAccountId" || "AccessRequestBySourceOpsItemId" || "AccessRequestBySourceRegion" || "AccessRequestByIsReplica" || "AccessRequestByTargetResourceId" || "ChangeRequestByRequesterArn" || "ChangeRequestByRequesterName" || "ChangeRequestByApproverArn" || "ChangeRequestByApproverName" || "ChangeRequestByTemplate" || "ChangeRequestByTargetsResourceGroup" || "InsightByType" || "AccountId", // required
4747
* Values: [ // OpsItemFilterValues // required
4848
* "STRING_VALUE",
4949
* ],
@@ -65,7 +65,7 @@ export interface DescribeOpsItemsCommandOutput extends DescribeOpsItemsResponse,
6565
* // LastModifiedTime: new Date("TIMESTAMP"),
6666
* // Priority: Number("int"),
6767
* // Source: "STRING_VALUE",
68-
* // Status: "Open" || "InProgress" || "Resolved" || "Pending" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "CompletedWithSuccess" || "CompletedWithFailure" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "PendingApproval" || "Approved" || "Rejected" || "Closed",
68+
* // Status: "Open" || "InProgress" || "Resolved" || "Pending" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "CompletedWithSuccess" || "CompletedWithFailure" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "PendingApproval" || "Approved" || "Revoked" || "Rejected" || "Closed",
6969
* // OpsItemId: "STRING_VALUE",
7070
* // Title: "STRING_VALUE",
7171
* // OperationalData: { // OpsItemOperationalData
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
// smithy-typescript generated code
2+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3+
import { getSerdePlugin } from "@smithy/middleware-serde";
4+
import { Command as $Command } from "@smithy/smithy-client";
5+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
6+
7+
import { commonParams } from "../endpoint/EndpointParameters";
8+
import {
9+
GetAccessTokenRequest,
10+
GetAccessTokenResponse,
11+
GetAccessTokenResponseFilterSensitiveLog,
12+
} from "../models/models_1";
13+
import { de_GetAccessTokenCommand, se_GetAccessTokenCommand } from "../protocols/Aws_json1_1";
14+
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
15+
16+
/**
17+
* @public
18+
*/
19+
export type { __MetadataBearer };
20+
export { $Command };
21+
/**
22+
* @public
23+
*
24+
* The input for {@link GetAccessTokenCommand}.
25+
*/
26+
export interface GetAccessTokenCommandInput extends GetAccessTokenRequest {}
27+
/**
28+
* @public
29+
*
30+
* The output of {@link GetAccessTokenCommand}.
31+
*/
32+
export interface GetAccessTokenCommandOutput extends GetAccessTokenResponse, __MetadataBearer {}
33+
34+
/**
35+
* <p>Returns a credentials set to be used with just-in-time node access.</p>
36+
* @example
37+
* Use a bare-bones client and the command you need to make an API call.
38+
* ```javascript
39+
* import { SSMClient, GetAccessTokenCommand } from "@aws-sdk/client-ssm"; // ES Modules import
40+
* // const { SSMClient, GetAccessTokenCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
41+
* const client = new SSMClient(config);
42+
* const input = { // GetAccessTokenRequest
43+
* AccessRequestId: "STRING_VALUE", // required
44+
* };
45+
* const command = new GetAccessTokenCommand(input);
46+
* const response = await client.send(command);
47+
* // { // GetAccessTokenResponse
48+
* // Credentials: { // Credentials
49+
* // AccessKeyId: "STRING_VALUE", // required
50+
* // SecretAccessKey: "STRING_VALUE", // required
51+
* // SessionToken: "STRING_VALUE", // required
52+
* // ExpirationTime: new Date("TIMESTAMP"), // required
53+
* // },
54+
* // AccessRequestStatus: "Approved" || "Rejected" || "Revoked" || "Expired" || "Pending",
55+
* // };
56+
*
57+
* ```
58+
*
59+
* @param GetAccessTokenCommandInput - {@link GetAccessTokenCommandInput}
60+
* @returns {@link GetAccessTokenCommandOutput}
61+
* @see {@link GetAccessTokenCommandInput} for command's `input` shape.
62+
* @see {@link GetAccessTokenCommandOutput} for command's `response` shape.
63+
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
64+
*
65+
* @throws {@link AccessDeniedException} (client fault)
66+
* <p>The requester doesn't have permissions to perform the requested operation.</p>
67+
*
68+
* @throws {@link InternalServerError} (server fault)
69+
* <p>An error occurred on the server side.</p>
70+
*
71+
* @throws {@link ResourceNotFoundException} (client fault)
72+
* <p>The specified parameter to be shared could not be found.</p>
73+
*
74+
* @throws {@link ThrottlingException} (client fault)
75+
* <p>The request or operation couldn't be performed because the service is throttling requests.</p>
76+
*
77+
* @throws {@link ValidationException} (client fault)
78+
* <p>The request isn't valid. Verify that you entered valid contents for the command and try
79+
* again.</p>
80+
*
81+
* @throws {@link SSMServiceException}
82+
* <p>Base exception class for all service exceptions from SSM service.</p>
83+
*
84+
*
85+
* @public
86+
*/
87+
export class GetAccessTokenCommand extends $Command
88+
.classBuilder<
89+
GetAccessTokenCommandInput,
90+
GetAccessTokenCommandOutput,
91+
SSMClientResolvedConfig,
92+
ServiceInputTypes,
93+
ServiceOutputTypes
94+
>()
95+
.ep(commonParams)
96+
.m(function (this: any, Command: any, cs: any, config: SSMClientResolvedConfig, o: any) {
97+
return [
98+
getSerdePlugin(config, this.serialize, this.deserialize),
99+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
100+
];
101+
})
102+
.s("AmazonSSM", "GetAccessToken", {})
103+
.n("SSMClient", "GetAccessTokenCommand")
104+
.f(void 0, GetAccessTokenResponseFilterSensitiveLog)
105+
.ser(se_GetAccessTokenCommand)
106+
.de(de_GetAccessTokenCommand)
107+
.build() {
108+
/** @internal type navigation helper, not in runtime. */
109+
protected declare static __types: {
110+
api: {
111+
input: GetAccessTokenRequest;
112+
output: GetAccessTokenResponse;
113+
};
114+
sdk: {
115+
input: GetAccessTokenCommandInput;
116+
output: GetAccessTokenCommandOutput;
117+
};
118+
};
119+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export interface GetAutomationExecutionCommandOutput extends GetAutomationExecut
216216
* // },
217217
* // ],
218218
* // TargetLocationsURL: "STRING_VALUE",
219-
* // AutomationSubtype: "ChangeRequest",
219+
* // AutomationSubtype: "ChangeRequest" || "AccessRequest",
220220
* // ScheduledTime: new Date("TIMESTAMP"),
221221
* // Runbooks: [ // Runbooks
222222
* // { // Runbook

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface GetDocumentCommandOutput extends GetDocumentResult, __MetadataB
5252
* // Status: "Creating" || "Active" || "Updating" || "Deleting" || "Failed",
5353
* // StatusInformation: "STRING_VALUE",
5454
* // Content: "STRING_VALUE",
55-
* // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup",
55+
* // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup" || "ManualApprovalPolicy" || "AutoApprovalPolicy",
5656
* // DocumentFormat: "YAML" || "JSON" || "TEXT",
5757
* // Requires: [ // DocumentRequiresList
5858
* // { // DocumentRequires

0 commit comments

Comments
 (0)