@aws-sdk/client-ssm 3.515.0 → 3.521.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/dist-cjs/index.js +107 -10
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/models/models_0.js +39 -8
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +38 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -1
- package/dist-types/SSMClient.d.ts +4 -4
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +26 -4
- package/dist-types/commands/DescribeParametersCommand.d.ts +6 -3
- package/dist-types/commands/GetParameterHistoryCommand.d.ts +2 -2
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +3 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +40 -3
- package/dist-types/commands/StopAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TerminateSessionCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +52 -61
- package/dist-types/models/models_1.d.ts +108 -45
- package/dist-types/models/models_2.d.ts +39 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -4
- package/dist-types/runtimeConfig.d.ts +1 -4
- package/dist-types/runtimeConfig.native.d.ts +1 -4
- package/dist-types/ts3.4/SSMClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +30 -17
- package/dist-types/ts3.4/models/models_1.d.ts +19 -11
- package/dist-types/ts3.4/models/models_2.d.ts +12 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
- package/package.json +35 -35
|
@@ -28,9 +28,36 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Creates or updates a Systems Manager resource policy. A resource policy helps you to define the
|
|
30
30
|
* IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources.
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
31
|
+
* The following resources support Systems Manager resource policies.</p>
|
|
32
|
+
* <ul>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>
|
|
35
|
+
* <code>OpsItemGroup</code> - The resource policy for <code>OpsItemGroup</code> enables
|
|
36
|
+
* Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems).</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <code>Parameter</code> - The resource policy is used to share a parameter with other
|
|
41
|
+
* accounts using Resource Access Manager (RAM). </p>
|
|
42
|
+
* <p>To share a parameter, it must be in the advanced parameter tier. For information about
|
|
43
|
+
* parameter tiers, see <a href="https://docs.aws.amazon.com/parameter-store- advanced-parameters.html">Managing parameter tiers</a>. For information about
|
|
44
|
+
* changing an existing standard parameter to an advanced parameter, see <a href="https://docs.aws.amazon.com/parameter-store-advanced-parameters.html#parameter- store-advanced-parameters-enabling">Changing a standard parameter to an advanced
|
|
45
|
+
* parameter</a>.</p>
|
|
46
|
+
* <p>To share a <code>SecureString</code> parameter, it must be encrypted with a customer managed key, and you must share the key separately through Key Management Service. Amazon Web Services managed keys cannot be shared. Parameters encrypted with the default Amazon Web Services managed key can be updated to use a customer managed key instead. For KMS key definitions, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-mgmt">KMS concepts</a> in
|
|
47
|
+
* the <i>Key Management Service Developer Guide</i>.</p>
|
|
48
|
+
* <important>
|
|
49
|
+
* <p>While you can share a parameter using the Systems Manager <code>PutResourcePolicy</code> operation,
|
|
50
|
+
* we recommend using Resource Access Manager (RAM) instead. This is because using
|
|
51
|
+
* <code>PutResourcePolicy</code> requires the extra step of promoting the parameter to a
|
|
52
|
+
* standard RAM Resource Share using the RAM
|
|
53
|
+
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> API operation. Otherwise, the parameter won't
|
|
54
|
+
* be returned by the Systems Manager <a href="https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DescribeParameters.html">DescribeParameters</a> API operation using the <code>--shared</code> option.</p>
|
|
55
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html#share">Sharing a
|
|
56
|
+
* parameter</a> in the <i>Amazon Web Services Systems Manager User Guide</i>
|
|
57
|
+
* </p>
|
|
58
|
+
* </important>
|
|
59
|
+
* </li>
|
|
60
|
+
* </ul>
|
|
34
61
|
* @example
|
|
35
62
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
63
|
* ```javascript
|
|
@@ -61,6 +88,13 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
61
88
|
* @throws {@link InternalServerError} (server fault)
|
|
62
89
|
* <p>An error occurred on the server side.</p>
|
|
63
90
|
*
|
|
91
|
+
* @throws {@link MalformedResourcePolicyDocumentException} (client fault)
|
|
92
|
+
* <p>The specified policy document is malformed or invalid, or excessive
|
|
93
|
+
* <code>PutResourcePolicy</code> or <code>DeleteResourcePolicy</code> calls have been made.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
96
|
+
* <p>The specified parameter to be shared could not be found.</p>
|
|
97
|
+
*
|
|
64
98
|
* @throws {@link ResourcePolicyConflictException} (client fault)
|
|
65
99
|
* <p>The hash provided in the call doesn't match the stored hash. This exception is thrown when
|
|
66
100
|
* trying to update an obsolete policy version or when multiple requests to update a policy are
|
|
@@ -75,6 +109,9 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
75
109
|
* greater than 1024 bytes in size. And only one policy can be attached to
|
|
76
110
|
* <code>OpsItemGroup</code>. Verify these limits and try again.</p>
|
|
77
111
|
*
|
|
112
|
+
* @throws {@link ResourcePolicyNotFoundException} (client fault)
|
|
113
|
+
* <p>No policies with the specified policy ID and hash could be found.</p>
|
|
114
|
+
*
|
|
78
115
|
* @throws {@link SSMServiceException}
|
|
79
116
|
* <p>Base exception class for all service exceptions from SSM service.</p>
|
|
80
117
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopAutomationExecutionRequest, StopAutomationExecutionResult } from "../models/
|
|
3
|
+
import { StopAutomationExecutionRequest, StopAutomationExecutionResult } from "../models/models_2";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { TerminateSessionRequest } from "../models/
|
|
4
|
-
import { TerminateSessionResponse } from "../models/models_2";
|
|
3
|
+
import { TerminateSessionRequest, TerminateSessionResponse } from "../models/models_2";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -1871,8 +1871,8 @@ export interface DocumentRequires {
|
|
|
1871
1871
|
/**
|
|
1872
1872
|
* @public
|
|
1873
1873
|
* <p>An optional field specifying the version of the artifact associated with the document. For
|
|
1874
|
-
* example, 12.6. This value is unique across all versions of a document, and
|
|
1875
|
-
*
|
|
1874
|
+
* example, 12.6. This value is unique across all versions of a document, and can't be
|
|
1875
|
+
* changed.</p>
|
|
1876
1876
|
*/
|
|
1877
1877
|
VersionName?: string;
|
|
1878
1878
|
}
|
|
@@ -3838,6 +3838,10 @@ export interface DeleteParameterRequest {
|
|
|
3838
3838
|
/**
|
|
3839
3839
|
* @public
|
|
3840
3840
|
* <p>The name of the parameter to delete.</p>
|
|
3841
|
+
* <note>
|
|
3842
|
+
* <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name
|
|
3843
|
+
* itself.</p>
|
|
3844
|
+
* </note>
|
|
3841
3845
|
*/
|
|
3842
3846
|
Name: string | undefined;
|
|
3843
3847
|
}
|
|
@@ -3866,6 +3870,10 @@ export interface DeleteParametersRequest {
|
|
|
3866
3870
|
* @public
|
|
3867
3871
|
* <p>The names of the parameters to delete. After deleting a parameter, wait for at least 30
|
|
3868
3872
|
* seconds to create a parameter with the same name.</p>
|
|
3873
|
+
* <note>
|
|
3874
|
+
* <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name
|
|
3875
|
+
* itself.</p>
|
|
3876
|
+
* </note>
|
|
3869
3877
|
*/
|
|
3870
3878
|
Names: string[] | undefined;
|
|
3871
3879
|
}
|
|
@@ -3979,6 +3987,33 @@ export interface DeleteResourcePolicyRequest {
|
|
|
3979
3987
|
*/
|
|
3980
3988
|
export interface DeleteResourcePolicyResponse {
|
|
3981
3989
|
}
|
|
3990
|
+
/**
|
|
3991
|
+
* @public
|
|
3992
|
+
* <p>The specified policy document is malformed or invalid, or excessive
|
|
3993
|
+
* <code>PutResourcePolicy</code> or <code>DeleteResourcePolicy</code> calls have been made.</p>
|
|
3994
|
+
*/
|
|
3995
|
+
export declare class MalformedResourcePolicyDocumentException extends __BaseException {
|
|
3996
|
+
readonly name: "MalformedResourcePolicyDocumentException";
|
|
3997
|
+
readonly $fault: "client";
|
|
3998
|
+
Message?: string;
|
|
3999
|
+
/**
|
|
4000
|
+
* @internal
|
|
4001
|
+
*/
|
|
4002
|
+
constructor(opts: __ExceptionOptionType<MalformedResourcePolicyDocumentException, __BaseException>);
|
|
4003
|
+
}
|
|
4004
|
+
/**
|
|
4005
|
+
* @public
|
|
4006
|
+
* <p>The specified parameter to be shared could not be found.</p>
|
|
4007
|
+
*/
|
|
4008
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
4009
|
+
readonly name: "ResourceNotFoundException";
|
|
4010
|
+
readonly $fault: "client";
|
|
4011
|
+
Message?: string;
|
|
4012
|
+
/**
|
|
4013
|
+
* @internal
|
|
4014
|
+
*/
|
|
4015
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
4016
|
+
}
|
|
3982
4017
|
/**
|
|
3983
4018
|
* @public
|
|
3984
4019
|
* <p>The hash provided in the call doesn't match the stored hash. This exception is thrown when
|
|
@@ -4009,6 +4044,19 @@ export declare class ResourcePolicyInvalidParameterException extends __BaseExcep
|
|
|
4009
4044
|
*/
|
|
4010
4045
|
constructor(opts: __ExceptionOptionType<ResourcePolicyInvalidParameterException, __BaseException>);
|
|
4011
4046
|
}
|
|
4047
|
+
/**
|
|
4048
|
+
* @public
|
|
4049
|
+
* <p>No policies with the specified policy ID and hash could be found.</p>
|
|
4050
|
+
*/
|
|
4051
|
+
export declare class ResourcePolicyNotFoundException extends __BaseException {
|
|
4052
|
+
readonly name: "ResourcePolicyNotFoundException";
|
|
4053
|
+
readonly $fault: "client";
|
|
4054
|
+
Message?: string;
|
|
4055
|
+
/**
|
|
4056
|
+
* @internal
|
|
4057
|
+
*/
|
|
4058
|
+
constructor(opts: __ExceptionOptionType<ResourcePolicyNotFoundException, __BaseException>);
|
|
4059
|
+
}
|
|
4012
4060
|
/**
|
|
4013
4061
|
* @public
|
|
4014
4062
|
*/
|
|
@@ -5710,8 +5758,8 @@ export interface DescribeDocumentRequest {
|
|
|
5710
5758
|
/**
|
|
5711
5759
|
* @public
|
|
5712
5760
|
* <p>An optional field specifying the version of the artifact associated with the document. For
|
|
5713
|
-
* example, 12.6. This value is unique across all versions of a document, and
|
|
5714
|
-
*
|
|
5761
|
+
* example, 12.6. This value is unique across all versions of a document, and can't be
|
|
5762
|
+
* changed.</p>
|
|
5715
5763
|
*/
|
|
5716
5764
|
VersionName?: string;
|
|
5717
5765
|
}
|
|
@@ -7890,59 +7938,6 @@ export interface DescribeMaintenanceWindowTasksRequest {
|
|
|
7890
7938
|
*/
|
|
7891
7939
|
NextToken?: string;
|
|
7892
7940
|
}
|
|
7893
|
-
/**
|
|
7894
|
-
* @public
|
|
7895
|
-
* @enum
|
|
7896
|
-
*/
|
|
7897
|
-
export declare const MaintenanceWindowTaskCutoffBehavior: {
|
|
7898
|
-
readonly CancelTask: "CANCEL_TASK";
|
|
7899
|
-
readonly ContinueTask: "CONTINUE_TASK";
|
|
7900
|
-
};
|
|
7901
|
-
/**
|
|
7902
|
-
* @public
|
|
7903
|
-
*/
|
|
7904
|
-
export type MaintenanceWindowTaskCutoffBehavior = (typeof MaintenanceWindowTaskCutoffBehavior)[keyof typeof MaintenanceWindowTaskCutoffBehavior];
|
|
7905
|
-
/**
|
|
7906
|
-
* @public
|
|
7907
|
-
* <p>Information about an Amazon Simple Storage Service (Amazon S3) bucket to write managed
|
|
7908
|
-
* node-level logs to.</p>
|
|
7909
|
-
* <note>
|
|
7910
|
-
* <p>
|
|
7911
|
-
* <code>LoggingInfo</code> has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the
|
|
7912
|
-
* <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
|
|
7913
|
-
* For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
|
|
7914
|
-
* window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
|
|
7915
|
-
* </note>
|
|
7916
|
-
*/
|
|
7917
|
-
export interface LoggingInfo {
|
|
7918
|
-
/**
|
|
7919
|
-
* @public
|
|
7920
|
-
* <p>The name of an S3 bucket where execution logs are stored.</p>
|
|
7921
|
-
*/
|
|
7922
|
-
S3BucketName: string | undefined;
|
|
7923
|
-
/**
|
|
7924
|
-
* @public
|
|
7925
|
-
* <p>(Optional) The S3 bucket subfolder. </p>
|
|
7926
|
-
*/
|
|
7927
|
-
S3KeyPrefix?: string;
|
|
7928
|
-
/**
|
|
7929
|
-
* @public
|
|
7930
|
-
* <p>The Amazon Web Services Region where the S3 bucket is located.</p>
|
|
7931
|
-
*/
|
|
7932
|
-
S3Region: string | undefined;
|
|
7933
|
-
}
|
|
7934
|
-
/**
|
|
7935
|
-
* @public
|
|
7936
|
-
* <p>Defines the values for a task parameter.</p>
|
|
7937
|
-
*/
|
|
7938
|
-
export interface MaintenanceWindowTaskParameterValueExpression {
|
|
7939
|
-
/**
|
|
7940
|
-
* @public
|
|
7941
|
-
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters in
|
|
7942
|
-
* length.</p>
|
|
7943
|
-
*/
|
|
7944
|
-
Values?: string[];
|
|
7945
|
-
}
|
|
7946
7941
|
/**
|
|
7947
7942
|
* @internal
|
|
7948
7943
|
*/
|
|
@@ -8023,7 +8018,3 @@ export declare const MaintenanceWindowTargetFilterSensitiveLog: (obj: Maintenanc
|
|
|
8023
8018
|
* @internal
|
|
8024
8019
|
*/
|
|
8025
8020
|
export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: (obj: DescribeMaintenanceWindowTargetsResult) => any;
|
|
8026
|
-
/**
|
|
8027
|
-
* @internal
|
|
8028
|
-
*/
|
|
8029
|
-
export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (obj: MaintenanceWindowTaskParameterValueExpression) => any;
|
|
@@ -1,6 +1,59 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation,
|
|
2
|
+
import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
|
|
3
3
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @enum
|
|
7
|
+
*/
|
|
8
|
+
export declare const MaintenanceWindowTaskCutoffBehavior: {
|
|
9
|
+
readonly CancelTask: "CANCEL_TASK";
|
|
10
|
+
readonly ContinueTask: "CONTINUE_TASK";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type MaintenanceWindowTaskCutoffBehavior = (typeof MaintenanceWindowTaskCutoffBehavior)[keyof typeof MaintenanceWindowTaskCutoffBehavior];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* <p>Information about an Amazon Simple Storage Service (Amazon S3) bucket to write managed
|
|
19
|
+
* node-level logs to.</p>
|
|
20
|
+
* <note>
|
|
21
|
+
* <p>
|
|
22
|
+
* <code>LoggingInfo</code> has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the
|
|
23
|
+
* <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
|
|
24
|
+
* For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
|
|
25
|
+
* window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
|
|
26
|
+
* </note>
|
|
27
|
+
*/
|
|
28
|
+
export interface LoggingInfo {
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* <p>The name of an S3 bucket where execution logs are stored.</p>
|
|
32
|
+
*/
|
|
33
|
+
S3BucketName: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* <p>(Optional) The S3 bucket subfolder. </p>
|
|
37
|
+
*/
|
|
38
|
+
S3KeyPrefix?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* <p>The Amazon Web Services Region where the S3 bucket is located.</p>
|
|
42
|
+
*/
|
|
43
|
+
S3Region: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* <p>Defines the values for a task parameter.</p>
|
|
48
|
+
*/
|
|
49
|
+
export interface MaintenanceWindowTaskParameterValueExpression {
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* <p>This field contains an array of 0 or more strings, each 1 to 255 characters in
|
|
53
|
+
* length.</p>
|
|
54
|
+
*/
|
|
55
|
+
Values?: string[];
|
|
56
|
+
}
|
|
4
57
|
/**
|
|
5
58
|
* @public
|
|
6
59
|
* <p>Information about a task defined for a maintenance window.</p>
|
|
@@ -552,6 +605,21 @@ export interface DescribeParametersRequest {
|
|
|
552
605
|
* call.)</p>
|
|
553
606
|
*/
|
|
554
607
|
NextToken?: string;
|
|
608
|
+
/**
|
|
609
|
+
* @public
|
|
610
|
+
* <p>Lists parameters that are shared with you.</p>
|
|
611
|
+
* <note>
|
|
612
|
+
* <p>By default when using this option, the command returns parameters that have been shared
|
|
613
|
+
* using a standard Resource Access Manager Resource Share. In order for a parameter that was shared
|
|
614
|
+
* using the <a>PutResourcePolicy</a> command to be returned, the associated
|
|
615
|
+
* <code>RAM Resource Share Created From Policy</code> must have been promoted to
|
|
616
|
+
* a standard Resource Share using the RAM
|
|
617
|
+
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> API operation.</p>
|
|
618
|
+
* <p>For more information about sharing parameters, see <a href="systems-manager/latest/userguide/parameter-store-shared-parameters.html">Working with
|
|
619
|
+
* shared parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
|
620
|
+
* </note>
|
|
621
|
+
*/
|
|
622
|
+
Shared?: boolean;
|
|
555
623
|
}
|
|
556
624
|
/**
|
|
557
625
|
* @public
|
|
@@ -605,8 +673,8 @@ export declare const ParameterType: {
|
|
|
605
673
|
export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
|
|
606
674
|
/**
|
|
607
675
|
* @public
|
|
608
|
-
* <p>Metadata includes information like the ARN of the last user
|
|
609
|
-
* was last used.</p>
|
|
676
|
+
* <p>Metadata includes information like the Amazon Resource Name (ARN) of the last user to update
|
|
677
|
+
* the parameter and the date and time the parameter was last used.</p>
|
|
610
678
|
*/
|
|
611
679
|
export interface ParameterMetadata {
|
|
612
680
|
/**
|
|
@@ -614,6 +682,11 @@ export interface ParameterMetadata {
|
|
|
614
682
|
* <p>The parameter name.</p>
|
|
615
683
|
*/
|
|
616
684
|
Name?: string;
|
|
685
|
+
/**
|
|
686
|
+
* @public
|
|
687
|
+
* <p>The (ARN) of the last user to update the parameter.</p>
|
|
688
|
+
*/
|
|
689
|
+
ARN?: string;
|
|
617
690
|
/**
|
|
618
691
|
* @public
|
|
619
692
|
* <p>The type of parameter. Valid parameter types include the following: <code>String</code>,
|
|
@@ -2106,8 +2179,8 @@ export interface GetDocumentRequest {
|
|
|
2106
2179
|
/**
|
|
2107
2180
|
* @public
|
|
2108
2181
|
* <p>An optional field specifying the version of the artifact associated with the document. For
|
|
2109
|
-
* example, 12.6. This value is unique across all versions of a document and can't
|
|
2110
|
-
*
|
|
2182
|
+
* example, 12.6. This value is unique across all versions of a document and can't be
|
|
2183
|
+
* changed.</p>
|
|
2111
2184
|
*/
|
|
2112
2185
|
VersionName?: string;
|
|
2113
2186
|
/**
|
|
@@ -2186,7 +2259,8 @@ export interface GetDocumentResult {
|
|
|
2186
2259
|
DisplayName?: string;
|
|
2187
2260
|
/**
|
|
2188
2261
|
* @public
|
|
2189
|
-
* <p>The version of the artifact associated with the document. For example, 12.6. This value is
|
|
2262
|
+
* <p>The version of the artifact associated with the document. For example, 12.6. This value is
|
|
2263
|
+
* unique across all versions of a document, and can't be changed.</p>
|
|
2190
2264
|
*/
|
|
2191
2265
|
VersionName?: string;
|
|
2192
2266
|
/**
|
|
@@ -3660,9 +3734,12 @@ export interface GetOpsSummaryResult {
|
|
|
3660
3734
|
export interface GetParameterRequest {
|
|
3661
3735
|
/**
|
|
3662
3736
|
* @public
|
|
3663
|
-
* <p>The name of the parameter you want to query
|
|
3737
|
+
* <p>The name or Amazon Resource Name (ARN) of the parameter that you want to query. For
|
|
3738
|
+
* parameters shared with you from another account, you must use the full ARN.</p>
|
|
3664
3739
|
* <p>To query by parameter label, use <code>"Name": "name:label"</code>. To query by parameter
|
|
3665
3740
|
* version, use <code>"Name": "name:version"</code>.</p>
|
|
3741
|
+
* <p>For more information about shared parameters, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html">Working with shared parameters</a> in
|
|
3742
|
+
* the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
|
3666
3743
|
*/
|
|
3667
3744
|
Name: string | undefined;
|
|
3668
3745
|
/**
|
|
@@ -3778,7 +3855,8 @@ export declare class ParameterVersionNotFound extends __BaseException {
|
|
|
3778
3855
|
export interface GetParameterHistoryRequest {
|
|
3779
3856
|
/**
|
|
3780
3857
|
* @public
|
|
3781
|
-
* <p>The name of the parameter for which you want to review
|
|
3858
|
+
* <p>The name or Amazon Resource Name (ARN) of the parameter for which you want to review
|
|
3859
|
+
* history. For parameters shared with you from another account, you must use the full ARN.</p>
|
|
3782
3860
|
*/
|
|
3783
3861
|
Name: string | undefined;
|
|
3784
3862
|
/**
|
|
@@ -3899,9 +3977,12 @@ export interface GetParameterHistoryResult {
|
|
|
3899
3977
|
export interface GetParametersRequest {
|
|
3900
3978
|
/**
|
|
3901
3979
|
* @public
|
|
3902
|
-
* <p>Names of the parameters
|
|
3980
|
+
* <p>The names or Amazon Resource Names (ARNs) of the parameters that you want to query. For
|
|
3981
|
+
* parameters shared with you from another account, you must use the full ARNs.</p>
|
|
3903
3982
|
* <p>To query by parameter label, use <code>"Name": "name:label"</code>. To query by parameter
|
|
3904
3983
|
* version, use <code>"Name": "name:version"</code>.</p>
|
|
3984
|
+
* <p>For more information about shared parameters, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html">Working with shared parameters</a> in
|
|
3985
|
+
* the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
|
3905
3986
|
*/
|
|
3906
3987
|
Names: string[] | undefined;
|
|
3907
3988
|
/**
|
|
@@ -4354,6 +4435,10 @@ export interface LabelParameterVersionRequest {
|
|
|
4354
4435
|
/**
|
|
4355
4436
|
* @public
|
|
4356
4437
|
* <p>The parameter name on which you want to attach one or more labels.</p>
|
|
4438
|
+
* <note>
|
|
4439
|
+
* <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name
|
|
4440
|
+
* itself.</p>
|
|
4441
|
+
* </note>
|
|
4357
4442
|
*/
|
|
4358
4443
|
Name: string | undefined;
|
|
4359
4444
|
/**
|
|
@@ -6334,8 +6419,8 @@ export interface DocumentIdentifier {
|
|
|
6334
6419
|
/**
|
|
6335
6420
|
* @public
|
|
6336
6421
|
* <p>An optional field specifying the version of the artifact associated with the document. For
|
|
6337
|
-
* example, 12.6. This value is unique across all versions of a document, and
|
|
6338
|
-
*
|
|
6422
|
+
* example, 12.6. This value is unique across all versions of a document, and can't be
|
|
6423
|
+
* changed.</p>
|
|
6339
6424
|
*/
|
|
6340
6425
|
VersionName?: string;
|
|
6341
6426
|
/**
|
|
@@ -6454,7 +6539,8 @@ export interface DocumentVersionInfo {
|
|
|
6454
6539
|
DocumentVersion?: string;
|
|
6455
6540
|
/**
|
|
6456
6541
|
* @public
|
|
6457
|
-
* <p>The version of the artifact associated with the document. For example, 12.6. This value is
|
|
6542
|
+
* <p>The version of the artifact associated with the document. For example, 12.6. This value is
|
|
6543
|
+
* unique across all versions of a document, and can't be changed.</p>
|
|
6458
6544
|
*/
|
|
6459
6545
|
VersionName?: string;
|
|
6460
6546
|
/**
|
|
@@ -7764,10 +7850,14 @@ export declare class PoliciesLimitExceededException extends __BaseException {
|
|
|
7764
7850
|
export interface PutParameterRequest {
|
|
7765
7851
|
/**
|
|
7766
7852
|
* @public
|
|
7767
|
-
* <p>The fully qualified name of the parameter that you want to add to the system
|
|
7768
|
-
*
|
|
7769
|
-
*
|
|
7770
|
-
*
|
|
7853
|
+
* <p>The fully qualified name of the parameter that you want to add to the system.</p>
|
|
7854
|
+
* <note>
|
|
7855
|
+
* <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name
|
|
7856
|
+
* itself.</p>
|
|
7857
|
+
* </note>
|
|
7858
|
+
* <p>The fully qualified name includes the complete hierarchy of the parameter path and name. For
|
|
7859
|
+
* parameters in a hierarchy, you must include a leading forward slash character (/) when you create
|
|
7860
|
+
* or reference a parameter. For example: <code>/Dev/DBServer/MySQL/db-string13</code>
|
|
7771
7861
|
* </p>
|
|
7772
7862
|
* <p>Naming Constraints:</p>
|
|
7773
7863
|
* <ul>
|
|
@@ -9334,36 +9424,9 @@ export declare const StopType: {
|
|
|
9334
9424
|
*/
|
|
9335
9425
|
export type StopType = (typeof StopType)[keyof typeof StopType];
|
|
9336
9426
|
/**
|
|
9337
|
-
* @
|
|
9338
|
-
*/
|
|
9339
|
-
export interface StopAutomationExecutionRequest {
|
|
9340
|
-
/**
|
|
9341
|
-
* @public
|
|
9342
|
-
* <p>The execution ID of the Automation to stop.</p>
|
|
9343
|
-
*/
|
|
9344
|
-
AutomationExecutionId: string | undefined;
|
|
9345
|
-
/**
|
|
9346
|
-
* @public
|
|
9347
|
-
* <p>The stop request type. Valid types include the following: Cancel and Complete. The default
|
|
9348
|
-
* type is Cancel.</p>
|
|
9349
|
-
*/
|
|
9350
|
-
Type?: StopType;
|
|
9351
|
-
}
|
|
9352
|
-
/**
|
|
9353
|
-
* @public
|
|
9354
|
-
*/
|
|
9355
|
-
export interface StopAutomationExecutionResult {
|
|
9356
|
-
}
|
|
9357
|
-
/**
|
|
9358
|
-
* @public
|
|
9427
|
+
* @internal
|
|
9359
9428
|
*/
|
|
9360
|
-
export
|
|
9361
|
-
/**
|
|
9362
|
-
* @public
|
|
9363
|
-
* <p>The ID of the session to terminate.</p>
|
|
9364
|
-
*/
|
|
9365
|
-
SessionId: string | undefined;
|
|
9366
|
-
}
|
|
9429
|
+
export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (obj: MaintenanceWindowTaskParameterValueExpression) => any;
|
|
9367
9430
|
/**
|
|
9368
9431
|
* @internal
|
|
9369
9432
|
*/
|
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, InstanceAssociationOutputLocation,
|
|
3
|
-
import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute } from "./models_1";
|
|
2
|
+
import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, InstanceAssociationOutputLocation, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target, TargetLocation } from "./models_0";
|
|
3
|
+
import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute, StopType } from "./models_1";
|
|
4
4
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface StopAutomationExecutionRequest {
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
* <p>The execution ID of the Automation to stop.</p>
|
|
12
|
+
*/
|
|
13
|
+
AutomationExecutionId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* <p>The stop request type. Valid types include the following: Cancel and Complete. The default
|
|
17
|
+
* type is Cancel.</p>
|
|
18
|
+
*/
|
|
19
|
+
Type?: StopType;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface StopAutomationExecutionResult {
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export interface TerminateSessionRequest {
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* <p>The ID of the session to terminate.</p>
|
|
33
|
+
*/
|
|
34
|
+
SessionId: string | undefined;
|
|
35
|
+
}
|
|
5
36
|
/**
|
|
6
37
|
* @public
|
|
7
38
|
*/
|
|
@@ -19,6 +50,10 @@ export interface UnlabelParameterVersionRequest {
|
|
|
19
50
|
/**
|
|
20
51
|
* @public
|
|
21
52
|
* <p>The name of the parameter from which you want to delete one or more labels.</p>
|
|
53
|
+
* <note>
|
|
54
|
+
* <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name
|
|
55
|
+
* itself.</p>
|
|
56
|
+
* </note>
|
|
22
57
|
*/
|
|
23
58
|
Name: string | undefined;
|
|
24
59
|
/**
|
|
@@ -407,8 +442,8 @@ export interface UpdateDocumentRequest {
|
|
|
407
442
|
/**
|
|
408
443
|
* @public
|
|
409
444
|
* <p>An optional field specifying the version of the artifact you are updating with the document.
|
|
410
|
-
* For example, 12.6. This value is unique across all versions of a document, and
|
|
411
|
-
*
|
|
445
|
+
* For example, 12.6. This value is unique across all versions of a document, and can't be
|
|
446
|
+
* changed.</p>
|
|
412
447
|
*/
|
|
413
448
|
VersionName?: string;
|
|
414
449
|
/**
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: SSMClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
-
httpHandlerConfigs(): {};
|
|
17
|
-
}) | RequestHandler;
|
|
14
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
18
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,10 +5,7 @@ import { SSMClientConfig } from "./SSMClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SSMClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler:
|
|
9
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
-
httpHandlerConfigs(): {};
|
|
11
|
-
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
12
9
|
apiVersion: string;
|
|
13
10
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
RetryInputConfig,
|
|
19
19
|
RetryResolvedConfig,
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
|
-
import {
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
23
|
Client as __Client,
|
|
24
24
|
DefaultsMode as __DefaultsMode,
|
|
@@ -889,8 +889,8 @@ export type ServiceOutputTypes =
|
|
|
889
889
|
| UpdateResourceDataSyncCommandOutput
|
|
890
890
|
| UpdateServiceSettingCommandOutput;
|
|
891
891
|
export interface ClientDefaults
|
|
892
|
-
extends Partial<
|
|
893
|
-
requestHandler?:
|
|
892
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
893
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
894
894
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
895
895
|
urlParser?: __UrlParser;
|
|
896
896
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
TerminateSessionRequest,
|
|
5
|
+
TerminateSessionResponse,
|
|
6
|
+
} from "../models/models_2";
|
|
5
7
|
import {
|
|
6
8
|
ServiceInputTypes,
|
|
7
9
|
ServiceOutputTypes,
|