@aws-sdk/client-ssm 3.43.0 → 3.47.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 (69) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +12 -6
  3. package/dist-cjs/commands/UpdateDocumentMetadataCommand.js +2 -1
  4. package/dist-cjs/endpoints.js +1 -28
  5. package/dist-cjs/models/models_0.js +12 -390
  6. package/dist-cjs/models/models_1.js +11 -354
  7. package/dist-cjs/models/models_2.js +7 -13
  8. package/dist-cjs/protocols/Aws_json1_1.js +2 -0
  9. package/dist-cjs/runtimeConfig.browser.js +7 -2
  10. package/dist-cjs/runtimeConfig.js +9 -3
  11. package/dist-es/commands/UpdateDocumentMetadataCommand.js +2 -1
  12. package/dist-es/endpoints.js +1 -28
  13. package/dist-es/models/models_0.js +7 -258
  14. package/dist-es/models/models_1.js +6 -232
  15. package/dist-es/models/models_2.js +4 -8
  16. package/dist-es/protocols/Aws_json1_1.js +2 -0
  17. package/dist-es/runtimeConfig.browser.js +12 -3
  18. package/dist-es/runtimeConfig.js +13 -6
  19. package/dist-types/SSM.d.ts +87 -81
  20. package/dist-types/SSMClient.d.ts +17 -7
  21. package/dist-types/commands/AddTagsToResourceCommand.d.ts +5 -5
  22. package/dist-types/commands/CreateActivationCommand.d.ts +6 -6
  23. package/dist-types/commands/CreateAssociationBatchCommand.d.ts +6 -6
  24. package/dist-types/commands/CreateAssociationCommand.d.ts +10 -10
  25. package/dist-types/commands/CreateDocumentCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteActivationCommand.d.ts +2 -3
  27. package/dist-types/commands/DeleteAssociationCommand.d.ts +4 -4
  28. package/dist-types/commands/DeleteDocumentCommand.d.ts +2 -2
  29. package/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +2 -2
  30. package/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeAssociationCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeInstanceInformationCommand.d.ts +7 -6
  36. package/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
  40. package/dist-types/commands/GetCommandInvocationCommand.d.ts +2 -2
  41. package/dist-types/commands/GetConnectionStatusCommand.d.ts +1 -1
  42. package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +2 -2
  43. package/dist-types/commands/GetInventoryCommand.d.ts +1 -1
  44. package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListCommandInvocationsCommand.d.ts +4 -4
  46. package/dist-types/commands/PutComplianceItemsCommand.d.ts +1 -1
  47. package/dist-types/commands/PutInventoryCommand.d.ts +1 -1
  48. package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
  49. package/dist-types/commands/SendCommandCommand.d.ts +1 -1
  50. package/dist-types/commands/StartSessionCommand.d.ts +1 -1
  51. package/dist-types/commands/TerminateSessionCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
  54. package/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +2 -2
  55. package/dist-types/models/models_0.d.ts +194 -570
  56. package/dist-types/models/models_1.d.ts +188 -536
  57. package/dist-types/models/models_2.d.ts +21 -25
  58. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  59. package/dist-types/runtimeConfig.d.ts +4 -3
  60. package/dist-types/runtimeConfig.native.d.ts +1 -0
  61. package/dist-types/ts3.4/SSMClient.d.ts +3 -1
  62. package/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
  63. package/dist-types/ts3.4/models/models_0.d.ts +10 -257
  64. package/dist-types/ts3.4/models/models_1.d.ts +6 -235
  65. package/dist-types/ts3.4/models/models_2.d.ts +6 -8
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  69. package/package.json +39 -46
@@ -1,6 +1,14 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  import { LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target } from "./models_0";
3
3
  import { InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
4
+ export interface UpdateDocumentMetadataResponse {
5
+ }
6
+ export declare namespace UpdateDocumentMetadataResponse {
7
+ /**
8
+ * @internal
9
+ */
10
+ const filterSensitiveLog: (obj: UpdateDocumentMetadataResponse) => any;
11
+ }
4
12
  export interface UpdateMaintenanceWindowRequest {
5
13
  /**
6
14
  * <p>The ID of the maintenance window to update.</p>
@@ -224,9 +232,9 @@ export interface UpdateMaintenanceWindowTaskRequest {
224
232
  */
225
233
  WindowTaskId: string | undefined;
226
234
  /**
227
- * <p>The targets (either instances or tags) to modify. Instances are specified using the format
228
- * <code>Key=instanceids,Values=instanceID_1,instanceID_2</code>. Tags are specified using the
229
- * format <code> Key=tag_name,Values=tag_value</code>. </p>
235
+ * <p>The targets (either managed nodes or tags) to modify. Managed nodes are specified using the
236
+ * format <code>Key=instanceids,Values=instanceID_1,instanceID_2</code>. Tags are specified using
237
+ * the format <code> Key=tag_name,Values=tag_value</code>. </p>
230
238
  * <note>
231
239
  * <p>One or more targets must be specified for maintenance window Run Command-type tasks.
232
240
  * Depending on the task, targets are optional for other maintenance window task types (Automation,
@@ -465,7 +473,7 @@ export declare namespace UpdateMaintenanceWindowTaskResult {
465
473
  }
466
474
  export interface UpdateManagedInstanceRoleRequest {
467
475
  /**
468
- * <p>The ID of the managed instance where you want to update the role.</p>
476
+ * <p>The ID of the managed node where you want to update the role.</p>
469
477
  */
470
478
  InstanceId: string | undefined;
471
479
  /**
@@ -602,12 +610,6 @@ export interface OpsMetadataKeyLimitExceededException extends __SmithyException,
602
610
  $fault: "client";
603
611
  message?: string;
604
612
  }
605
- export declare namespace OpsMetadataKeyLimitExceededException {
606
- /**
607
- * @internal
608
- */
609
- const filterSensitiveLog: (obj: OpsMetadataKeyLimitExceededException) => any;
610
- }
611
613
  export interface UpdateOpsMetadataRequest {
612
614
  /**
613
615
  * <p>The Amazon Resoure Name (ARN) of the OpsMetadata Object to update.</p>
@@ -672,8 +674,8 @@ export interface UpdatePatchBaselineRequest {
672
674
  ApprovedPatchesComplianceLevel?: PatchComplianceLevel | string;
673
675
  /**
674
676
  * <p>Indicates whether the list of approved patches includes non-security updates that should be
675
- * applied to the instances. The default value is <code>false</code>. Applies to Linux instances
676
- * only.</p>
677
+ * applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed
678
+ * nodes only.</p>
677
679
  */
678
680
  ApprovedPatchesEnableNonSecurity?: boolean;
679
681
  /**
@@ -714,8 +716,8 @@ export interface UpdatePatchBaselineRequest {
714
716
  */
715
717
  Description?: string;
716
718
  /**
717
- * <p>Information about the patches to use to update the instances, including target operating
718
- * systems and source repositories. Applies to Linux instances only.</p>
719
+ * <p>Information about the patches to use to update the managed nodes, including target operating
720
+ * systems and source repositories. Applies to Linux managed nodes only.</p>
719
721
  */
720
722
  Sources?: PatchSource[];
721
723
  /**
@@ -763,8 +765,8 @@ export interface UpdatePatchBaselineResult {
763
765
  ApprovedPatchesComplianceLevel?: PatchComplianceLevel | string;
764
766
  /**
765
767
  * <p>Indicates whether the list of approved patches includes non-security updates that should be
766
- * applied to the instances. The default value is <code>false</code>. Applies to Linux instances
767
- * only.</p>
768
+ * applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed
769
+ * nodes only.</p>
768
770
  */
769
771
  ApprovedPatchesEnableNonSecurity?: boolean;
770
772
  /**
@@ -790,8 +792,8 @@ export interface UpdatePatchBaselineResult {
790
792
  */
791
793
  Description?: string;
792
794
  /**
793
- * <p>Information about the patches to use to update the instances, including target operating
794
- * systems and source repositories. Applies to Linux instances only.</p>
795
+ * <p>Information about the patches to use to update the managed nodes, including target operating
796
+ * systems and source repositories. Applies to Linux managed nodes only.</p>
795
797
  */
796
798
  Sources?: PatchSource[];
797
799
  }
@@ -810,12 +812,6 @@ export interface ResourceDataSyncConflictException extends __SmithyException, $M
810
812
  $fault: "client";
811
813
  Message?: string;
812
814
  }
813
- export declare namespace ResourceDataSyncConflictException {
814
- /**
815
- * @internal
816
- */
817
- const filterSensitiveLog: (obj: ResourceDataSyncConflictException) => any;
818
- }
819
815
  export interface UpdateResourceDataSyncRequest {
820
816
  /**
821
817
  * <p>The name of the resource data sync you want to update.</p>
@@ -1023,7 +1019,7 @@ export interface GetInventoryRequest {
1023
1019
  /**
1024
1020
  * <p>Returns counts of inventory types based on one or more expressions. For example, if you
1025
1021
  * aggregate by using an expression that uses the <code>AWS:InstanceInformation.PlatformType</code>
1026
- * type, you can see a count of how many Windows and Linux instances exist in your inventoried
1022
+ * type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried
1027
1023
  * fleet.</p>
1028
1024
  */
1029
1025
  Aggregators?: InventoryAggregator[];
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SSMClientConfig } from "./SSMClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SSMClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { SSMClientConfig } from "./SSMClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SSMClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
10
10
  import { AssociateOpsItemRelatedItemCommandInput, AssociateOpsItemRelatedItemCommandOutput } from "./commands/AssociateOpsItemRelatedItemCommand";
@@ -186,6 +186,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
186
186
  regionInfoProvider?: RegionInfoProvider;
187
187
 
188
188
  defaultUserAgentProvider?: Provider<__UserAgent>;
189
+
190
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
189
191
  }
190
192
  declare type SSMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
191
193
 
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { UpdateDocumentMetadataRequest, UpdateDocumentMetadataResponse } from "../models/models_1";
3
+ import { UpdateDocumentMetadataRequest } from "../models/models_1";
4
+ import { UpdateDocumentMetadataResponse } from "../models/models_2";
4
5
  import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
5
6
  export interface UpdateDocumentMetadataCommandInput extends UpdateDocumentMetadataRequest {
6
7
  }