@aws-sdk/client-ssm 3.80.0 → 3.84.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/CHANGELOG.md +30 -0
- package/dist-cjs/commands/UpdateDocumentMetadataCommand.js +1 -2
- package/dist-cjs/models/models_0.js +20 -12
- package/dist-cjs/models/models_1.js +12 -12
- package/dist-cjs/models/models_2.js +7 -1
- package/dist-cjs/protocols/Aws_json1_1.js +46 -0
- package/dist-es/commands/UpdateDocumentMetadataCommand.js +1 -2
- package/dist-es/models/models_0.js +13 -6
- package/dist-es/models/models_1.js +6 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +73 -28
- package/dist-types/SSM.d.ts +14 -13
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +7 -6
- package/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +7 -7
- package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +43 -6
- package/dist-types/models/models_1.d.ts +36 -28
- package/dist-types/models/models_2.d.ts +21 -1
- package/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +24 -5
- package/dist-types/ts3.4/models/models_1.d.ts +18 -13
- package/dist-types/ts3.4/models/models_2.d.ts +13 -1
- package/package.json +5 -5
|
@@ -2,7 +2,7 @@ import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
|
-
import { AlreadyExistsException, AssociatedInstances, AssociationAlreadyExists, AssociationDoesNotExist, AssociationExecutionDoesNotExist, AssociationLimitExceeded, AutomationExecutionNotFoundException, DocumentAlreadyExists, DocumentLimitExceeded, DoesNotExistException, DuplicateInstanceId, IdempotentParameterMismatch, InternalServerError, InvalidActivation, InvalidActivationId, InvalidAssociationVersion, InvalidCommandId, InvalidDeleteInventoryParametersException, InvalidDeletionIdException, InvalidDocument, InvalidDocumentContent, InvalidDocumentOperation, InvalidDocumentSchemaVersion, InvalidDocumentVersion, InvalidFilter, InvalidFilterKey, InvalidFilterValue, InvalidInstanceId, InvalidInstanceInformationFilterValue, InvalidInventoryRequestException, InvalidNextToken, InvalidOptionException, InvalidOutputLocation, InvalidParameters, InvalidPermissionType, InvalidResourceId, InvalidResourceType, InvalidSchedule, InvalidTarget, InvalidTypeNameException, MaxDocumentSizeExceeded, OpsItemAlreadyExistsException, OpsItemInvalidParameterException, OpsItemLimitExceededException, OpsItemNotFoundException, OpsItemRelatedItemAlreadyExistsException, OpsMetadataAlreadyExistsException, OpsMetadataInvalidArgumentException, OpsMetadataLimitExceededException, OpsMetadataNotFoundException, OpsMetadataTooManyUpdatesException, ParameterNotFound, ResourceDataSyncAlreadyExistsException, ResourceDataSyncCountExceededException, ResourceDataSyncInvalidConfigurationException, ResourceDataSyncNotFoundException, ResourceInUseException, ResourceLimitExceededException, TargetInUseException, TooManyTagsError, TooManyUpdates, UnsupportedOperatingSystem, UnsupportedPlatformType, } from "../models/models_0";
|
|
5
|
+
import { AlreadyExistsException, AssociatedInstances, AssociationAlreadyExists, AssociationDoesNotExist, AssociationExecutionDoesNotExist, AssociationLimitExceeded, AutomationExecutionNotFoundException, DocumentAlreadyExists, DocumentLimitExceeded, DoesNotExistException, DuplicateInstanceId, IdempotentParameterMismatch, InternalServerError, InvalidActivation, InvalidActivationId, InvalidAssociationVersion, InvalidCommandId, InvalidDeleteInventoryParametersException, InvalidDeletionIdException, InvalidDocument, InvalidDocumentContent, InvalidDocumentOperation, InvalidDocumentSchemaVersion, InvalidDocumentVersion, InvalidFilter, InvalidFilterKey, InvalidFilterValue, InvalidInstanceId, InvalidInstanceInformationFilterValue, InvalidInventoryRequestException, InvalidNextToken, InvalidOptionException, InvalidOutputLocation, InvalidParameters, InvalidPermissionType, InvalidResourceId, InvalidResourceType, InvalidSchedule, InvalidTarget, InvalidTargetMaps, InvalidTypeNameException, MaxDocumentSizeExceeded, OpsItemAlreadyExistsException, OpsItemInvalidParameterException, OpsItemLimitExceededException, OpsItemNotFoundException, OpsItemRelatedItemAlreadyExistsException, OpsMetadataAlreadyExistsException, OpsMetadataInvalidArgumentException, OpsMetadataLimitExceededException, OpsMetadataNotFoundException, OpsMetadataTooManyUpdatesException, ParameterNotFound, ResourceDataSyncAlreadyExistsException, ResourceDataSyncCountExceededException, ResourceDataSyncInvalidConfigurationException, ResourceDataSyncNotFoundException, ResourceInUseException, ResourceLimitExceededException, TargetInUseException, TooManyTagsError, TooManyUpdates, UnsupportedOperatingSystem, UnsupportedPlatformType, } from "../models/models_0";
|
|
6
6
|
import { AssociationVersionLimitExceeded, AutomationDefinitionNotApprovedException, AutomationDefinitionNotFoundException, AutomationDefinitionVersionNotFoundException, AutomationExecutionLimitExceededException, AutomationStepNotFoundException, ComplianceTypeCountLimitExceededException, CustomSchemaCountLimitExceededException, DocumentPermissionLimit, DocumentVersionLimitExceeded, DuplicateDocumentContent, DuplicateDocumentVersionName, FeatureNotAvailableException, HierarchyLevelLimitExceededException, HierarchyTypeMismatchException, IncompatiblePolicyException, InvalidAggregatorException, InvalidAllowedPatternException, InvalidAssociation, InvalidAutomationExecutionParametersException, InvalidAutomationSignalException, InvalidAutomationStatusUpdateException, InvalidDocumentType, InvalidFilterOption, InvalidInventoryGroupException, InvalidInventoryItemContextException, InvalidItemContentException, InvalidKeyId, InvalidNotificationConfig, InvalidOutputFolder, InvalidPluginName, InvalidPolicyAttributeException, InvalidPolicyTypeException, InvalidResultAttributeException, InvalidRole, InvalidUpdate, InvocationDoesNotExist, ItemContentMismatchException, ItemSizeLimitExceededException, OpsItemRelatedItemAssociationNotFoundException, ParameterAlreadyExists, ParameterLimitExceeded, ParameterMaxVersionLimitExceeded, ParameterPatternMismatchException, ParameterVersionLabelLimitExceeded, ParameterVersionNotFound, PoliciesLimitExceededException, ServiceSettingNotFound, StatusUnchanged, SubTypeCountLimitExceededException, TargetNotConnected, TotalSizeLimitExceededException, UnsupportedCalendarException, UnsupportedFeatureRequiredException, UnsupportedInventoryItemContextException, UnsupportedInventorySchemaVersionException, UnsupportedParameterType, } from "../models/models_1";
|
|
7
7
|
import { OpsMetadataKeyLimitExceededException, ResourceDataSyncConflictException, } from "../models/models_2";
|
|
8
8
|
import { SSMServiceException as __BaseException } from "../models/SSMServiceException";
|
|
@@ -1846,10 +1846,12 @@ var deserializeAws_json1_1CreateAssociationCommandError = function (output, cont
|
|
|
1846
1846
|
case "com.amazonaws.ssm#InvalidSchedule": return [3, 18];
|
|
1847
1847
|
case "InvalidTarget": return [3, 20];
|
|
1848
1848
|
case "com.amazonaws.ssm#InvalidTarget": return [3, 20];
|
|
1849
|
-
case "
|
|
1850
|
-
case "com.amazonaws.ssm#
|
|
1849
|
+
case "InvalidTargetMaps": return [3, 22];
|
|
1850
|
+
case "com.amazonaws.ssm#InvalidTargetMaps": return [3, 22];
|
|
1851
|
+
case "UnsupportedPlatformType": return [3, 24];
|
|
1852
|
+
case "com.amazonaws.ssm#UnsupportedPlatformType": return [3, 24];
|
|
1851
1853
|
}
|
|
1852
|
-
return [3,
|
|
1854
|
+
return [3, 26];
|
|
1853
1855
|
case 2: return [4, deserializeAws_json1_1AssociationAlreadyExistsResponse(parsedOutput, context)];
|
|
1854
1856
|
case 3: throw _d.sent();
|
|
1855
1857
|
case 4: return [4, deserializeAws_json1_1AssociationLimitExceededResponse(parsedOutput, context)];
|
|
@@ -1870,9 +1872,11 @@ var deserializeAws_json1_1CreateAssociationCommandError = function (output, cont
|
|
|
1870
1872
|
case 19: throw _d.sent();
|
|
1871
1873
|
case 20: return [4, deserializeAws_json1_1InvalidTargetResponse(parsedOutput, context)];
|
|
1872
1874
|
case 21: throw _d.sent();
|
|
1873
|
-
case 22: return [4,
|
|
1875
|
+
case 22: return [4, deserializeAws_json1_1InvalidTargetMapsResponse(parsedOutput, context)];
|
|
1874
1876
|
case 23: throw _d.sent();
|
|
1875
|
-
case 24:
|
|
1877
|
+
case 24: return [4, deserializeAws_json1_1UnsupportedPlatformTypeResponse(parsedOutput, context)];
|
|
1878
|
+
case 25: throw _d.sent();
|
|
1879
|
+
case 26:
|
|
1876
1880
|
parsedBody = parsedOutput.body;
|
|
1877
1881
|
response = new __BaseException({
|
|
1878
1882
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -1936,10 +1940,12 @@ var deserializeAws_json1_1CreateAssociationBatchCommandError = function (output,
|
|
|
1936
1940
|
case "com.amazonaws.ssm#InvalidSchedule": return [3, 18];
|
|
1937
1941
|
case "InvalidTarget": return [3, 20];
|
|
1938
1942
|
case "com.amazonaws.ssm#InvalidTarget": return [3, 20];
|
|
1939
|
-
case "
|
|
1940
|
-
case "com.amazonaws.ssm#
|
|
1943
|
+
case "InvalidTargetMaps": return [3, 22];
|
|
1944
|
+
case "com.amazonaws.ssm#InvalidTargetMaps": return [3, 22];
|
|
1945
|
+
case "UnsupportedPlatformType": return [3, 24];
|
|
1946
|
+
case "com.amazonaws.ssm#UnsupportedPlatformType": return [3, 24];
|
|
1941
1947
|
}
|
|
1942
|
-
return [3,
|
|
1948
|
+
return [3, 26];
|
|
1943
1949
|
case 2: return [4, deserializeAws_json1_1AssociationLimitExceededResponse(parsedOutput, context)];
|
|
1944
1950
|
case 3: throw _d.sent();
|
|
1945
1951
|
case 4: return [4, deserializeAws_json1_1DuplicateInstanceIdResponse(parsedOutput, context)];
|
|
@@ -1960,9 +1966,11 @@ var deserializeAws_json1_1CreateAssociationBatchCommandError = function (output,
|
|
|
1960
1966
|
case 19: throw _d.sent();
|
|
1961
1967
|
case 20: return [4, deserializeAws_json1_1InvalidTargetResponse(parsedOutput, context)];
|
|
1962
1968
|
case 21: throw _d.sent();
|
|
1963
|
-
case 22: return [4,
|
|
1969
|
+
case 22: return [4, deserializeAws_json1_1InvalidTargetMapsResponse(parsedOutput, context)];
|
|
1964
1970
|
case 23: throw _d.sent();
|
|
1965
|
-
case 24:
|
|
1971
|
+
case 24: return [4, deserializeAws_json1_1UnsupportedPlatformTypeResponse(parsedOutput, context)];
|
|
1972
|
+
case 25: throw _d.sent();
|
|
1973
|
+
case 26:
|
|
1966
1974
|
parsedBody = parsedOutput.body;
|
|
1967
1975
|
response = new __BaseException({
|
|
1968
1976
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -8846,12 +8854,14 @@ var deserializeAws_json1_1UpdateAssociationCommandError = function (output, cont
|
|
|
8846
8854
|
case "com.amazonaws.ssm#InvalidSchedule": return [3, 18];
|
|
8847
8855
|
case "InvalidTarget": return [3, 20];
|
|
8848
8856
|
case "com.amazonaws.ssm#InvalidTarget": return [3, 20];
|
|
8849
|
-
case "
|
|
8850
|
-
case "com.amazonaws.ssm#
|
|
8851
|
-
case "
|
|
8852
|
-
case "com.amazonaws.ssm#
|
|
8853
|
-
|
|
8854
|
-
|
|
8857
|
+
case "InvalidTargetMaps": return [3, 22];
|
|
8858
|
+
case "com.amazonaws.ssm#InvalidTargetMaps": return [3, 22];
|
|
8859
|
+
case "InvalidUpdate": return [3, 24];
|
|
8860
|
+
case "com.amazonaws.ssm#InvalidUpdate": return [3, 24];
|
|
8861
|
+
case "TooManyUpdates": return [3, 26];
|
|
8862
|
+
case "com.amazonaws.ssm#TooManyUpdates": return [3, 26];
|
|
8863
|
+
}
|
|
8864
|
+
return [3, 28];
|
|
8855
8865
|
case 2: return [4, deserializeAws_json1_1AssociationDoesNotExistResponse(parsedOutput, context)];
|
|
8856
8866
|
case 3: throw _d.sent();
|
|
8857
8867
|
case 4: return [4, deserializeAws_json1_1AssociationVersionLimitExceededResponse(parsedOutput, context)];
|
|
@@ -8872,11 +8882,13 @@ var deserializeAws_json1_1UpdateAssociationCommandError = function (output, cont
|
|
|
8872
8882
|
case 19: throw _d.sent();
|
|
8873
8883
|
case 20: return [4, deserializeAws_json1_1InvalidTargetResponse(parsedOutput, context)];
|
|
8874
8884
|
case 21: throw _d.sent();
|
|
8875
|
-
case 22: return [4,
|
|
8885
|
+
case 22: return [4, deserializeAws_json1_1InvalidTargetMapsResponse(parsedOutput, context)];
|
|
8876
8886
|
case 23: throw _d.sent();
|
|
8877
|
-
case 24: return [4,
|
|
8887
|
+
case 24: return [4, deserializeAws_json1_1InvalidUpdateResponse(parsedOutput, context)];
|
|
8878
8888
|
case 25: throw _d.sent();
|
|
8879
|
-
case 26:
|
|
8889
|
+
case 26: return [4, deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context)];
|
|
8890
|
+
case 27: throw _d.sent();
|
|
8891
|
+
case 28:
|
|
8880
8892
|
parsedBody = parsedOutput.body;
|
|
8881
8893
|
response = new __BaseException({
|
|
8882
8894
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -10355,6 +10367,15 @@ var deserializeAws_json1_1InvalidTargetResponse = function (parsedOutput, contex
|
|
|
10355
10367
|
return [2, __decorateServiceException(exception, body)];
|
|
10356
10368
|
});
|
|
10357
10369
|
}); };
|
|
10370
|
+
var deserializeAws_json1_1InvalidTargetMapsResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10371
|
+
var body, deserialized, exception;
|
|
10372
|
+
return __generator(this, function (_a) {
|
|
10373
|
+
body = parsedOutput.body;
|
|
10374
|
+
deserialized = deserializeAws_json1_1InvalidTargetMaps(body, context);
|
|
10375
|
+
exception = new InvalidTargetMaps(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
10376
|
+
return [2, __decorateServiceException(exception, body)];
|
|
10377
|
+
});
|
|
10378
|
+
}); };
|
|
10358
10379
|
var deserializeAws_json1_1InvalidTypeNameExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10359
10380
|
var body, deserialized, exception;
|
|
10360
10381
|
return __generator(this, function (_a) {
|
|
@@ -11095,7 +11116,7 @@ var serializeAws_json1_1CreateAssociationBatchRequestEntries = function (input,
|
|
|
11095
11116
|
});
|
|
11096
11117
|
};
|
|
11097
11118
|
var serializeAws_json1_1CreateAssociationBatchRequestEntry = function (input, context) {
|
|
11098
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
|
|
11119
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
|
|
11099
11120
|
input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName !== undefined &&
|
|
11100
11121
|
input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName !== undefined &&
|
|
11101
11122
|
input.AutomationTargetParameterName !== null && {
|
|
@@ -11116,11 +11137,12 @@ var serializeAws_json1_1CreateAssociationBatchRequestEntry = function (input, co
|
|
|
11116
11137
|
input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
|
|
11117
11138
|
input.TargetLocations !== null && {
|
|
11118
11139
|
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
|
|
11119
|
-
})), (input.
|
|
11140
|
+
})), (input.TargetMaps !== undefined &&
|
|
11141
|
+
input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets !== undefined &&
|
|
11120
11142
|
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
|
|
11121
11143
|
};
|
|
11122
11144
|
var serializeAws_json1_1CreateAssociationRequest = function (input, context) {
|
|
11123
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
|
|
11145
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
|
|
11124
11146
|
input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName !== undefined &&
|
|
11125
11147
|
input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName !== undefined &&
|
|
11126
11148
|
input.AutomationTargetParameterName !== null && {
|
|
@@ -11141,7 +11163,8 @@ var serializeAws_json1_1CreateAssociationRequest = function (input, context) {
|
|
|
11141
11163
|
input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
|
|
11142
11164
|
input.TargetLocations !== null && {
|
|
11143
11165
|
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
|
|
11144
|
-
})), (input.
|
|
11166
|
+
})), (input.TargetMaps !== undefined &&
|
|
11167
|
+
input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets !== undefined &&
|
|
11145
11168
|
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
|
|
11146
11169
|
};
|
|
11147
11170
|
var serializeAws_json1_1CreateDocumentRequest = function (input, context) {
|
|
@@ -12560,7 +12583,7 @@ var serializeAws_json1_1ResumeSessionRequest = function (input, context) {
|
|
|
12560
12583
|
return __assign({}, (input.SessionId !== undefined && input.SessionId !== null && { SessionId: input.SessionId }));
|
|
12561
12584
|
};
|
|
12562
12585
|
var serializeAws_json1_1Runbook = function (input, context) {
|
|
12563
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
|
|
12586
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.DocumentVersion !== undefined &&
|
|
12564
12587
|
input.DocumentVersion !== null && { DocumentVersion: input.DocumentVersion })), (input.MaxConcurrency !== undefined &&
|
|
12565
12588
|
input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MaxErrors !== undefined && input.MaxErrors !== null && { MaxErrors: input.MaxErrors })), (input.Parameters !== undefined &&
|
|
12566
12589
|
input.Parameters !== null && {
|
|
@@ -12568,7 +12591,8 @@ var serializeAws_json1_1Runbook = function (input, context) {
|
|
|
12568
12591
|
})), (input.TargetLocations !== undefined &&
|
|
12569
12592
|
input.TargetLocations !== null && {
|
|
12570
12593
|
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
|
|
12571
|
-
})), (input.
|
|
12594
|
+
})), (input.TargetMaps !== undefined &&
|
|
12595
|
+
input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.TargetParameterName !== undefined &&
|
|
12572
12596
|
input.TargetParameterName !== null && { TargetParameterName: input.TargetParameterName })), (input.Targets !== undefined &&
|
|
12573
12597
|
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
|
|
12574
12598
|
};
|
|
@@ -12817,7 +12841,7 @@ var serializeAws_json1_1UnlabelParameterVersionRequest = function (input, contex
|
|
|
12817
12841
|
input.ParameterVersion !== null && { ParameterVersion: input.ParameterVersion }));
|
|
12818
12842
|
};
|
|
12819
12843
|
var serializeAws_json1_1UpdateAssociationRequest = function (input, context) {
|
|
12820
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
|
|
12844
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
|
|
12821
12845
|
input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.AssociationName !== undefined &&
|
|
12822
12846
|
input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AssociationVersion !== undefined &&
|
|
12823
12847
|
input.AssociationVersion !== null && { AssociationVersion: input.AssociationVersion })), (input.AutomationTargetParameterName !== undefined &&
|
|
@@ -12839,7 +12863,8 @@ var serializeAws_json1_1UpdateAssociationRequest = function (input, context) {
|
|
|
12839
12863
|
input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
|
|
12840
12864
|
input.TargetLocations !== null && {
|
|
12841
12865
|
TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
|
|
12842
|
-
})), (input.
|
|
12866
|
+
})), (input.TargetMaps !== undefined &&
|
|
12867
|
+
input.TargetMaps !== null && { TargetMaps: serializeAws_json1_1TargetMaps(input.TargetMaps, context) })), (input.Targets !== undefined &&
|
|
12843
12868
|
input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
|
|
12844
12869
|
};
|
|
12845
12870
|
var serializeAws_json1_1UpdateAssociationStatusRequest = function (input, context) {
|
|
@@ -13059,6 +13084,9 @@ var deserializeAws_json1_1Association = function (output, context) {
|
|
|
13059
13084
|
: undefined,
|
|
13060
13085
|
ScheduleExpression: __expectString(output.ScheduleExpression),
|
|
13061
13086
|
ScheduleOffset: __expectInt32(output.ScheduleOffset),
|
|
13087
|
+
TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
|
|
13088
|
+
? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
|
|
13089
|
+
: undefined,
|
|
13062
13090
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
13063
13091
|
? deserializeAws_json1_1Targets(output.Targets, context)
|
|
13064
13092
|
: undefined,
|
|
@@ -13113,6 +13141,9 @@ var deserializeAws_json1_1AssociationDescription = function (output, context) {
|
|
|
13113
13141
|
TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
|
|
13114
13142
|
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
|
|
13115
13143
|
: undefined,
|
|
13144
|
+
TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
|
|
13145
|
+
? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
|
|
13146
|
+
: undefined,
|
|
13116
13147
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
13117
13148
|
? deserializeAws_json1_1Targets(output.Targets, context)
|
|
13118
13149
|
: undefined,
|
|
@@ -13266,6 +13297,9 @@ var deserializeAws_json1_1AssociationVersionInfo = function (output, context) {
|
|
|
13266
13297
|
TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
|
|
13267
13298
|
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
|
|
13268
13299
|
: undefined,
|
|
13300
|
+
TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
|
|
13301
|
+
? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
|
|
13302
|
+
: undefined,
|
|
13269
13303
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
13270
13304
|
? deserializeAws_json1_1Targets(output.Targets, context)
|
|
13271
13305
|
: undefined,
|
|
@@ -13776,6 +13810,9 @@ var deserializeAws_json1_1CreateAssociationBatchRequestEntry = function (output,
|
|
|
13776
13810
|
TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
|
|
13777
13811
|
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
|
|
13778
13812
|
: undefined,
|
|
13813
|
+
TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
|
|
13814
|
+
? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
|
|
13815
|
+
: undefined,
|
|
13779
13816
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
13780
13817
|
? deserializeAws_json1_1Targets(output.Targets, context)
|
|
13781
13818
|
: undefined,
|
|
@@ -15216,6 +15253,11 @@ var deserializeAws_json1_1InvalidTarget = function (output, context) {
|
|
|
15216
15253
|
Message: __expectString(output.Message),
|
|
15217
15254
|
};
|
|
15218
15255
|
};
|
|
15256
|
+
var deserializeAws_json1_1InvalidTargetMaps = function (output, context) {
|
|
15257
|
+
return {
|
|
15258
|
+
Message: __expectString(output.Message),
|
|
15259
|
+
};
|
|
15260
|
+
};
|
|
15219
15261
|
var deserializeAws_json1_1InvalidTypeNameException = function (output, context) {
|
|
15220
15262
|
return {
|
|
15221
15263
|
Message: __expectString(output.Message),
|
|
@@ -17043,6 +17085,9 @@ var deserializeAws_json1_1Runbook = function (output, context) {
|
|
|
17043
17085
|
TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
|
|
17044
17086
|
? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
|
|
17045
17087
|
: undefined,
|
|
17088
|
+
TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
|
|
17089
|
+
? deserializeAws_json1_1TargetMaps(output.TargetMaps, context)
|
|
17090
|
+
: undefined,
|
|
17046
17091
|
TargetParameterName: __expectString(output.TargetParameterName),
|
|
17047
17092
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
17048
17093
|
? deserializeAws_json1_1Targets(output.Targets, context)
|
package/dist-types/SSM.d.ts
CHANGED
|
@@ -177,11 +177,11 @@ import { SSMClient } from "./SSMClient";
|
|
|
177
177
|
export declare class SSM extends SSMClient {
|
|
178
178
|
/**
|
|
179
179
|
* <p>Adds or overwrites one or more tags for the specified resource. Tags are metadata that you
|
|
180
|
-
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
181
|
-
* patch baselines. Tags enable you to categorize your resources in different ways,
|
|
182
|
-
* purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
183
|
-
* you define. For example, you could define a set of tags for your account's managed
|
|
184
|
-
* helps you track each node's owner and stack level. For example:</p>
|
|
180
|
+
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
181
|
+
* parameters, and patch baselines. Tags enable you to categorize your resources in different ways,
|
|
182
|
+
* for example, by purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
183
|
+
* both of which you define. For example, you could define a set of tags for your account's managed
|
|
184
|
+
* nodes that helps you track each node's owner and stack level. For example:</p>
|
|
185
185
|
* <ul>
|
|
186
186
|
* <li>
|
|
187
187
|
* <p>
|
|
@@ -214,7 +214,8 @@ export declare class SSM extends SSMClient {
|
|
|
214
214
|
* </p>
|
|
215
215
|
* </li>
|
|
216
216
|
* </ul>
|
|
217
|
-
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
217
|
+
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
218
|
+
* tags.</p>
|
|
218
219
|
* <p>We recommend that you devise a set of tag keys that meets your needs for each resource type.
|
|
219
220
|
* Using a consistent set of tag keys makes it easier for you to manage your resources. You can
|
|
220
221
|
* search and filter the resources based on the tags you add. Tags don't have any semantic meaning
|
|
@@ -887,13 +888,13 @@ export declare class SSM extends SSMClient {
|
|
|
887
888
|
getMaintenanceWindowExecutionTaskInvocation(args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMaintenanceWindowExecutionTaskInvocationCommandOutput) => void): void;
|
|
888
889
|
/**
|
|
889
890
|
* <p>Retrieves the details of a maintenance window task.</p>
|
|
890
|
-
*
|
|
891
|
-
*
|
|
892
|
-
*
|
|
893
|
-
*
|
|
894
|
-
*
|
|
895
|
-
*
|
|
896
|
-
*
|
|
891
|
+
* <note>
|
|
892
|
+
* <p>For maintenance window tasks without a specified target, you can't supply values for
|
|
893
|
+
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
|
|
894
|
+
* placeholder value of <code>1</code>, which may be reported in the response to this command.
|
|
895
|
+
* These values don't affect the running of your task and can be ignored.</p>
|
|
896
|
+
* </note>
|
|
897
|
+
* <p>To retrieve a list of tasks in a maintenance window, instead use the <a>DescribeMaintenanceWindowTasks</a> command.</p>
|
|
897
898
|
*/
|
|
898
899
|
getMaintenanceWindowTask(args: GetMaintenanceWindowTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetMaintenanceWindowTaskCommandOutput>;
|
|
899
900
|
getMaintenanceWindowTask(args: GetMaintenanceWindowTaskCommandInput, cb: (err: any, data?: GetMaintenanceWindowTaskCommandOutput) => void): void;
|
|
@@ -8,11 +8,11 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult,
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds or overwrites one or more tags for the specified resource. Tags are metadata that you
|
|
11
|
-
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
12
|
-
* patch baselines. Tags enable you to categorize your resources in different ways,
|
|
13
|
-
* purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
14
|
-
* you define. For example, you could define a set of tags for your account's managed
|
|
15
|
-
* helps you track each node's owner and stack level. For example:</p>
|
|
11
|
+
* can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store
|
|
12
|
+
* parameters, and patch baselines. Tags enable you to categorize your resources in different ways,
|
|
13
|
+
* for example, by purpose, owner, or environment. Each tag consists of a key and an optional value,
|
|
14
|
+
* both of which you define. For example, you could define a set of tags for your account's managed
|
|
15
|
+
* nodes that helps you track each node's owner and stack level. For example:</p>
|
|
16
16
|
* <ul>
|
|
17
17
|
* <li>
|
|
18
18
|
* <p>
|
|
@@ -45,7 +45,8 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult,
|
|
|
45
45
|
* </p>
|
|
46
46
|
* </li>
|
|
47
47
|
* </ul>
|
|
48
|
-
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
48
|
+
* <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5
|
|
49
|
+
* tags.</p>
|
|
49
50
|
* <p>We recommend that you devise a set of tag keys that meets your needs for each resource type.
|
|
50
51
|
* Using a consistent set of tag keys makes it easier for you to manage your resources. You can
|
|
51
52
|
* search and filter the resources based on the tags you add. Tags don't have any semantic meaning
|
|
@@ -8,13 +8,13 @@ export interface GetMaintenanceWindowTaskCommandOutput extends GetMaintenanceWin
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Retrieves the details of a maintenance window task.</p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>For maintenance window tasks without a specified target, you can't supply values for
|
|
13
|
+
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
|
|
14
|
+
* placeholder value of <code>1</code>, which may be reported in the response to this command.
|
|
15
|
+
* These values don't affect the running of your task and can be ignored.</p>
|
|
16
|
+
* </note>
|
|
17
|
+
* <p>To retrieve a list of tasks in a maintenance window, instead use the <a>DescribeMaintenanceWindowTasks</a> command.</p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -1,7 +1,6 @@
|
|
|
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 } from "../models/
|
|
4
|
-
import { UpdateDocumentMetadataResponse } from "../models/models_2";
|
|
3
|
+
import { UpdateDocumentMetadataRequest, UpdateDocumentMetadataResponse } from "../models/models_2";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
5
|
export interface UpdateDocumentMetadataCommandInput extends UpdateDocumentMetadataRequest {
|
|
7
6
|
}
|
|
@@ -961,13 +961,22 @@ export interface CreateAssociationRequest {
|
|
|
961
961
|
/**
|
|
962
962
|
* <p>Number of days to wait after the scheduled day to run an association. For example, if you
|
|
963
963
|
* specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
|
|
964
|
-
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
964
|
+
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
965
|
+
* about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron
|
|
966
|
+
* and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
|
|
965
967
|
* <note>
|
|
966
968
|
* <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
|
|
967
969
|
* option tells the system not to run an association immediately after you create it. </p>
|
|
968
970
|
* </note>
|
|
969
971
|
*/
|
|
970
972
|
ScheduleOffset?: number;
|
|
973
|
+
/**
|
|
974
|
+
* <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
|
|
975
|
+
* can't be specified together.</p>
|
|
976
|
+
*/
|
|
977
|
+
TargetMaps?: {
|
|
978
|
+
[key: string]: string[];
|
|
979
|
+
}[];
|
|
971
980
|
}
|
|
972
981
|
export declare namespace CreateAssociationRequest {
|
|
973
982
|
/**
|
|
@@ -1174,6 +1183,13 @@ export interface AssociationDescription {
|
|
|
1174
1183
|
* <p>Number of days to wait after the scheduled day to run an association.</p>
|
|
1175
1184
|
*/
|
|
1176
1185
|
ScheduleOffset?: number;
|
|
1186
|
+
/**
|
|
1187
|
+
* <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
|
|
1188
|
+
* can't be specified together.</p>
|
|
1189
|
+
*/
|
|
1190
|
+
TargetMaps?: {
|
|
1191
|
+
[key: string]: string[];
|
|
1192
|
+
}[];
|
|
1177
1193
|
}
|
|
1178
1194
|
export declare namespace AssociationDescription {
|
|
1179
1195
|
/**
|
|
@@ -1257,6 +1273,18 @@ export declare class InvalidTarget extends __BaseException {
|
|
|
1257
1273
|
*/
|
|
1258
1274
|
constructor(opts: __ExceptionOptionType<InvalidTarget, __BaseException>);
|
|
1259
1275
|
}
|
|
1276
|
+
/**
|
|
1277
|
+
* <p>TargetMap parameter isn't valid.</p>
|
|
1278
|
+
*/
|
|
1279
|
+
export declare class InvalidTargetMaps extends __BaseException {
|
|
1280
|
+
readonly name: "InvalidTargetMaps";
|
|
1281
|
+
readonly $fault: "client";
|
|
1282
|
+
Message?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* @internal
|
|
1285
|
+
*/
|
|
1286
|
+
constructor(opts: __ExceptionOptionType<InvalidTargetMaps, __BaseException>);
|
|
1287
|
+
}
|
|
1260
1288
|
/**
|
|
1261
1289
|
* <p>The document doesn't support the platform type of the given managed node ID(s). For example,
|
|
1262
1290
|
* you sent an document for a Windows managed node to a Linux node.</p>
|
|
@@ -1404,6 +1432,13 @@ export interface CreateAssociationBatchRequestEntry {
|
|
|
1404
1432
|
* <p>Number of days to wait after the scheduled day to run an association.</p>
|
|
1405
1433
|
*/
|
|
1406
1434
|
ScheduleOffset?: number;
|
|
1435
|
+
/**
|
|
1436
|
+
* <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
|
|
1437
|
+
* can't be specified together.</p>
|
|
1438
|
+
*/
|
|
1439
|
+
TargetMaps?: {
|
|
1440
|
+
[key: string]: string[];
|
|
1441
|
+
}[];
|
|
1407
1442
|
}
|
|
1408
1443
|
export declare namespace CreateAssociationBatchRequestEntry {
|
|
1409
1444
|
/**
|
|
@@ -4165,6 +4200,13 @@ export interface Runbook {
|
|
|
4165
4200
|
* Required if you specify <code>TargetParameterName</code>.</p>
|
|
4166
4201
|
*/
|
|
4167
4202
|
Targets?: Target[];
|
|
4203
|
+
/**
|
|
4204
|
+
* <p>A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps
|
|
4205
|
+
* can't be specified together.</p>
|
|
4206
|
+
*/
|
|
4207
|
+
TargetMaps?: {
|
|
4208
|
+
[key: string]: string[];
|
|
4209
|
+
}[];
|
|
4168
4210
|
/**
|
|
4169
4211
|
* <p>The <code>MaxConcurrency</code> value specified by the user when the operation started,
|
|
4170
4212
|
* indicating the maximum number of resources that the runbook operation can run on at the same
|
|
@@ -7564,8 +7606,3 @@ export declare namespace ParameterInlinePolicy {
|
|
|
7564
7606
|
*/
|
|
7565
7607
|
const filterSensitiveLog: (obj: ParameterInlinePolicy) => any;
|
|
7566
7608
|
}
|
|
7567
|
-
export declare enum ParameterTier {
|
|
7568
|
-
ADVANCED = "Advanced",
|
|
7569
|
-
INTELLIGENT_TIERING = "Intelligent-Tiering",
|
|
7570
|
-
STANDARD = "Standard"
|
|
7571
|
-
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { AssociationComplianceSeverity, AssociationDescription, AssociationOverview, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, AutomationExecutionStatus, AutomationSubtype, DocumentDescription, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, ParameterInlinePolicy, ParameterStringFilter,
|
|
2
|
+
import { AssociationComplianceSeverity, AssociationDescription, AssociationOverview, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, AutomationExecutionStatus, AutomationSubtype, DocumentDescription, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, ParameterInlinePolicy, ParameterStringFilter, 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
|
+
export declare enum ParameterTier {
|
|
5
|
+
ADVANCED = "Advanced",
|
|
6
|
+
INTELLIGENT_TIERING = "Intelligent-Tiering",
|
|
7
|
+
STANDARD = "Standard"
|
|
8
|
+
}
|
|
4
9
|
export declare enum ParameterType {
|
|
5
10
|
SECURE_STRING = "SecureString",
|
|
6
11
|
STRING = "String",
|
|
@@ -974,13 +979,13 @@ export interface GetCommandInvocationRequest {
|
|
|
974
979
|
*/
|
|
975
980
|
InstanceId: string | undefined;
|
|
976
981
|
/**
|
|
977
|
-
* <p>The name of the
|
|
978
|
-
*
|
|
979
|
-
*
|
|
980
|
-
*
|
|
981
|
-
*
|
|
982
|
+
* <p>The name of the step for which you want detailed results. If the document contains only one
|
|
983
|
+
* step, you can omit the name and details for that step. If the document contains more than one
|
|
984
|
+
* step, you must specify the name of the step for which you want to view details. Be sure to
|
|
985
|
+
* specify the name of the step, not the name of a plugin like
|
|
986
|
+
* <code>aws:RunShellScript</code>.</p>
|
|
982
987
|
* <p>To find the <code>PluginName</code>, check the document content and find the name of the
|
|
983
|
-
*
|
|
988
|
+
* step you want details for. Alternatively, use <a>ListCommandInvocations</a> with the
|
|
984
989
|
* <code>CommandId</code> and <code>Details</code> parameters. The <code>PluginName</code> is the
|
|
985
990
|
* <code>Name</code> attribute of the <code>CommandPlugin</code> object in the
|
|
986
991
|
* <code>CommandPlugins</code> list.</p>
|
|
@@ -3614,6 +3619,13 @@ export interface Association {
|
|
|
3614
3619
|
* <p>Number of days to wait after the scheduled day to run an association.</p>
|
|
3615
3620
|
*/
|
|
3616
3621
|
ScheduleOffset?: number;
|
|
3622
|
+
/**
|
|
3623
|
+
* <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
|
|
3624
|
+
* can't be specified together.</p>
|
|
3625
|
+
*/
|
|
3626
|
+
TargetMaps?: {
|
|
3627
|
+
[key: string]: string[];
|
|
3628
|
+
}[];
|
|
3617
3629
|
}
|
|
3618
3630
|
export declare namespace Association {
|
|
3619
3631
|
/**
|
|
@@ -3773,6 +3785,13 @@ export interface AssociationVersionInfo {
|
|
|
3773
3785
|
* <p>Number of days to wait after the scheduled day to run an association.</p>
|
|
3774
3786
|
*/
|
|
3775
3787
|
ScheduleOffset?: number;
|
|
3788
|
+
/**
|
|
3789
|
+
* <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
|
|
3790
|
+
* can't be specified together.</p>
|
|
3791
|
+
*/
|
|
3792
|
+
TargetMaps?: {
|
|
3793
|
+
[key: string]: string[];
|
|
3794
|
+
}[];
|
|
3776
3795
|
}
|
|
3777
3796
|
export declare namespace AssociationVersionInfo {
|
|
3778
3797
|
/**
|
|
@@ -8321,13 +8340,22 @@ export interface UpdateAssociationRequest {
|
|
|
8321
8340
|
/**
|
|
8322
8341
|
* <p>Number of days to wait after the scheduled day to run an association. For example, if you
|
|
8323
8342
|
* specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
|
|
8324
|
-
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
8343
|
+
* to run the association each Sunday after the second Thursday of the month. For more information
|
|
8344
|
+
* about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron
|
|
8345
|
+
* and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
|
|
8325
8346
|
* <note>
|
|
8326
8347
|
* <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
|
|
8327
8348
|
* option tells the system not to run an association immediately after you create it. </p>
|
|
8328
8349
|
* </note>
|
|
8329
8350
|
*/
|
|
8330
8351
|
ScheduleOffset?: number;
|
|
8352
|
+
/**
|
|
8353
|
+
* <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
|
|
8354
|
+
* can't be specified together.</p>
|
|
8355
|
+
*/
|
|
8356
|
+
TargetMaps?: {
|
|
8357
|
+
[key: string]: string[];
|
|
8358
|
+
}[];
|
|
8331
8359
|
}
|
|
8332
8360
|
export declare namespace UpdateAssociationRequest {
|
|
8333
8361
|
/**
|
|
@@ -8569,23 +8597,3 @@ export declare namespace DocumentReviews {
|
|
|
8569
8597
|
*/
|
|
8570
8598
|
const filterSensitiveLog: (obj: DocumentReviews) => any;
|
|
8571
8599
|
}
|
|
8572
|
-
export interface UpdateDocumentMetadataRequest {
|
|
8573
|
-
/**
|
|
8574
|
-
* <p>The name of the change template for which a version's metadata is to be updated.</p>
|
|
8575
|
-
*/
|
|
8576
|
-
Name: string | undefined;
|
|
8577
|
-
/**
|
|
8578
|
-
* <p>The version of a change template in which to update approval metadata.</p>
|
|
8579
|
-
*/
|
|
8580
|
-
DocumentVersion?: string;
|
|
8581
|
-
/**
|
|
8582
|
-
* <p>The change template review details to update.</p>
|
|
8583
|
-
*/
|
|
8584
|
-
DocumentReviews: DocumentReviews | undefined;
|
|
8585
|
-
}
|
|
8586
|
-
export declare namespace UpdateDocumentMetadataRequest {
|
|
8587
|
-
/**
|
|
8588
|
-
* @internal
|
|
8589
|
-
*/
|
|
8590
|
-
const filterSensitiveLog: (obj: UpdateDocumentMetadataRequest) => any;
|
|
8591
|
-
}
|
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target } from "./models_0";
|
|
3
|
-
import { InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
|
|
3
|
+
import { DocumentReviews, InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
|
|
4
4
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
5
|
+
export interface UpdateDocumentMetadataRequest {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The name of the change template for which a version's metadata is to be updated.</p>
|
|
8
|
+
*/
|
|
9
|
+
Name: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* <p>The version of a change template in which to update approval metadata.</p>
|
|
12
|
+
*/
|
|
13
|
+
DocumentVersion?: string;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The change template review details to update.</p>
|
|
16
|
+
*/
|
|
17
|
+
DocumentReviews: DocumentReviews | undefined;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace UpdateDocumentMetadataRequest {
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
const filterSensitiveLog: (obj: UpdateDocumentMetadataRequest) => any;
|
|
24
|
+
}
|
|
5
25
|
export interface UpdateDocumentMetadataResponse {
|
|
6
26
|
}
|
|
7
27
|
export declare namespace UpdateDocumentMetadataResponse {
|
|
@@ -1,7 +1,6 @@
|
|
|
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 } from "../models/
|
|
4
|
-
import { UpdateDocumentMetadataResponse } from "../models/models_2";
|
|
3
|
+
import { UpdateDocumentMetadataRequest, UpdateDocumentMetadataResponse } from "../models/models_2";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
5
|
export interface UpdateDocumentMetadataCommandInput extends UpdateDocumentMetadataRequest {
|
|
7
6
|
}
|