@aws-sdk/client-ssm 3.797.0 → 3.799.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 (54) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +333 -71
  3. package/dist-cjs/runtimeConfig.js +1 -0
  4. package/dist-es/SSM.js +4 -0
  5. package/dist-es/commands/GetAccessTokenCommand.js +23 -0
  6. package/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +1 -1
  7. package/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +1 -1
  8. package/dist-es/commands/StartAccessRequestCommand.js +22 -0
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_0.js +24 -4
  11. package/dist-es/models/models_1.js +57 -27
  12. package/dist-es/models/models_2.js +50 -16
  13. package/dist-es/protocols/Aws_json1_1.js +94 -6
  14. package/dist-es/runtimeConfig.js +2 -1
  15. package/dist-types/SSM.d.ts +14 -0
  16. package/dist-types/SSMClient.d.ts +4 -2
  17. package/dist-types/commands/CreateDocumentCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeOpsItemsCommand.d.ts +2 -2
  22. package/dist-types/commands/GetAccessTokenCommand.d.ts +94 -0
  23. package/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
  24. package/dist-types/commands/GetDocumentCommand.d.ts +1 -1
  25. package/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
  26. package/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
  27. package/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
  28. package/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
  29. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
  31. package/dist-types/commands/StartAccessRequestCommand.d.ts +105 -0
  32. package/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/models_0.d.ts +31 -51
  36. package/dist-types/models/models_1.d.ts +163 -348
  37. package/dist-types/models/models_2.d.ts +413 -21
  38. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  39. package/dist-types/runtimeConfig.d.ts +1 -1
  40. package/dist-types/ts3.4/SSM.d.ts +34 -0
  41. package/dist-types/ts3.4/SSMClient.d.ts +12 -0
  42. package/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +20 -14
  50. package/dist-types/ts3.4/models/models_1.d.ts +61 -58
  51. package/dist-types/ts3.4/models/models_2.d.ts +81 -9
  52. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  53. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
  54. package/package.json +11 -11
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetAccessTokenRequest,
5
+ GetAccessTokenResponse,
6
+ } from "../models/models_1";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SSMClientResolvedConfig,
11
+ } from "../SSMClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetAccessTokenCommandInput extends GetAccessTokenRequest {}
15
+ export interface GetAccessTokenCommandOutput
16
+ extends GetAccessTokenResponse,
17
+ __MetadataBearer {}
18
+ declare const GetAccessTokenCommand_base: {
19
+ new (
20
+ input: GetAccessTokenCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetAccessTokenCommandInput,
23
+ GetAccessTokenCommandOutput,
24
+ SSMClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GetAccessTokenCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetAccessTokenCommandInput,
32
+ GetAccessTokenCommandOutput,
33
+ SSMClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetAccessTokenCommand extends GetAccessTokenCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetAccessTokenRequest;
43
+ output: GetAccessTokenResponse;
44
+ };
45
+ sdk: {
46
+ input: GetAccessTokenCommandInput;
47
+ output: GetAccessTokenCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  RegisterTargetWithMaintenanceWindowRequest,
5
5
  RegisterTargetWithMaintenanceWindowResult,
6
- } from "../models/models_1";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  RegisterTaskWithMaintenanceWindowRequest,
5
5
  RegisterTaskWithMaintenanceWindowResult,
6
- } from "../models/models_1";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  RemoveTagsFromResourceRequest,
5
5
  RemoveTagsFromResourceResult,
6
- } from "../models/models_1";
6
+ } from "../models/models_2";
7
7
  import {
8
8
  ServiceInputTypes,
9
9
  ServiceOutputTypes,
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartAccessRequestRequest,
5
+ StartAccessRequestResponse,
6
+ } from "../models/models_2";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SSMClientResolvedConfig,
11
+ } from "../SSMClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartAccessRequestCommandInput
15
+ extends StartAccessRequestRequest {}
16
+ export interface StartAccessRequestCommandOutput
17
+ extends StartAccessRequestResponse,
18
+ __MetadataBearer {}
19
+ declare const StartAccessRequestCommand_base: {
20
+ new (
21
+ input: StartAccessRequestCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartAccessRequestCommandInput,
24
+ StartAccessRequestCommandOutput,
25
+ SSMClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: StartAccessRequestCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartAccessRequestCommandInput,
33
+ StartAccessRequestCommandOutput,
34
+ SSMClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartAccessRequestCommand extends StartAccessRequestCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartAccessRequestRequest;
44
+ output: StartAccessRequestResponse;
45
+ };
46
+ sdk: {
47
+ input: StartAccessRequestCommandInput;
48
+ output: StartAccessRequestCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -61,6 +61,7 @@ export * from "./DescribePatchGroupsCommand";
61
61
  export * from "./DescribePatchPropertiesCommand";
62
62
  export * from "./DescribeSessionsCommand";
63
63
  export * from "./DisassociateOpsItemRelatedItemCommand";
64
+ export * from "./GetAccessTokenCommand";
64
65
  export * from "./GetAutomationExecutionCommand";
65
66
  export * from "./GetCalendarStateCommand";
66
67
  export * from "./GetCommandInvocationCommand";
@@ -120,6 +121,7 @@ export * from "./ResetServiceSettingCommand";
120
121
  export * from "./ResumeSessionCommand";
121
122
  export * from "./SendAutomationSignalCommand";
122
123
  export * from "./SendCommandCommand";
124
+ export * from "./StartAccessRequestCommand";
123
125
  export * from "./StartAssociationsOnceCommand";
124
126
  export * from "./StartAutomationExecutionCommand";
125
127
  export * from "./StartChangeRequestExecutionCommand";
@@ -1,5 +1,22 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare const AccessRequestStatus: {
12
+ readonly APPROVED: "Approved";
13
+ readonly EXPIRED: "Expired";
14
+ readonly PENDING: "Pending";
15
+ readonly REJECTED: "Rejected";
16
+ readonly REVOKED: "Revoked";
17
+ };
18
+ export type AccessRequestStatus =
19
+ (typeof AccessRequestStatus)[keyof typeof AccessRequestStatus];
3
20
  export interface AccountSharingInfo {
4
21
  AccountId?: string | undefined;
5
22
  SharedDocumentVersion?: string | undefined;
@@ -460,6 +477,7 @@ export type DocumentFormat =
460
477
  export declare const DocumentType: {
461
478
  readonly ApplicationConfiguration: "ApplicationConfiguration";
462
479
  readonly ApplicationConfigurationSchema: "ApplicationConfigurationSchema";
480
+ readonly AutoApprovalPolicy: "AutoApprovalPolicy";
463
481
  readonly Automation: "Automation";
464
482
  readonly ChangeCalendar: "ChangeCalendar";
465
483
  readonly ChangeTemplate: "Automation.ChangeTemplate";
@@ -467,6 +485,7 @@ export declare const DocumentType: {
467
485
  readonly Command: "Command";
468
486
  readonly ConformancePackTemplate: "ConformancePackTemplate";
469
487
  readonly DeploymentStrategy: "DeploymentStrategy";
488
+ readonly ManualApprovalPolicy: "ManualApprovalPolicy";
470
489
  readonly Package: "Package";
471
490
  readonly Policy: "Policy";
472
491
  readonly ProblemAnalysis: "ProblemAnalysis";
@@ -1400,6 +1419,7 @@ export declare const AutomationExecutionStatus: {
1400
1419
  export type AutomationExecutionStatus =
1401
1420
  (typeof AutomationExecutionStatus)[keyof typeof AutomationExecutionStatus];
1402
1421
  export declare const AutomationSubtype: {
1422
+ readonly AccessRequest: "AccessRequest";
1403
1423
  readonly ChangeRequest: "ChangeRequest";
1404
1424
  };
1405
1425
  export type AutomationSubtype =
@@ -2113,20 +2133,6 @@ export interface DescribeMaintenanceWindowsResult {
2113
2133
  WindowIdentities?: MaintenanceWindowIdentity[] | undefined;
2114
2134
  NextToken?: string | undefined;
2115
2135
  }
2116
- export declare const MaintenanceWindowResourceType: {
2117
- readonly Instance: "INSTANCE";
2118
- readonly ResourceGroup: "RESOURCE_GROUP";
2119
- };
2120
- export type MaintenanceWindowResourceType =
2121
- (typeof MaintenanceWindowResourceType)[keyof typeof MaintenanceWindowResourceType];
2122
- export interface DescribeMaintenanceWindowScheduleRequest {
2123
- WindowId?: string | undefined;
2124
- Targets?: Target[] | undefined;
2125
- ResourceType?: MaintenanceWindowResourceType | undefined;
2126
- Filters?: PatchOrchestratorFilter[] | undefined;
2127
- MaxResults?: number | undefined;
2128
- NextToken?: string | undefined;
2129
- }
2130
2136
  export declare const CreateAssociationRequestFilterSensitiveLog: (
2131
2137
  obj: CreateAssociationRequest
2132
2138
  ) => any;
@@ -1,5 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import {
3
+ AccessRequestStatus,
3
4
  AlarmConfiguration,
4
5
  AlarmStateInformation,
5
6
  AssociationComplianceSeverity,
@@ -17,7 +18,6 @@ import {
17
18
  InstanceAssociationOutputLocation,
18
19
  MaintenanceWindowExecutionStatus,
19
20
  MaintenanceWindowFilter,
20
- MaintenanceWindowResourceType,
21
21
  MaintenanceWindowTaskType,
22
22
  MetadataValue,
23
23
  OperatingSystem,
@@ -45,6 +45,20 @@ import {
45
45
  TargetLocation,
46
46
  } from "./models_0";
47
47
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
48
+ export declare const MaintenanceWindowResourceType: {
49
+ readonly Instance: "INSTANCE";
50
+ readonly ResourceGroup: "RESOURCE_GROUP";
51
+ };
52
+ export type MaintenanceWindowResourceType =
53
+ (typeof MaintenanceWindowResourceType)[keyof typeof MaintenanceWindowResourceType];
54
+ export interface DescribeMaintenanceWindowScheduleRequest {
55
+ WindowId?: string | undefined;
56
+ Targets?: Target[] | undefined;
57
+ ResourceType?: MaintenanceWindowResourceType | undefined;
58
+ Filters?: PatchOrchestratorFilter[] | undefined;
59
+ MaxResults?: number | undefined;
60
+ NextToken?: string | undefined;
61
+ }
48
62
  export interface ScheduledWindowExecution {
49
63
  WindowId?: string | undefined;
50
64
  Name?: string | undefined;
@@ -131,6 +145,15 @@ export interface DescribeMaintenanceWindowTasksResult {
131
145
  NextToken?: string | undefined;
132
146
  }
133
147
  export declare const OpsItemFilterKey: {
148
+ readonly ACCESS_REQUEST_APPROVER_ARN: "AccessRequestByApproverArn";
149
+ readonly ACCESS_REQUEST_APPROVER_ID: "AccessRequestByApproverId";
150
+ readonly ACCESS_REQUEST_IS_REPLICA: "AccessRequestByIsReplica";
151
+ readonly ACCESS_REQUEST_REQUESTER_ARN: "AccessRequestByRequesterArn";
152
+ readonly ACCESS_REQUEST_REQUESTER_ID: "AccessRequestByRequesterId";
153
+ readonly ACCESS_REQUEST_SOURCE_ACCOUNT_ID: "AccessRequestBySourceAccountId";
154
+ readonly ACCESS_REQUEST_SOURCE_OPS_ITEM_ID: "AccessRequestBySourceOpsItemId";
155
+ readonly ACCESS_REQUEST_SOURCE_REGION: "AccessRequestBySourceRegion";
156
+ readonly ACCESS_REQUEST_TARGET_RESOURCE_ID: "AccessRequestByTargetResourceId";
134
157
  readonly ACCOUNT_ID: "AccountId";
135
158
  readonly ACTUAL_END_TIME: "ActualEndTime";
136
159
  readonly ACTUAL_START_TIME: "ActualStartTime";
@@ -197,6 +220,7 @@ export declare const OpsItemStatus: {
197
220
  readonly PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride";
198
221
  readonly REJECTED: "Rejected";
199
222
  readonly RESOLVED: "Resolved";
223
+ readonly REVOKED: "Revoked";
200
224
  readonly RUNBOOK_IN_PROGRESS: "RunbookInProgress";
201
225
  readonly SCHEDULED: "Scheduled";
202
226
  readonly TIMED_OUT: "TimedOut";
@@ -433,6 +457,38 @@ export declare class OpsItemRelatedItemAssociationNotFoundException extends __Ba
433
457
  >
434
458
  );
435
459
  }
460
+ export interface GetAccessTokenRequest {
461
+ AccessRequestId: string | undefined;
462
+ }
463
+ export interface Credentials {
464
+ AccessKeyId: string | undefined;
465
+ SecretAccessKey: string | undefined;
466
+ SessionToken: string | undefined;
467
+ ExpirationTime: Date | undefined;
468
+ }
469
+ export interface GetAccessTokenResponse {
470
+ Credentials?: Credentials | undefined;
471
+ AccessRequestStatus?: AccessRequestStatus | undefined;
472
+ }
473
+ export declare class ThrottlingException extends __BaseException {
474
+ readonly name: "ThrottlingException";
475
+ readonly $fault: "client";
476
+ Message: string | undefined;
477
+ QuotaCode?: string | undefined;
478
+ ServiceCode?: string | undefined;
479
+ constructor(
480
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
481
+ );
482
+ }
483
+ export declare class ValidationException extends __BaseException {
484
+ readonly name: "ValidationException";
485
+ readonly $fault: "client";
486
+ Message?: string | undefined;
487
+ ReasonCode?: string | undefined;
488
+ constructor(
489
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
490
+ );
491
+ }
436
492
  export interface GetAutomationExecutionRequest {
437
493
  AutomationExecutionId: string | undefined;
438
494
  }
@@ -2151,57 +2207,6 @@ export interface RegisterPatchBaselineForPatchGroupResult {
2151
2207
  BaselineId?: string | undefined;
2152
2208
  PatchGroup?: string | undefined;
2153
2209
  }
2154
- export interface RegisterTargetWithMaintenanceWindowRequest {
2155
- WindowId: string | undefined;
2156
- ResourceType: MaintenanceWindowResourceType | undefined;
2157
- Targets: Target[] | undefined;
2158
- OwnerInformation?: string | undefined;
2159
- Name?: string | undefined;
2160
- Description?: string | undefined;
2161
- ClientToken?: string | undefined;
2162
- }
2163
- export interface RegisterTargetWithMaintenanceWindowResult {
2164
- WindowTargetId?: string | undefined;
2165
- }
2166
- export declare class FeatureNotAvailableException extends __BaseException {
2167
- readonly name: "FeatureNotAvailableException";
2168
- readonly $fault: "client";
2169
- Message?: string | undefined;
2170
- constructor(
2171
- opts: __ExceptionOptionType<FeatureNotAvailableException, __BaseException>
2172
- );
2173
- }
2174
- export interface RegisterTaskWithMaintenanceWindowRequest {
2175
- WindowId: string | undefined;
2176
- Targets?: Target[] | undefined;
2177
- TaskArn: string | undefined;
2178
- ServiceRoleArn?: string | undefined;
2179
- TaskType: MaintenanceWindowTaskType | undefined;
2180
- TaskParameters?:
2181
- | Record<string, MaintenanceWindowTaskParameterValueExpression>
2182
- | undefined;
2183
- TaskInvocationParameters?:
2184
- | MaintenanceWindowTaskInvocationParameters
2185
- | undefined;
2186
- Priority?: number | undefined;
2187
- MaxConcurrency?: string | undefined;
2188
- MaxErrors?: string | undefined;
2189
- LoggingInfo?: LoggingInfo | undefined;
2190
- Name?: string | undefined;
2191
- Description?: string | undefined;
2192
- ClientToken?: string | undefined;
2193
- CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior | undefined;
2194
- AlarmConfiguration?: AlarmConfiguration | undefined;
2195
- }
2196
- export interface RegisterTaskWithMaintenanceWindowResult {
2197
- WindowTaskId?: string | undefined;
2198
- }
2199
- export interface RemoveTagsFromResourceRequest {
2200
- ResourceType: ResourceTypeForTagging | undefined;
2201
- ResourceId: string | undefined;
2202
- TagKeys: string[] | undefined;
2203
- }
2204
- export interface RemoveTagsFromResourceResult {}
2205
2210
  export declare const MaintenanceWindowTargetFilterSensitiveLog: (
2206
2211
  obj: MaintenanceWindowTarget
2207
2212
  ) => any;
@@ -2217,6 +2222,10 @@ export declare const MaintenanceWindowTaskFilterSensitiveLog: (
2217
2222
  export declare const DescribeMaintenanceWindowTasksResultFilterSensitiveLog: (
2218
2223
  obj: DescribeMaintenanceWindowTasksResult
2219
2224
  ) => any;
2225
+ export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
2226
+ export declare const GetAccessTokenResponseFilterSensitiveLog: (
2227
+ obj: GetAccessTokenResponse
2228
+ ) => any;
2220
2229
  export declare const BaselineOverrideFilterSensitiveLog: (
2221
2230
  obj: BaselineOverride
2222
2231
  ) => any;
@@ -2285,9 +2294,3 @@ export declare const ListNodesResultFilterSensitiveLog: (
2285
2294
  export declare const PutParameterRequestFilterSensitiveLog: (
2286
2295
  obj: PutParameterRequest
2287
2296
  ) => any;
2288
- export declare const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog: (
2289
- obj: RegisterTargetWithMaintenanceWindowRequest
2290
- ) => any;
2291
- export declare const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog: (
2292
- obj: RegisterTaskWithMaintenanceWindowRequest
2293
- ) => any;
@@ -11,6 +11,7 @@ import {
11
11
  DocumentHashType,
12
12
  ExecutionMode,
13
13
  InstanceAssociationOutputLocation,
14
+ MaintenanceWindowTaskType,
14
15
  MetadataValue,
15
16
  OperatingSystem,
16
17
  OpsItemDataValue,
@@ -23,6 +24,7 @@ import {
23
24
  PatchSource,
24
25
  RelatedOpsItem,
25
26
  ResourceDataSyncSource,
27
+ ResourceTypeForTagging,
26
28
  Runbook,
27
29
  Tag,
28
30
  Target,
@@ -35,6 +37,7 @@ import {
35
37
  InventoryFilter,
36
38
  InventoryGroup,
37
39
  LoggingInfo,
40
+ MaintenanceWindowResourceType,
38
41
  MaintenanceWindowTaskCutoffBehavior,
39
42
  MaintenanceWindowTaskInvocationParameters,
40
43
  MaintenanceWindowTaskParameterValueExpression,
@@ -50,6 +53,57 @@ import {
50
53
  ServiceSetting,
51
54
  } from "./models_1";
52
55
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
56
+ export interface RegisterTargetWithMaintenanceWindowRequest {
57
+ WindowId: string | undefined;
58
+ ResourceType: MaintenanceWindowResourceType | undefined;
59
+ Targets: Target[] | undefined;
60
+ OwnerInformation?: string | undefined;
61
+ Name?: string | undefined;
62
+ Description?: string | undefined;
63
+ ClientToken?: string | undefined;
64
+ }
65
+ export interface RegisterTargetWithMaintenanceWindowResult {
66
+ WindowTargetId?: string | undefined;
67
+ }
68
+ export declare class FeatureNotAvailableException extends __BaseException {
69
+ readonly name: "FeatureNotAvailableException";
70
+ readonly $fault: "client";
71
+ Message?: string | undefined;
72
+ constructor(
73
+ opts: __ExceptionOptionType<FeatureNotAvailableException, __BaseException>
74
+ );
75
+ }
76
+ export interface RegisterTaskWithMaintenanceWindowRequest {
77
+ WindowId: string | undefined;
78
+ Targets?: Target[] | undefined;
79
+ TaskArn: string | undefined;
80
+ ServiceRoleArn?: string | undefined;
81
+ TaskType: MaintenanceWindowTaskType | undefined;
82
+ TaskParameters?:
83
+ | Record<string, MaintenanceWindowTaskParameterValueExpression>
84
+ | undefined;
85
+ TaskInvocationParameters?:
86
+ | MaintenanceWindowTaskInvocationParameters
87
+ | undefined;
88
+ Priority?: number | undefined;
89
+ MaxConcurrency?: string | undefined;
90
+ MaxErrors?: string | undefined;
91
+ LoggingInfo?: LoggingInfo | undefined;
92
+ Name?: string | undefined;
93
+ Description?: string | undefined;
94
+ ClientToken?: string | undefined;
95
+ CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior | undefined;
96
+ AlarmConfiguration?: AlarmConfiguration | undefined;
97
+ }
98
+ export interface RegisterTaskWithMaintenanceWindowResult {
99
+ WindowTaskId?: string | undefined;
100
+ }
101
+ export interface RemoveTagsFromResourceRequest {
102
+ ResourceType: ResourceTypeForTagging | undefined;
103
+ ResourceId: string | undefined;
104
+ TagKeys: string[] | undefined;
105
+ }
106
+ export interface RemoveTagsFromResourceResult {}
53
107
  export interface ResetServiceSettingRequest {
54
108
  SettingId: string | undefined;
55
109
  }
@@ -90,6 +144,7 @@ export declare const SignalType: {
90
144
  readonly APPROVE: "Approve";
91
145
  readonly REJECT: "Reject";
92
146
  readonly RESUME: "Resume";
147
+ readonly REVOKE: "Revoke";
93
148
  readonly START_STEP: "StartStep";
94
149
  readonly STOP_STEP: "StopStep";
95
150
  };
@@ -144,6 +199,26 @@ export interface SendCommandRequest {
144
199
  export interface SendCommandResult {
145
200
  Command?: Command | undefined;
146
201
  }
202
+ export declare class ServiceQuotaExceededException extends __BaseException {
203
+ readonly name: "ServiceQuotaExceededException";
204
+ readonly $fault: "client";
205
+ Message: string | undefined;
206
+ ResourceId?: string | undefined;
207
+ ResourceType?: string | undefined;
208
+ QuotaCode: string | undefined;
209
+ ServiceCode: string | undefined;
210
+ constructor(
211
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
212
+ );
213
+ }
214
+ export interface StartAccessRequestRequest {
215
+ Reason: string | undefined;
216
+ Targets: Target[] | undefined;
217
+ Tags?: Tag[] | undefined;
218
+ }
219
+ export interface StartAccessRequestResponse {
220
+ AccessRequestId?: string | undefined;
221
+ }
147
222
  export declare class InvalidAssociation extends __BaseException {
148
223
  readonly name: "InvalidAssociation";
149
224
  readonly $fault: "client";
@@ -278,15 +353,6 @@ export interface StartExecutionPreviewRequest {
278
353
  export interface StartExecutionPreviewResponse {
279
354
  ExecutionPreviewId?: string | undefined;
280
355
  }
281
- export declare class ValidationException extends __BaseException {
282
- readonly name: "ValidationException";
283
- readonly $fault: "client";
284
- Message?: string | undefined;
285
- ReasonCode?: string | undefined;
286
- constructor(
287
- opts: __ExceptionOptionType<ValidationException, __BaseException>
288
- );
289
- }
290
356
  export interface StartSessionRequest {
291
357
  Target: string | undefined;
292
358
  DocumentName?: string | undefined;
@@ -689,6 +755,12 @@ export interface ListNodesSummaryRequest {
689
755
  NextToken?: string | undefined;
690
756
  MaxResults?: number | undefined;
691
757
  }
758
+ export declare const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog: (
759
+ obj: RegisterTargetWithMaintenanceWindowRequest
760
+ ) => any;
761
+ export declare const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog: (
762
+ obj: RegisterTaskWithMaintenanceWindowRequest
763
+ ) => any;
692
764
  export declare const SendCommandRequestFilterSensitiveLog: (
693
765
  obj: SendCommandRequest
694
766
  ) => any;
@@ -255,6 +255,10 @@ import {
255
255
  DisassociateOpsItemRelatedItemCommandInput,
256
256
  DisassociateOpsItemRelatedItemCommandOutput,
257
257
  } from "../commands/DisassociateOpsItemRelatedItemCommand";
258
+ import {
259
+ GetAccessTokenCommandInput,
260
+ GetAccessTokenCommandOutput,
261
+ } from "../commands/GetAccessTokenCommand";
258
262
  import {
259
263
  GetAutomationExecutionCommandInput,
260
264
  GetAutomationExecutionCommandOutput,
@@ -491,6 +495,10 @@ import {
491
495
  SendCommandCommandInput,
492
496
  SendCommandCommandOutput,
493
497
  } from "../commands/SendCommandCommand";
498
+ import {
499
+ StartAccessRequestCommandInput,
500
+ StartAccessRequestCommandOutput,
501
+ } from "../commands/StartAccessRequestCommand";
494
502
  import {
495
503
  StartAssociationsOnceCommandInput,
496
504
  StartAssociationsOnceCommandOutput,
@@ -831,6 +839,10 @@ export declare const se_DisassociateOpsItemRelatedItemCommand: (
831
839
  input: DisassociateOpsItemRelatedItemCommandInput,
832
840
  context: __SerdeContext
833
841
  ) => Promise<__HttpRequest>;
842
+ export declare const se_GetAccessTokenCommand: (
843
+ input: GetAccessTokenCommandInput,
844
+ context: __SerdeContext
845
+ ) => Promise<__HttpRequest>;
834
846
  export declare const se_GetAutomationExecutionCommand: (
835
847
  input: GetAutomationExecutionCommandInput,
836
848
  context: __SerdeContext
@@ -1067,6 +1079,10 @@ export declare const se_SendCommandCommand: (
1067
1079
  input: SendCommandCommandInput,
1068
1080
  context: __SerdeContext
1069
1081
  ) => Promise<__HttpRequest>;
1082
+ export declare const se_StartAccessRequestCommand: (
1083
+ input: StartAccessRequestCommandInput,
1084
+ context: __SerdeContext
1085
+ ) => Promise<__HttpRequest>;
1070
1086
  export declare const se_StartAssociationsOnceCommand: (
1071
1087
  input: StartAssociationsOnceCommandInput,
1072
1088
  context: __SerdeContext
@@ -1407,6 +1423,10 @@ export declare const de_DisassociateOpsItemRelatedItemCommand: (
1407
1423
  output: __HttpResponse,
1408
1424
  context: __SerdeContext
1409
1425
  ) => Promise<DisassociateOpsItemRelatedItemCommandOutput>;
1426
+ export declare const de_GetAccessTokenCommand: (
1427
+ output: __HttpResponse,
1428
+ context: __SerdeContext
1429
+ ) => Promise<GetAccessTokenCommandOutput>;
1410
1430
  export declare const de_GetAutomationExecutionCommand: (
1411
1431
  output: __HttpResponse,
1412
1432
  context: __SerdeContext
@@ -1643,6 +1663,10 @@ export declare const de_SendCommandCommand: (
1643
1663
  output: __HttpResponse,
1644
1664
  context: __SerdeContext
1645
1665
  ) => Promise<SendCommandCommandOutput>;
1666
+ export declare const de_StartAccessRequestCommand: (
1667
+ output: __HttpResponse,
1668
+ context: __SerdeContext
1669
+ ) => Promise<StartAccessRequestCommandOutput>;
1646
1670
  export declare const de_StartAssociationsOnceCommand: (
1647
1671
  output: __HttpResponse,
1648
1672
  context: __SerdeContext
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
5
5
  defaultsMode: import("@smithy/types").Provider<
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
8
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
10
  credentialDefaultProvider:
10
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -73,10 +74,6 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
73
74
  ) => import("@smithy/types").EndpointV2;
74
75
  tls?: boolean | undefined;
75
76
  serviceConfiguredEndpoint?: undefined;
76
- authSchemePreference?:
77
- | string[]
78
- | import("@smithy/types").Provider<string[]>
79
- | undefined;
80
77
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
81
78
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSMHttpAuthSchemeProvider;
82
79
  credentials?:
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.797.0",
4
+ "version": "3.799.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,38 +20,38 @@
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.796.0",
24
- "@aws-sdk/credential-provider-node": "3.797.0",
23
+ "@aws-sdk/core": "3.799.0",
24
+ "@aws-sdk/credential-provider-node": "3.799.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.796.0",
28
+ "@aws-sdk/middleware-user-agent": "3.799.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
31
  "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.796.0",
33
+ "@aws-sdk/util-user-agent-node": "3.799.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.2.0",
35
+ "@smithy/core": "^3.3.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.0",
41
- "@smithy/middleware-retry": "^4.1.0",
40
+ "@smithy/middleware-endpoint": "^4.1.1",
41
+ "@smithy/middleware-retry": "^4.1.1",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
44
  "@smithy/node-config-provider": "^4.0.2",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.0",
47
+ "@smithy/smithy-client": "^4.2.1",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
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.8",
54
- "@smithy/util-defaults-mode-node": "^4.0.8",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.9",
54
+ "@smithy/util-defaults-mode-node": "^4.0.9",
55
55
  "@smithy/util-endpoints": "^3.0.2",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.2",