aws-sdk-ssm 1.104.0 → 1.109.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +633 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ssm.rb +2 -2
- data/lib/aws-sdk-ssm/client.rb +256 -36
- data/lib/aws-sdk-ssm/client_api.rb +58 -1
- data/lib/aws-sdk-ssm/customizations.rb +1 -1
- data/lib/aws-sdk-ssm/errors.rb +1 -1
- data/lib/aws-sdk-ssm/resource.rb +1 -1
- data/lib/aws-sdk-ssm/types.rb +540 -68
- data/lib/aws-sdk-ssm/waiters.rb +1 -1
- metadata +9 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -117,6 +117,7 @@ module Aws::SSM
|
|
117
117
|
BaselineDescription = Shapes::StringShape.new(name: 'BaselineDescription')
|
118
118
|
BaselineId = Shapes::StringShape.new(name: 'BaselineId')
|
119
119
|
BaselineName = Shapes::StringShape.new(name: 'BaselineName')
|
120
|
+
BaselineOverride = Shapes::StructureShape.new(name: 'BaselineOverride')
|
120
121
|
BatchErrorMessage = Shapes::StringShape.new(name: 'BatchErrorMessage')
|
121
122
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
122
123
|
CalendarNameOrARN = Shapes::StringShape.new(name: 'CalendarNameOrARN')
|
@@ -126,6 +127,7 @@ module Aws::SSM
|
|
126
127
|
CancelCommandResult = Shapes::StructureShape.new(name: 'CancelCommandResult')
|
127
128
|
CancelMaintenanceWindowExecutionRequest = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionRequest')
|
128
129
|
CancelMaintenanceWindowExecutionResult = Shapes::StructureShape.new(name: 'CancelMaintenanceWindowExecutionResult')
|
130
|
+
ChangeDetailsValue = Shapes::StringShape.new(name: 'ChangeDetailsValue')
|
129
131
|
ChangeRequestName = Shapes::StringShape.new(name: 'ChangeRequestName')
|
130
132
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
131
133
|
CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
|
@@ -843,6 +845,7 @@ module Aws::SSM
|
|
843
845
|
PatchComplianceLevel = Shapes::StringShape.new(name: 'PatchComplianceLevel')
|
844
846
|
PatchComplianceMaxResults = Shapes::IntegerShape.new(name: 'PatchComplianceMaxResults')
|
845
847
|
PatchContentUrl = Shapes::StringShape.new(name: 'PatchContentUrl')
|
848
|
+
PatchCriticalNonCompliantCount = Shapes::IntegerShape.new(name: 'PatchCriticalNonCompliantCount')
|
846
849
|
PatchDeploymentStatus = Shapes::StringShape.new(name: 'PatchDeploymentStatus')
|
847
850
|
PatchDescription = Shapes::StringShape.new(name: 'PatchDescription')
|
848
851
|
PatchEpoch = Shapes::IntegerShape.new(name: 'PatchEpoch')
|
@@ -877,6 +880,7 @@ module Aws::SSM
|
|
877
880
|
PatchOrchestratorFilterList = Shapes::ListShape.new(name: 'PatchOrchestratorFilterList')
|
878
881
|
PatchOrchestratorFilterValue = Shapes::StringShape.new(name: 'PatchOrchestratorFilterValue')
|
879
882
|
PatchOrchestratorFilterValues = Shapes::ListShape.new(name: 'PatchOrchestratorFilterValues')
|
883
|
+
PatchOtherNonCompliantCount = Shapes::IntegerShape.new(name: 'PatchOtherNonCompliantCount')
|
880
884
|
PatchProduct = Shapes::StringShape.new(name: 'PatchProduct')
|
881
885
|
PatchProductFamily = Shapes::StringShape.new(name: 'PatchProductFamily')
|
882
886
|
PatchPropertiesList = Shapes::ListShape.new(name: 'PatchPropertiesList')
|
@@ -887,6 +891,7 @@ module Aws::SSM
|
|
887
891
|
PatchRule = Shapes::StructureShape.new(name: 'PatchRule')
|
888
892
|
PatchRuleGroup = Shapes::StructureShape.new(name: 'PatchRuleGroup')
|
889
893
|
PatchRuleList = Shapes::ListShape.new(name: 'PatchRuleList')
|
894
|
+
PatchSecurityNonCompliantCount = Shapes::IntegerShape.new(name: 'PatchSecurityNonCompliantCount')
|
890
895
|
PatchSet = Shapes::StringShape.new(name: 'PatchSet')
|
891
896
|
PatchSeverity = Shapes::StringShape.new(name: 'PatchSeverity')
|
892
897
|
PatchSource = Shapes::StructureShape.new(name: 'PatchSource')
|
@@ -947,6 +952,7 @@ module Aws::SSM
|
|
947
952
|
ResourceDataSyncCreatedTime = Shapes::TimestampShape.new(name: 'ResourceDataSyncCreatedTime')
|
948
953
|
ResourceDataSyncDestinationDataSharing = Shapes::StructureShape.new(name: 'ResourceDataSyncDestinationDataSharing')
|
949
954
|
ResourceDataSyncDestinationDataSharingType = Shapes::StringShape.new(name: 'ResourceDataSyncDestinationDataSharingType')
|
955
|
+
ResourceDataSyncEnableAllOpsDataSources = Shapes::BooleanShape.new(name: 'ResourceDataSyncEnableAllOpsDataSources')
|
950
956
|
ResourceDataSyncIncludeFutureRegions = Shapes::BooleanShape.new(name: 'ResourceDataSyncIncludeFutureRegions')
|
951
957
|
ResourceDataSyncInvalidConfigurationException = Shapes::StructureShape.new(name: 'ResourceDataSyncInvalidConfigurationException')
|
952
958
|
ResourceDataSyncItem = Shapes::StructureShape.new(name: 'ResourceDataSyncItem')
|
@@ -1088,6 +1094,8 @@ module Aws::SSM
|
|
1088
1094
|
TotalCount = Shapes::IntegerShape.new(name: 'TotalCount')
|
1089
1095
|
TotalSizeLimitExceededException = Shapes::StructureShape.new(name: 'TotalSizeLimitExceededException')
|
1090
1096
|
UUID = Shapes::StringShape.new(name: 'UUID')
|
1097
|
+
UnlabelParameterVersionRequest = Shapes::StructureShape.new(name: 'UnlabelParameterVersionRequest')
|
1098
|
+
UnlabelParameterVersionResult = Shapes::StructureShape.new(name: 'UnlabelParameterVersionResult')
|
1091
1099
|
UnsupportedCalendarException = Shapes::StructureShape.new(name: 'UnsupportedCalendarException')
|
1092
1100
|
UnsupportedFeatureRequiredException = Shapes::StructureShape.new(name: 'UnsupportedFeatureRequiredException')
|
1093
1101
|
UnsupportedInventoryItemContextException = Shapes::StructureShape.new(name: 'UnsupportedInventoryItemContextException')
|
@@ -1200,6 +1208,7 @@ module Aws::SSM
|
|
1200
1208
|
AssociationDescription.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1201
1209
|
AssociationDescription.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1202
1210
|
AssociationDescription.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1211
|
+
AssociationDescription.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1203
1212
|
AssociationDescription.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1204
1213
|
AssociationDescription.struct_class = Types::AssociationDescription
|
1205
1214
|
|
@@ -1290,6 +1299,7 @@ module Aws::SSM
|
|
1290
1299
|
AssociationVersionInfo.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1291
1300
|
AssociationVersionInfo.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1292
1301
|
AssociationVersionInfo.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1302
|
+
AssociationVersionInfo.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1293
1303
|
AssociationVersionInfo.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1294
1304
|
AssociationVersionInfo.struct_class = Types::AssociationVersionInfo
|
1295
1305
|
|
@@ -1417,6 +1427,17 @@ module Aws::SSM
|
|
1417
1427
|
AutomationStepNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
1418
1428
|
AutomationStepNotFoundException.struct_class = Types::AutomationStepNotFoundException
|
1419
1429
|
|
1430
|
+
BaselineOverride.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
|
1431
|
+
BaselineOverride.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
|
1432
|
+
BaselineOverride.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
|
1433
|
+
BaselineOverride.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
|
1434
|
+
BaselineOverride.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
|
1435
|
+
BaselineOverride.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
|
1436
|
+
BaselineOverride.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
|
1437
|
+
BaselineOverride.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity"))
|
1438
|
+
BaselineOverride.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
|
1439
|
+
BaselineOverride.struct_class = Types::BaselineOverride
|
1440
|
+
|
1420
1441
|
CalendarNameOrARNList.member = Shapes::ShapeRef.new(shape: CalendarNameOrARN)
|
1421
1442
|
|
1422
1443
|
CancelCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location_name: "CommandId"))
|
@@ -1593,6 +1614,7 @@ module Aws::SSM
|
|
1593
1614
|
CreateAssociationBatchRequestEntry.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1594
1615
|
CreateAssociationBatchRequestEntry.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1595
1616
|
CreateAssociationBatchRequestEntry.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1617
|
+
CreateAssociationBatchRequestEntry.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1596
1618
|
CreateAssociationBatchRequestEntry.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1597
1619
|
CreateAssociationBatchRequestEntry.struct_class = Types::CreateAssociationBatchRequestEntry
|
1598
1620
|
|
@@ -1614,6 +1636,7 @@ module Aws::SSM
|
|
1614
1636
|
CreateAssociationRequest.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
1615
1637
|
CreateAssociationRequest.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
1616
1638
|
CreateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
1639
|
+
CreateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
1617
1640
|
CreateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
1618
1641
|
CreateAssociationRequest.struct_class = Types::CreateAssociationRequest
|
1619
1642
|
|
@@ -1673,6 +1696,7 @@ module Aws::SSM
|
|
1673
1696
|
|
1674
1697
|
CreateOpsMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: OpsMetadataResourceId, required: true, location_name: "ResourceId"))
|
1675
1698
|
CreateOpsMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "Metadata"))
|
1699
|
+
CreateOpsMetadataRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1676
1700
|
CreateOpsMetadataRequest.struct_class = Types::CreateOpsMetadataRequest
|
1677
1701
|
|
1678
1702
|
CreateOpsMetadataResult.add_member(:ops_metadata_arn, Shapes::ShapeRef.new(shape: OpsMetadataArn, location_name: "OpsMetadataArn"))
|
@@ -2093,6 +2117,9 @@ module Aws::SSM
|
|
2093
2117
|
DescribePatchGroupStateResult.add_member(:instances_with_failed_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithFailedPatches"))
|
2094
2118
|
DescribePatchGroupStateResult.add_member(:instances_with_not_applicable_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithNotApplicablePatches"))
|
2095
2119
|
DescribePatchGroupStateResult.add_member(:instances_with_unreported_not_applicable_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithUnreportedNotApplicablePatches", metadata: {"box"=>true}))
|
2120
|
+
DescribePatchGroupStateResult.add_member(:instances_with_critical_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithCriticalNonCompliantPatches", metadata: {"box"=>true}))
|
2121
|
+
DescribePatchGroupStateResult.add_member(:instances_with_security_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithSecurityNonCompliantPatches", metadata: {"box"=>true}))
|
2122
|
+
DescribePatchGroupStateResult.add_member(:instances_with_other_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithOtherNonCompliantPatches", metadata: {"box"=>true}))
|
2096
2123
|
DescribePatchGroupStateResult.struct_class = Types::DescribePatchGroupStateResult
|
2097
2124
|
|
2098
2125
|
DescribePatchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PatchBaselineMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
@@ -2338,6 +2365,7 @@ module Aws::SSM
|
|
2338
2365
|
|
2339
2366
|
GetDeployablePatchSnapshotForInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
2340
2367
|
GetDeployablePatchSnapshotForInstanceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
|
2368
|
+
GetDeployablePatchSnapshotForInstanceRequest.add_member(:baseline_override, Shapes::ShapeRef.new(shape: BaselineOverride, location_name: "BaselineOverride"))
|
2341
2369
|
GetDeployablePatchSnapshotForInstanceRequest.struct_class = Types::GetDeployablePatchSnapshotForInstanceRequest
|
2342
2370
|
|
2343
2371
|
GetDeployablePatchSnapshotForInstanceResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
@@ -2683,6 +2711,9 @@ module Aws::SSM
|
|
2683
2711
|
InstancePatchState.add_member(:operation, Shapes::ShapeRef.new(shape: PatchOperationType, required: true, location_name: "Operation"))
|
2684
2712
|
InstancePatchState.add_member(:last_no_reboot_install_operation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastNoRebootInstallOperationTime"))
|
2685
2713
|
InstancePatchState.add_member(:reboot_option, Shapes::ShapeRef.new(shape: RebootOption, location_name: "RebootOption"))
|
2714
|
+
InstancePatchState.add_member(:critical_non_compliant_count, Shapes::ShapeRef.new(shape: PatchCriticalNonCompliantCount, location_name: "CriticalNonCompliantCount", metadata: {"box"=>true}))
|
2715
|
+
InstancePatchState.add_member(:security_non_compliant_count, Shapes::ShapeRef.new(shape: PatchSecurityNonCompliantCount, location_name: "SecurityNonCompliantCount", metadata: {"box"=>true}))
|
2716
|
+
InstancePatchState.add_member(:other_non_compliant_count, Shapes::ShapeRef.new(shape: PatchOtherNonCompliantCount, location_name: "OtherNonCompliantCount", metadata: {"box"=>true}))
|
2686
2717
|
InstancePatchState.struct_class = Types::InstancePatchState
|
2687
2718
|
|
2688
2719
|
InstancePatchStateFilter.add_member(:key, Shapes::ShapeRef.new(shape: InstancePatchStateFilterKey, required: true, location_name: "Key"))
|
@@ -3869,6 +3900,7 @@ module Aws::SSM
|
|
3869
3900
|
ResourceDataSyncSource.add_member(:aws_organizations_source, Shapes::ShapeRef.new(shape: ResourceDataSyncAwsOrganizationsSource, location_name: "AwsOrganizationsSource"))
|
3870
3901
|
ResourceDataSyncSource.add_member(:source_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegionList, required: true, location_name: "SourceRegions"))
|
3871
3902
|
ResourceDataSyncSource.add_member(:include_future_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncIncludeFutureRegions, location_name: "IncludeFutureRegions"))
|
3903
|
+
ResourceDataSyncSource.add_member(:enable_all_ops_data_sources, Shapes::ShapeRef.new(shape: ResourceDataSyncEnableAllOpsDataSources, location_name: "EnableAllOpsDataSources"))
|
3872
3904
|
ResourceDataSyncSource.struct_class = Types::ResourceDataSyncSource
|
3873
3905
|
|
3874
3906
|
ResourceDataSyncSourceRegionList.member = Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegion)
|
@@ -3878,6 +3910,7 @@ module Aws::SSM
|
|
3878
3910
|
ResourceDataSyncSourceWithState.add_member(:source_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegionList, location_name: "SourceRegions"))
|
3879
3911
|
ResourceDataSyncSourceWithState.add_member(:include_future_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncIncludeFutureRegions, location_name: "IncludeFutureRegions"))
|
3880
3912
|
ResourceDataSyncSourceWithState.add_member(:state, Shapes::ShapeRef.new(shape: ResourceDataSyncState, location_name: "State"))
|
3913
|
+
ResourceDataSyncSourceWithState.add_member(:enable_all_ops_data_sources, Shapes::ShapeRef.new(shape: ResourceDataSyncEnableAllOpsDataSources, location_name: "EnableAllOpsDataSources"))
|
3881
3914
|
ResourceDataSyncSourceWithState.struct_class = Types::ResourceDataSyncSourceWithState
|
3882
3915
|
|
3883
3916
|
ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -4039,6 +4072,8 @@ module Aws::SSM
|
|
4039
4072
|
StartChangeRequestExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
|
4040
4073
|
StartChangeRequestExecutionRequest.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, required: true, location_name: "Runbooks"))
|
4041
4074
|
StartChangeRequestExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
4075
|
+
StartChangeRequestExecutionRequest.add_member(:scheduled_end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledEndTime"))
|
4076
|
+
StartChangeRequestExecutionRequest.add_member(:change_details, Shapes::ShapeRef.new(shape: ChangeDetailsValue, location_name: "ChangeDetails"))
|
4042
4077
|
StartChangeRequestExecutionRequest.struct_class = Types::StartChangeRequestExecutionRequest
|
4043
4078
|
|
4044
4079
|
StartChangeRequestExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
|
@@ -4153,6 +4188,15 @@ module Aws::SSM
|
|
4153
4188
|
TotalSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
4154
4189
|
TotalSizeLimitExceededException.struct_class = Types::TotalSizeLimitExceededException
|
4155
4190
|
|
4191
|
+
UnlabelParameterVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
|
4192
|
+
UnlabelParameterVersionRequest.add_member(:parameter_version, Shapes::ShapeRef.new(shape: PSParameterVersion, required: true, location_name: "ParameterVersion", metadata: {"box"=>true}))
|
4193
|
+
UnlabelParameterVersionRequest.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, required: true, location_name: "Labels"))
|
4194
|
+
UnlabelParameterVersionRequest.struct_class = Types::UnlabelParameterVersionRequest
|
4195
|
+
|
4196
|
+
UnlabelParameterVersionResult.add_member(:removed_labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "RemovedLabels"))
|
4197
|
+
UnlabelParameterVersionResult.add_member(:invalid_labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "InvalidLabels"))
|
4198
|
+
UnlabelParameterVersionResult.struct_class = Types::UnlabelParameterVersionResult
|
4199
|
+
|
4156
4200
|
UnsupportedCalendarException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
4157
4201
|
UnsupportedCalendarException.struct_class = Types::UnsupportedCalendarException
|
4158
4202
|
|
@@ -4190,6 +4234,7 @@ module Aws::SSM
|
|
4190
4234
|
UpdateAssociationRequest.add_member(:compliance_severity, Shapes::ShapeRef.new(shape: AssociationComplianceSeverity, location_name: "ComplianceSeverity"))
|
4191
4235
|
UpdateAssociationRequest.add_member(:sync_compliance, Shapes::ShapeRef.new(shape: AssociationSyncCompliance, location_name: "SyncCompliance"))
|
4192
4236
|
UpdateAssociationRequest.add_member(:apply_only_at_cron_interval, Shapes::ShapeRef.new(shape: ApplyOnlyAtCronInterval, location_name: "ApplyOnlyAtCronInterval"))
|
4237
|
+
UpdateAssociationRequest.add_member(:calendar_names, Shapes::ShapeRef.new(shape: CalendarNameOrARNList, location_name: "CalendarNames"))
|
4193
4238
|
UpdateAssociationRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations"))
|
4194
4239
|
UpdateAssociationRequest.struct_class = Types::UpdateAssociationRequest
|
4195
4240
|
|
@@ -6029,6 +6074,18 @@ module Aws::SSM
|
|
6029
6074
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
6030
6075
|
end)
|
6031
6076
|
|
6077
|
+
api.add_operation(:unlabel_parameter_version, Seahorse::Model::Operation.new.tap do |o|
|
6078
|
+
o.name = "UnlabelParameterVersion"
|
6079
|
+
o.http_method = "POST"
|
6080
|
+
o.http_request_uri = "/"
|
6081
|
+
o.input = Shapes::ShapeRef.new(shape: UnlabelParameterVersionRequest)
|
6082
|
+
o.output = Shapes::ShapeRef.new(shape: UnlabelParameterVersionResult)
|
6083
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
6084
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
|
6085
|
+
o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
|
6086
|
+
o.errors << Shapes::ShapeRef.new(shape: ParameterVersionNotFound)
|
6087
|
+
end)
|
6088
|
+
|
6032
6089
|
api.add_operation(:update_association, Seahorse::Model::Operation.new.tap do |o|
|
6033
6090
|
o.name = "UpdateAssociation"
|
6034
6091
|
o.http_method = "POST"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# WARNING ABOUT GENERATED CODE
|
3
3
|
#
|
4
4
|
# This file is generated. See the contributing for info on making contributions:
|
5
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
5
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
6
6
|
#
|
7
7
|
# WARNING ABOUT GENERATED CODE
|
8
8
|
|
data/lib/aws-sdk-ssm/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ssm/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -100,7 +100,7 @@ module Aws::SSM
|
|
100
100
|
# data as a hash:
|
101
101
|
#
|
102
102
|
# {
|
103
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
103
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
104
104
|
# resource_id: "ResourceId", # required
|
105
105
|
# tags: [ # required
|
106
106
|
# {
|
@@ -132,6 +132,15 @@ module Aws::SSM
|
|
132
132
|
#
|
133
133
|
# PatchBaseline: pb-012345abcde
|
134
134
|
#
|
135
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
136
|
+
# Amazon Resource Name (ARN) for the object. Specifically,
|
137
|
+
# `ResourceID` is created from the strings that come after the word
|
138
|
+
# `opsmetadata` in the ARN. For example, an OpsMetadata object with an
|
139
|
+
# ARN of
|
140
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
141
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
142
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
143
|
+
#
|
135
144
|
# For the Document and Parameter values, use the name of the resource.
|
136
145
|
#
|
137
146
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -143,9 +152,7 @@ module Aws::SSM
|
|
143
152
|
# @return [String]
|
144
153
|
#
|
145
154
|
# @!attribute [rw] tags
|
146
|
-
# One or more tags. The value parameter is required
|
147
|
-
# want the tag to have a value, specify the parameter with no value,
|
148
|
-
# and we set the value to an empty string.
|
155
|
+
# One or more tags. The value parameter is required.
|
149
156
|
#
|
150
157
|
# Do not enter personally identifiable information in this field.
|
151
158
|
# @return [Array<Types::Tag>]
|
@@ -225,7 +232,7 @@ module Aws::SSM
|
|
225
232
|
#
|
226
233
|
# @!attribute [rw] schedule_expression
|
227
234
|
# A cron expression that specifies a schedule when the association
|
228
|
-
# runs.
|
235
|
+
# runs. The schedule runs in Coordinated Universal Time (UTC).
|
229
236
|
# @return [String]
|
230
237
|
#
|
231
238
|
# @!attribute [rw] association_name
|
@@ -388,6 +395,17 @@ module Aws::SSM
|
|
388
395
|
# supported for rate expressions.
|
389
396
|
# @return [Boolean]
|
390
397
|
#
|
398
|
+
# @!attribute [rw] calendar_names
|
399
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
400
|
+
# Change Calendar type documents your associations are gated under.
|
401
|
+
# The associations only run when that Change Calendar is open. For
|
402
|
+
# more information, see [AWS Systems Manager Change Calendar][1].
|
403
|
+
#
|
404
|
+
#
|
405
|
+
#
|
406
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
407
|
+
# @return [Array<String>]
|
408
|
+
#
|
391
409
|
# @!attribute [rw] target_locations
|
392
410
|
# The combination of AWS Regions and AWS accounts where you want to
|
393
411
|
# run the association.
|
@@ -418,6 +436,7 @@ module Aws::SSM
|
|
418
436
|
:compliance_severity,
|
419
437
|
:sync_compliance,
|
420
438
|
:apply_only_at_cron_interval,
|
439
|
+
:calendar_names,
|
421
440
|
:target_locations)
|
422
441
|
SENSITIVE = []
|
423
442
|
include Aws::Structure
|
@@ -825,6 +844,18 @@ module Aws::SSM
|
|
825
844
|
# supported for rate expressions.
|
826
845
|
# @return [Boolean]
|
827
846
|
#
|
847
|
+
# @!attribute [rw] calendar_names
|
848
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
849
|
+
# Change Calendar type documents your associations are gated under.
|
850
|
+
# The associations for this version only run when that Change Calendar
|
851
|
+
# is open. For more information, see [AWS Systems Manager Change
|
852
|
+
# Calendar][1].
|
853
|
+
#
|
854
|
+
#
|
855
|
+
#
|
856
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
857
|
+
# @return [Array<String>]
|
858
|
+
#
|
828
859
|
# @!attribute [rw] target_locations
|
829
860
|
# The combination of AWS Regions and AWS accounts where you wanted to
|
830
861
|
# run the association when this association version was created.
|
@@ -848,6 +879,7 @@ module Aws::SSM
|
|
848
879
|
:compliance_severity,
|
849
880
|
:sync_compliance,
|
850
881
|
:apply_only_at_cron_interval,
|
882
|
+
:calendar_names,
|
851
883
|
:target_locations)
|
852
884
|
SENSITIVE = []
|
853
885
|
include Aws::Structure
|
@@ -1449,6 +1481,132 @@ module Aws::SSM
|
|
1449
1481
|
include Aws::Structure
|
1450
1482
|
end
|
1451
1483
|
|
1484
|
+
# Defines the basic information about a patch baseline override.
|
1485
|
+
#
|
1486
|
+
# @note When making an API call, you may pass BaselineOverride
|
1487
|
+
# data as a hash:
|
1488
|
+
#
|
1489
|
+
# {
|
1490
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
1491
|
+
# global_filters: {
|
1492
|
+
# patch_filters: [ # required
|
1493
|
+
# {
|
1494
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
1495
|
+
# values: ["PatchFilterValue"], # required
|
1496
|
+
# },
|
1497
|
+
# ],
|
1498
|
+
# },
|
1499
|
+
# approval_rules: {
|
1500
|
+
# patch_rules: [ # required
|
1501
|
+
# {
|
1502
|
+
# patch_filter_group: { # required
|
1503
|
+
# patch_filters: [ # required
|
1504
|
+
# {
|
1505
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
1506
|
+
# values: ["PatchFilterValue"], # required
|
1507
|
+
# },
|
1508
|
+
# ],
|
1509
|
+
# },
|
1510
|
+
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
1511
|
+
# approve_after_days: 1,
|
1512
|
+
# approve_until_date: "PatchStringDateTime",
|
1513
|
+
# enable_non_security: false,
|
1514
|
+
# },
|
1515
|
+
# ],
|
1516
|
+
# },
|
1517
|
+
# approved_patches: ["PatchId"],
|
1518
|
+
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
1519
|
+
# rejected_patches: ["PatchId"],
|
1520
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
1521
|
+
# approved_patches_enable_non_security: false,
|
1522
|
+
# sources: [
|
1523
|
+
# {
|
1524
|
+
# name: "PatchSourceName", # required
|
1525
|
+
# products: ["PatchSourceProduct"], # required
|
1526
|
+
# configuration: "PatchSourceConfiguration", # required
|
1527
|
+
# },
|
1528
|
+
# ],
|
1529
|
+
# }
|
1530
|
+
#
|
1531
|
+
# @!attribute [rw] operating_system
|
1532
|
+
# The operating system rule used by the patch baseline override.
|
1533
|
+
# @return [String]
|
1534
|
+
#
|
1535
|
+
# @!attribute [rw] global_filters
|
1536
|
+
# A set of patch filters, typically used for approval rules.
|
1537
|
+
# @return [Types::PatchFilterGroup]
|
1538
|
+
#
|
1539
|
+
# @!attribute [rw] approval_rules
|
1540
|
+
# A set of rules defining the approval rules for a patch baseline.
|
1541
|
+
# @return [Types::PatchRuleGroup]
|
1542
|
+
#
|
1543
|
+
# @!attribute [rw] approved_patches
|
1544
|
+
# A list of explicitly approved patches for the baseline.
|
1545
|
+
#
|
1546
|
+
# For information about accepted formats for lists of approved patches
|
1547
|
+
# and rejected patches, see [About package name formats for approved
|
1548
|
+
# and rejected patch lists][1] in the *AWS Systems Manager User
|
1549
|
+
# Guide*.
|
1550
|
+
#
|
1551
|
+
#
|
1552
|
+
#
|
1553
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1554
|
+
# @return [Array<String>]
|
1555
|
+
#
|
1556
|
+
# @!attribute [rw] approved_patches_compliance_level
|
1557
|
+
# Defines the compliance level for approved patches. When an approved
|
1558
|
+
# patch is reported as missing, this value describes the severity of
|
1559
|
+
# the compliance violation.
|
1560
|
+
# @return [String]
|
1561
|
+
#
|
1562
|
+
# @!attribute [rw] rejected_patches
|
1563
|
+
# A list of explicitly rejected patches for the baseline.
|
1564
|
+
#
|
1565
|
+
# For information about accepted formats for lists of approved patches
|
1566
|
+
# and rejected patches, see [About package name formats for approved
|
1567
|
+
# and rejected patch lists][1] in the *AWS Systems Manager User
|
1568
|
+
# Guide*.
|
1569
|
+
#
|
1570
|
+
#
|
1571
|
+
#
|
1572
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
|
1573
|
+
# @return [Array<String>]
|
1574
|
+
#
|
1575
|
+
# @!attribute [rw] rejected_patches_action
|
1576
|
+
# The action for Patch Manager to take on patches included in the
|
1577
|
+
# RejectedPackages list. A patch can be allowed only if it is a
|
1578
|
+
# dependency of another package, or blocked entirely along with
|
1579
|
+
# packages that include it as a dependency.
|
1580
|
+
# @return [String]
|
1581
|
+
#
|
1582
|
+
# @!attribute [rw] approved_patches_enable_non_security
|
1583
|
+
# Indicates whether the list of approved patches includes non-security
|
1584
|
+
# updates that should be applied to the instances. The default value
|
1585
|
+
# is 'false'. Applies to Linux instances only.
|
1586
|
+
# @return [Boolean]
|
1587
|
+
#
|
1588
|
+
# @!attribute [rw] sources
|
1589
|
+
# Information about the patches to use to update the instances,
|
1590
|
+
# including target operating systems and source repositories. Applies
|
1591
|
+
# to Linux instances only.
|
1592
|
+
# @return [Array<Types::PatchSource>]
|
1593
|
+
#
|
1594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/BaselineOverride AWS API Documentation
|
1595
|
+
#
|
1596
|
+
class BaselineOverride < Struct.new(
|
1597
|
+
:operating_system,
|
1598
|
+
:global_filters,
|
1599
|
+
:approval_rules,
|
1600
|
+
:approved_patches,
|
1601
|
+
:approved_patches_compliance_level,
|
1602
|
+
:rejected_patches,
|
1603
|
+
:rejected_patches_action,
|
1604
|
+
:approved_patches_enable_non_security,
|
1605
|
+
:sources)
|
1606
|
+
SENSITIVE = []
|
1607
|
+
include Aws::Structure
|
1608
|
+
end
|
1609
|
+
|
1452
1610
|
# @note When making an API call, you may pass CancelCommandRequest
|
1453
1611
|
# data as a hash:
|
1454
1612
|
#
|
@@ -2440,8 +2598,10 @@ module Aws::SSM
|
|
2440
2598
|
# @return [Integer]
|
2441
2599
|
#
|
2442
2600
|
# @!attribute [rw] expiration_date
|
2443
|
-
# The date by which this activation request should expire
|
2444
|
-
#
|
2601
|
+
# The date by which this activation request should expire, in
|
2602
|
+
# timestamp format, such as "2021-07-07T00:00:00". You can specify a
|
2603
|
+
# date up to 30 days in advance. If you don't provide an expiration
|
2604
|
+
# date, the activation code expires in 24 hours.
|
2445
2605
|
# @return [Time]
|
2446
2606
|
#
|
2447
2607
|
# @!attribute [rw] tags
|
@@ -2537,6 +2697,7 @@ module Aws::SSM
|
|
2537
2697
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
2538
2698
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
2539
2699
|
# apply_only_at_cron_interval: false,
|
2700
|
+
# calendar_names: ["CalendarNameOrARN"],
|
2540
2701
|
# target_locations: [
|
2541
2702
|
# {
|
2542
2703
|
# accounts: ["Account"],
|
@@ -2596,6 +2757,7 @@ module Aws::SSM
|
|
2596
2757
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
2597
2758
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
2598
2759
|
# apply_only_at_cron_interval: false,
|
2760
|
+
# calendar_names: ["CalendarNameOrARN"],
|
2599
2761
|
# target_locations: [
|
2600
2762
|
# {
|
2601
2763
|
# accounts: ["Account"],
|
@@ -2724,6 +2886,17 @@ module Aws::SSM
|
|
2724
2886
|
# supported for rate expressions.
|
2725
2887
|
# @return [Boolean]
|
2726
2888
|
#
|
2889
|
+
# @!attribute [rw] calendar_names
|
2890
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
2891
|
+
# Change Calendar type documents your associations are gated under.
|
2892
|
+
# The associations only run when that Change Calendar is open. For
|
2893
|
+
# more information, see [AWS Systems Manager Change Calendar][1].
|
2894
|
+
#
|
2895
|
+
#
|
2896
|
+
#
|
2897
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
2898
|
+
# @return [Array<String>]
|
2899
|
+
#
|
2727
2900
|
# @!attribute [rw] target_locations
|
2728
2901
|
# Use this action to create an association in multiple Regions and
|
2729
2902
|
# multiple accounts.
|
@@ -2746,6 +2919,7 @@ module Aws::SSM
|
|
2746
2919
|
:compliance_severity,
|
2747
2920
|
:sync_compliance,
|
2748
2921
|
:apply_only_at_cron_interval,
|
2922
|
+
:calendar_names,
|
2749
2923
|
:target_locations)
|
2750
2924
|
SENSITIVE = []
|
2751
2925
|
include Aws::Structure
|
@@ -2799,6 +2973,7 @@ module Aws::SSM
|
|
2799
2973
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
2800
2974
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
2801
2975
|
# apply_only_at_cron_interval: false,
|
2976
|
+
# calendar_names: ["CalendarNameOrARN"],
|
2802
2977
|
# target_locations: [
|
2803
2978
|
# {
|
2804
2979
|
# accounts: ["Account"],
|
@@ -2941,13 +3116,24 @@ module Aws::SSM
|
|
2941
3116
|
# @return [String]
|
2942
3117
|
#
|
2943
3118
|
# @!attribute [rw] apply_only_at_cron_interval
|
2944
|
-
# By default, when you create a new
|
3119
|
+
# By default, when you create a new association, the system runs it
|
2945
3120
|
# immediately after it is created and then according to the schedule
|
2946
3121
|
# you specified. Specify this option if you don't want an association
|
2947
3122
|
# to run immediately after you create it. This parameter is not
|
2948
3123
|
# supported for rate expressions.
|
2949
3124
|
# @return [Boolean]
|
2950
3125
|
#
|
3126
|
+
# @!attribute [rw] calendar_names
|
3127
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
3128
|
+
# Change Calendar type documents you want to gate your associations
|
3129
|
+
# under. The associations only run when that Change Calendar is open.
|
3130
|
+
# For more information, see [AWS Systems Manager Change Calendar][1].
|
3131
|
+
#
|
3132
|
+
#
|
3133
|
+
#
|
3134
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
3135
|
+
# @return [Array<String>]
|
3136
|
+
#
|
2951
3137
|
# @!attribute [rw] target_locations
|
2952
3138
|
# A location is a combination of AWS Regions and AWS accounts where
|
2953
3139
|
# you want to run the association. Use this action to create an
|
@@ -2971,6 +3157,7 @@ module Aws::SSM
|
|
2971
3157
|
:compliance_severity,
|
2972
3158
|
:sync_compliance,
|
2973
3159
|
:apply_only_at_cron_interval,
|
3160
|
+
:calendar_names,
|
2974
3161
|
:target_locations)
|
2975
3162
|
SENSITIVE = []
|
2976
3163
|
include Aws::Structure
|
@@ -3506,6 +3693,12 @@ module Aws::SSM
|
|
3506
3693
|
# value: "MetadataValueString",
|
3507
3694
|
# },
|
3508
3695
|
# },
|
3696
|
+
# tags: [
|
3697
|
+
# {
|
3698
|
+
# key: "TagKey", # required
|
3699
|
+
# value: "TagValue", # required
|
3700
|
+
# },
|
3701
|
+
# ],
|
3509
3702
|
# }
|
3510
3703
|
#
|
3511
3704
|
# @!attribute [rw] resource_id
|
@@ -3516,11 +3709,25 @@ module Aws::SSM
|
|
3516
3709
|
# Metadata for a new Application Manager application.
|
3517
3710
|
# @return [Hash<String,Types::MetadataValue>]
|
3518
3711
|
#
|
3712
|
+
# @!attribute [rw] tags
|
3713
|
+
# Optional metadata that you assign to a resource. You can specify a
|
3714
|
+
# maximum of five tags for an OpsMetadata object. Tags enable you to
|
3715
|
+
# categorize a resource in different ways, such as by purpose, owner,
|
3716
|
+
# or environment. For example, you might want to tag an OpsMetadata
|
3717
|
+
# object to identify an environment or target AWS Region. In this
|
3718
|
+
# case, you could specify the following key-value pairs:
|
3719
|
+
#
|
3720
|
+
# * `Key=Environment,Value=Production`
|
3721
|
+
#
|
3722
|
+
# * `Key=Region,Value=us-east-2`
|
3723
|
+
# @return [Array<Types::Tag>]
|
3724
|
+
#
|
3519
3725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataRequest AWS API Documentation
|
3520
3726
|
#
|
3521
3727
|
class CreateOpsMetadataRequest < Struct.new(
|
3522
3728
|
:resource_id,
|
3523
|
-
:metadata
|
3729
|
+
:metadata,
|
3730
|
+
:tags)
|
3524
3731
|
SENSITIVE = []
|
3525
3732
|
include Aws::Structure
|
3526
3733
|
end
|
@@ -3623,8 +3830,8 @@ module Aws::SSM
|
|
3623
3830
|
# @return [Array<String>]
|
3624
3831
|
#
|
3625
3832
|
# @!attribute [rw] approved_patches_compliance_level
|
3626
|
-
# Defines the compliance level for approved patches.
|
3627
|
-
#
|
3833
|
+
# Defines the compliance level for approved patches. When an approved
|
3834
|
+
# patch is reported as missing, this value describes the severity of
|
3628
3835
|
# the compliance violation. The default value is UNSPECIFIED.
|
3629
3836
|
# @return [String]
|
3630
3837
|
#
|
@@ -3759,6 +3966,7 @@ module Aws::SSM
|
|
3759
3966
|
# },
|
3760
3967
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
3761
3968
|
# include_future_regions: false,
|
3969
|
+
# enable_all_ops_data_sources: false,
|
3762
3970
|
# },
|
3763
3971
|
# }
|
3764
3972
|
#
|
@@ -4724,7 +4932,7 @@ module Aws::SSM
|
|
4724
4932
|
#
|
4725
4933
|
# @!attribute [rw] reverse_order
|
4726
4934
|
# A boolean that indicates whether to list step executions in reverse
|
4727
|
-
# order by start time. The default value is false.
|
4935
|
+
# order by start time. The default value is 'false'.
|
4728
4936
|
# @return [Boolean]
|
4729
4937
|
#
|
4730
4938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsRequest AWS API Documentation
|
@@ -6273,6 +6481,28 @@ module Aws::SSM
|
|
6273
6481
|
# Inventory.
|
6274
6482
|
# @return [Integer]
|
6275
6483
|
#
|
6484
|
+
# @!attribute [rw] instances_with_critical_non_compliant_patches
|
6485
|
+
# The number of instances where patches that are specified as
|
6486
|
+
# "Critical" for compliance reporting in the patch baseline are not
|
6487
|
+
# installed. These patches might be missing, have failed installation,
|
6488
|
+
# were rejected, or were installed but awaiting a required instance
|
6489
|
+
# reboot. The status of these instances is `NON_COMPLIANT`.
|
6490
|
+
# @return [Integer]
|
6491
|
+
#
|
6492
|
+
# @!attribute [rw] instances_with_security_non_compliant_patches
|
6493
|
+
# The number of instances where patches that are specified as
|
6494
|
+
# "Security" in a patch advisory are not installed. These patches
|
6495
|
+
# might be missing, have failed installation, were rejected, or were
|
6496
|
+
# installed but awaiting a required instance reboot. The status of
|
6497
|
+
# these instances is `NON_COMPLIANT`.
|
6498
|
+
# @return [Integer]
|
6499
|
+
#
|
6500
|
+
# @!attribute [rw] instances_with_other_non_compliant_patches
|
6501
|
+
# The number of instances with patches installed that are specified as
|
6502
|
+
# other than "Critical" or "Security" but are not compliant with
|
6503
|
+
# the patch baseline. The status of these instances is NON\_COMPLIANT.
|
6504
|
+
# @return [Integer]
|
6505
|
+
#
|
6276
6506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateResult AWS API Documentation
|
6277
6507
|
#
|
6278
6508
|
class DescribePatchGroupStateResult < Struct.new(
|
@@ -6284,7 +6514,10 @@ module Aws::SSM
|
|
6284
6514
|
:instances_with_missing_patches,
|
6285
6515
|
:instances_with_failed_patches,
|
6286
6516
|
:instances_with_not_applicable_patches,
|
6287
|
-
:instances_with_unreported_not_applicable_patches
|
6517
|
+
:instances_with_unreported_not_applicable_patches,
|
6518
|
+
:instances_with_critical_non_compliant_patches,
|
6519
|
+
:instances_with_security_non_compliant_patches,
|
6520
|
+
:instances_with_other_non_compliant_patches)
|
6288
6521
|
SENSITIVE = []
|
6289
6522
|
include Aws::Structure
|
6290
6523
|
end
|
@@ -7473,17 +7706,26 @@ module Aws::SSM
|
|
7473
7706
|
#
|
7474
7707
|
# @!attribute [rw] instance_id
|
7475
7708
|
# (Required) The ID of the managed instance targeted by the command. A
|
7476
|
-
# managed instance can be an
|
7477
|
-
# hybrid environment that is
|
7709
|
+
# managed instance can be an Amazon Elastic Compute Cloud (Amazon EC2)
|
7710
|
+
# instance or an instance in your hybrid environment that is
|
7711
|
+
# configured for AWS Systems Manager.
|
7478
7712
|
# @return [String]
|
7479
7713
|
#
|
7480
7714
|
# @!attribute [rw] plugin_name
|
7481
|
-
#
|
7482
|
-
#
|
7483
|
-
#
|
7715
|
+
# The name of the plugin for which you want detailed results. If the
|
7716
|
+
# document contains only one plugin, you can omit the name and details
|
7717
|
+
# for that plugin. If the document contains more than one plugin, you
|
7718
|
+
# must specify the name of the plugin for which you want to view
|
7719
|
+
# details.
|
7484
7720
|
#
|
7485
|
-
# Plugin names are also referred to as step names in Systems Manager
|
7486
|
-
# documents.
|
7721
|
+
# Plugin names are also referred to as *step names* in Systems Manager
|
7722
|
+
# documents. For example, `aws:RunShellScript` is a plugin.
|
7723
|
+
#
|
7724
|
+
# To find the `PluginName`, check the document content and find the
|
7725
|
+
# name of the plugin. Alternatively, use ListCommandInvocations with
|
7726
|
+
# the `CommandId` and `Details` parameters. The `PluginName` is the
|
7727
|
+
# `Name` attribute of the `CommandPlugin` object in the
|
7728
|
+
# `CommandPlugins` list.
|
7487
7729
|
# @return [String]
|
7488
7730
|
#
|
7489
7731
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
|
@@ -7512,7 +7754,7 @@ module Aws::SSM
|
|
7512
7754
|
#
|
7513
7755
|
# @!attribute [rw] document_name
|
7514
7756
|
# The name of the document that was run. For example,
|
7515
|
-
# AWS-RunShellScript
|
7757
|
+
# `AWS-RunShellScript`.
|
7516
7758
|
# @return [String]
|
7517
7759
|
#
|
7518
7760
|
# @!attribute [rw] document_version
|
@@ -7520,13 +7762,13 @@ module Aws::SSM
|
|
7520
7762
|
# @return [String]
|
7521
7763
|
#
|
7522
7764
|
# @!attribute [rw] plugin_name
|
7523
|
-
# The name of the plugin
|
7524
|
-
# example, aws:RunShellScript is a plugin.
|
7765
|
+
# The name of the plugin, or *step name*, for which details are
|
7766
|
+
# reported. For example, `aws:RunShellScript` is a plugin.
|
7525
7767
|
# @return [String]
|
7526
7768
|
#
|
7527
7769
|
# @!attribute [rw] response_code
|
7528
7770
|
# The error level response code for the plugin script. If the response
|
7529
|
-
# code is
|
7771
|
+
# code is `-1`, then the command has not started running on the
|
7530
7772
|
# instance, or it was not received by the instance.
|
7531
7773
|
# @return [Integer]
|
7532
7774
|
#
|
@@ -7543,11 +7785,11 @@ module Aws::SSM
|
|
7543
7785
|
# @return [String]
|
7544
7786
|
#
|
7545
7787
|
# @!attribute [rw] execution_elapsed_time
|
7546
|
-
# Duration since ExecutionStartDateTime
|
7788
|
+
# Duration since `ExecutionStartDateTime`.
|
7547
7789
|
# @return [String]
|
7548
7790
|
#
|
7549
7791
|
# @!attribute [rw] execution_end_date_time
|
7550
|
-
# The date and time the plugin
|
7792
|
+
# The date and time the plugin finished running. Date and time are
|
7551
7793
|
# written in ISO 8601 format. For example, June 7, 2017 is represented
|
7552
7794
|
# as 2017-06-7. The following sample AWS CLI command uses the
|
7553
7795
|
# `InvokedAfter` filter.
|
@@ -7560,17 +7802,17 @@ module Aws::SSM
|
|
7560
7802
|
#
|
7561
7803
|
# @!attribute [rw] status
|
7562
7804
|
# The status of this invocation plugin. This status can be different
|
7563
|
-
# than StatusDetails
|
7805
|
+
# than `StatusDetails`.
|
7564
7806
|
# @return [String]
|
7565
7807
|
#
|
7566
7808
|
# @!attribute [rw] status_details
|
7567
7809
|
# A detailed status of the command execution for an invocation.
|
7568
|
-
# StatusDetails includes more information than Status because it
|
7810
|
+
# `StatusDetails` includes more information than `Status` because it
|
7569
7811
|
# includes states resulting from error and concurrency control
|
7570
|
-
# parameters. StatusDetails can show different results than
|
7571
|
-
# For more information about these statuses, see
|
7572
|
-
# command statuses][1] in the *AWS Systems Manager User
|
7573
|
-
# StatusDetails can be one of the following values:
|
7812
|
+
# parameters. `StatusDetails` can show different results than
|
7813
|
+
# `Status`. For more information about these statuses, see
|
7814
|
+
# [Understanding command statuses][1] in the *AWS Systems Manager User
|
7815
|
+
# Guide*. `StatusDetails` can be one of the following values:
|
7574
7816
|
#
|
7575
7817
|
# * Pending: The command has not been sent to the instance.
|
7576
7818
|
#
|
@@ -7588,20 +7830,20 @@ module Aws::SSM
|
|
7588
7830
|
#
|
7589
7831
|
# * Delivery Timed Out: The command was not delivered to the instance
|
7590
7832
|
# before the delivery timeout expired. Delivery timeouts do not
|
7591
|
-
# count against the parent command's MaxErrors limit, but they do
|
7833
|
+
# count against the parent command's `MaxErrors` limit, but they do
|
7592
7834
|
# contribute to whether the parent command status is Success or
|
7593
7835
|
# Incomplete. This is a terminal state.
|
7594
7836
|
#
|
7595
7837
|
# * Execution Timed Out: The command started to run on the instance,
|
7596
7838
|
# but the execution was not complete before the timeout expired.
|
7597
|
-
# Execution timeouts count against the MaxErrors limit of the
|
7598
|
-
# command. This is a terminal state.
|
7839
|
+
# Execution timeouts count against the `MaxErrors` limit of the
|
7840
|
+
# parent command. This is a terminal state.
|
7599
7841
|
#
|
7600
7842
|
# * Failed: The command wasn't run successfully on the instance. For
|
7601
7843
|
# a plugin, this indicates that the result code was not zero. For a
|
7602
7844
|
# command invocation, this indicates that the result code for one or
|
7603
7845
|
# more plugins was not zero. Invocation failures count against the
|
7604
|
-
# MaxErrors limit of the parent command. This is a terminal state.
|
7846
|
+
# `MaxErrors` limit of the parent command. This is a terminal state.
|
7605
7847
|
#
|
7606
7848
|
# * Canceled: The command was terminated before it was completed. This
|
7607
7849
|
# is a terminal state.
|
@@ -7609,11 +7851,11 @@ module Aws::SSM
|
|
7609
7851
|
# * Undeliverable: The command can't be delivered to the instance.
|
7610
7852
|
# The instance might not exist or might not be responding.
|
7611
7853
|
# Undeliverable invocations don't count against the parent
|
7612
|
-
# command's MaxErrors limit and don't contribute to whether the
|
7854
|
+
# command's `MaxErrors` limit and don't contribute to whether the
|
7613
7855
|
# parent command status is Success or Incomplete. This is a terminal
|
7614
7856
|
# state.
|
7615
7857
|
#
|
7616
|
-
# * Terminated: The parent command exceeded its MaxErrors limit and
|
7858
|
+
# * Terminated: The parent command exceeded its `MaxErrors` limit and
|
7617
7859
|
# subsequent command invocations were canceled by the system. This
|
7618
7860
|
# is a terminal state.
|
7619
7861
|
#
|
@@ -7623,24 +7865,24 @@ module Aws::SSM
|
|
7623
7865
|
# @return [String]
|
7624
7866
|
#
|
7625
7867
|
# @!attribute [rw] standard_output_content
|
7626
|
-
# The first 24,000 characters written by the plugin to stdout
|
7627
|
-
# command has not finished running, if ExecutionStatus is
|
7628
|
-
# Succeeded nor Failed, then this string is empty.
|
7868
|
+
# The first 24,000 characters written by the plugin to `stdout`. If
|
7869
|
+
# the command has not finished running, if `ExecutionStatus` is
|
7870
|
+
# neither Succeeded nor Failed, then this string is empty.
|
7629
7871
|
# @return [String]
|
7630
7872
|
#
|
7631
7873
|
# @!attribute [rw] standard_output_url
|
7632
|
-
# The URL for the complete text written by the plugin to stdout in
|
7633
|
-
# Amazon S3. If an S3 bucket was not
|
7634
|
-
# empty.
|
7874
|
+
# The URL for the complete text written by the plugin to `stdout` in
|
7875
|
+
# Amazon Simple Storage Service (Amazon S3). If an S3 bucket was not
|
7876
|
+
# specified, then this string is empty.
|
7635
7877
|
# @return [String]
|
7636
7878
|
#
|
7637
7879
|
# @!attribute [rw] standard_error_content
|
7638
|
-
# The first 8,000 characters written by the plugin to stderr
|
7880
|
+
# The first 8,000 characters written by the plugin to `stderr`. If the
|
7639
7881
|
# command has not finished running, then this string is empty.
|
7640
7882
|
# @return [String]
|
7641
7883
|
#
|
7642
7884
|
# @!attribute [rw] standard_error_url
|
7643
|
-
# The URL for the complete text written by the plugin to stderr
|
7885
|
+
# The URL for the complete text written by the plugin to `stderr`. If
|
7644
7886
|
# the command has not finished running, then this string is empty.
|
7645
7887
|
# @return [String]
|
7646
7888
|
#
|
@@ -7753,6 +7995,47 @@ module Aws::SSM
|
|
7753
7995
|
# {
|
7754
7996
|
# instance_id: "InstanceId", # required
|
7755
7997
|
# snapshot_id: "SnapshotId", # required
|
7998
|
+
# baseline_override: {
|
7999
|
+
# operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
|
8000
|
+
# global_filters: {
|
8001
|
+
# patch_filters: [ # required
|
8002
|
+
# {
|
8003
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
8004
|
+
# values: ["PatchFilterValue"], # required
|
8005
|
+
# },
|
8006
|
+
# ],
|
8007
|
+
# },
|
8008
|
+
# approval_rules: {
|
8009
|
+
# patch_rules: [ # required
|
8010
|
+
# {
|
8011
|
+
# patch_filter_group: { # required
|
8012
|
+
# patch_filters: [ # required
|
8013
|
+
# {
|
8014
|
+
# key: "ARCH", # required, accepts ARCH, ADVISORY_ID, BUGZILLA_ID, PATCH_SET, PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, CVE_ID, EPOCH, MSRC_SEVERITY, NAME, PATCH_ID, SECTION, PRIORITY, REPOSITORY, RELEASE, SEVERITY, SECURITY, VERSION
|
8015
|
+
# values: ["PatchFilterValue"], # required
|
8016
|
+
# },
|
8017
|
+
# ],
|
8018
|
+
# },
|
8019
|
+
# compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
8020
|
+
# approve_after_days: 1,
|
8021
|
+
# approve_until_date: "PatchStringDateTime",
|
8022
|
+
# enable_non_security: false,
|
8023
|
+
# },
|
8024
|
+
# ],
|
8025
|
+
# },
|
8026
|
+
# approved_patches: ["PatchId"],
|
8027
|
+
# approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
|
8028
|
+
# rejected_patches: ["PatchId"],
|
8029
|
+
# rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
|
8030
|
+
# approved_patches_enable_non_security: false,
|
8031
|
+
# sources: [
|
8032
|
+
# {
|
8033
|
+
# name: "PatchSourceName", # required
|
8034
|
+
# products: ["PatchSourceProduct"], # required
|
8035
|
+
# configuration: "PatchSourceConfiguration", # required
|
8036
|
+
# },
|
8037
|
+
# ],
|
8038
|
+
# },
|
7756
8039
|
# }
|
7757
8040
|
#
|
7758
8041
|
# @!attribute [rw] instance_id
|
@@ -7764,11 +8047,16 @@ module Aws::SSM
|
|
7764
8047
|
# The user-defined snapshot ID.
|
7765
8048
|
# @return [String]
|
7766
8049
|
#
|
8050
|
+
# @!attribute [rw] baseline_override
|
8051
|
+
# Defines the basic information about a patch baseline override.
|
8052
|
+
# @return [Types::BaselineOverride]
|
8053
|
+
#
|
7767
8054
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceRequest AWS API Documentation
|
7768
8055
|
#
|
7769
8056
|
class GetDeployablePatchSnapshotForInstanceRequest < Struct.new(
|
7770
8057
|
:instance_id,
|
7771
|
-
:snapshot_id
|
8058
|
+
:snapshot_id,
|
8059
|
+
:baseline_override)
|
7772
8060
|
SENSITIVE = []
|
7773
8061
|
include Aws::Structure
|
7774
8062
|
end
|
@@ -9227,6 +9515,8 @@ module Aws::SSM
|
|
9227
9515
|
#
|
9228
9516
|
# @!attribute [rw] setting_id
|
9229
9517
|
# The ID of the service setting to get. The setting ID can be
|
9518
|
+
# `/ssm/automation/customer-script-log-destination`,
|
9519
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
9230
9520
|
# `/ssm/parameter-store/default-parameter-tier`,
|
9231
9521
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
9232
9522
|
# `/ssm/managed-instance/activation-tier`.
|
@@ -9380,6 +9670,14 @@ module Aws::SSM
|
|
9380
9670
|
|
9381
9671
|
# An S3 bucket where you want to store the results of this request.
|
9382
9672
|
#
|
9673
|
+
# For the minimal permissions required to enable Amazon S3 output for an
|
9674
|
+
# association, see [Creating associations][1] in the *Systems Manager
|
9675
|
+
# User Guide*.
|
9676
|
+
#
|
9677
|
+
#
|
9678
|
+
#
|
9679
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-state-assoc.html
|
9680
|
+
#
|
9383
9681
|
# @note When making an API call, you may pass InstanceAssociationOutputLocation
|
9384
9682
|
# data as a hash:
|
9385
9683
|
#
|
@@ -9684,6 +9982,11 @@ module Aws::SSM
|
|
9684
9982
|
#
|
9685
9983
|
# "InstanceIds"\|"AgentVersion"\|"PingStatus"\|"PlatformTypes"\|"ActivationIds"\|"IamRole"\|"ResourceType"\|"AssociationStatus"\|"Tag
|
9686
9984
|
# Key"
|
9985
|
+
#
|
9986
|
+
# `Tag key` is not a valid filter. You must specify either `tag-key`
|
9987
|
+
# or `tag:keyname` and a string. Here are some valid examples:
|
9988
|
+
# tag-key, tag:123, tag:al!, tag:Windows. Here are some *invalid*
|
9989
|
+
# examples: tag-keys, Tag Key, tag:, tagKey, abc:keyname.
|
9687
9990
|
# @return [String]
|
9688
9991
|
#
|
9689
9992
|
# @!attribute [rw] values
|
@@ -9834,6 +10137,28 @@ module Aws::SSM
|
|
9834
10137
|
# patches might not be in effect until a reboot is performed.
|
9835
10138
|
# @return [String]
|
9836
10139
|
#
|
10140
|
+
# @!attribute [rw] critical_non_compliant_count
|
10141
|
+
# The number of instances where patches that are specified as
|
10142
|
+
# "Critical" for compliance reporting in the patch baseline are not
|
10143
|
+
# installed. These patches might be missing, have failed installation,
|
10144
|
+
# were rejected, or were installed but awaiting a required instance
|
10145
|
+
# reboot. The status of these instances is `NON_COMPLIANT`.
|
10146
|
+
# @return [Integer]
|
10147
|
+
#
|
10148
|
+
# @!attribute [rw] security_non_compliant_count
|
10149
|
+
# The number of instances where patches that are specified as
|
10150
|
+
# "Security" in a patch advisory are not installed. These patches
|
10151
|
+
# might be missing, have failed installation, were rejected, or were
|
10152
|
+
# installed but awaiting a required instance reboot. The status of
|
10153
|
+
# these instances is `NON_COMPLIANT`.
|
10154
|
+
# @return [Integer]
|
10155
|
+
#
|
10156
|
+
# @!attribute [rw] other_non_compliant_count
|
10157
|
+
# The number of instances with patches installed that are specified as
|
10158
|
+
# other than "Critical" or "Security" but are not compliant with
|
10159
|
+
# the patch baseline. The status of these instances is NON\_COMPLIANT.
|
10160
|
+
# @return [Integer]
|
10161
|
+
#
|
9837
10162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchState AWS API Documentation
|
9838
10163
|
#
|
9839
10164
|
class InstancePatchState < Struct.new(
|
@@ -9855,7 +10180,10 @@ module Aws::SSM
|
|
9855
10180
|
:operation_end_time,
|
9856
10181
|
:operation,
|
9857
10182
|
:last_no_reboot_install_operation_time,
|
9858
|
-
:reboot_option
|
10183
|
+
:reboot_option,
|
10184
|
+
:critical_non_compliant_count,
|
10185
|
+
:security_non_compliant_count,
|
10186
|
+
:other_non_compliant_count)
|
9859
10187
|
SENSITIVE = [:owner_information]
|
9860
10188
|
include Aws::Structure
|
9861
10189
|
end
|
@@ -11226,7 +11554,7 @@ module Aws::SSM
|
|
11226
11554
|
#
|
11227
11555
|
# @!attribute [rw] details
|
11228
11556
|
# (Optional) If set this returns the response of the command
|
11229
|
-
# executions and any command output.
|
11557
|
+
# executions and any command output. The default value is 'false'.
|
11230
11558
|
# @return [Boolean]
|
11231
11559
|
#
|
11232
11560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsRequest AWS API Documentation
|
@@ -12019,7 +12347,7 @@ module Aws::SSM
|
|
12019
12347
|
# data as a hash:
|
12020
12348
|
#
|
12021
12349
|
# {
|
12022
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
12350
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
12023
12351
|
# resource_id: "ResourceId", # required
|
12024
12352
|
# }
|
12025
12353
|
#
|
@@ -14808,13 +15136,14 @@ module Aws::SSM
|
|
14808
15136
|
# The number of days after the release date of each patch matched by
|
14809
15137
|
# the rule that the patch is marked as approved in the patch baseline.
|
14810
15138
|
# For example, a value of `7` means that patches are approved seven
|
14811
|
-
# days after they are released. Not supported on
|
15139
|
+
# days after they are released. Not supported on Debian Server or
|
15140
|
+
# Ubuntu Server.
|
14812
15141
|
# @return [Integer]
|
14813
15142
|
#
|
14814
15143
|
# @!attribute [rw] approve_until_date
|
14815
15144
|
# The cutoff date for auto approval of released patches. Any patches
|
14816
15145
|
# released on or before this date are installed automatically. Not
|
14817
|
-
# supported on Ubuntu Server.
|
15146
|
+
# supported on Debian Server or Ubuntu Server.
|
14818
15147
|
#
|
14819
15148
|
# Enter dates in the format `YYYY-MM-DD`. For example, `2020-12-31`.
|
14820
15149
|
# @return [String]
|
@@ -15198,7 +15527,11 @@ module Aws::SSM
|
|
15198
15527
|
# (case-insensitive).
|
15199
15528
|
#
|
15200
15529
|
# * Parameter names can include only the following symbols and
|
15201
|
-
# letters: `a-zA-Z0-9_
|
15530
|
+
# letters: `a-zA-Z0-9_.-`
|
15531
|
+
#
|
15532
|
+
# In addition, the slash character ( / ) is used to delineate
|
15533
|
+
# hierarchies in parameter names. For example:
|
15534
|
+
# `/Dev/Production/East/Project-ABC/MyParameter`
|
15202
15535
|
#
|
15203
15536
|
# * A parameter name can't include spaces.
|
15204
15537
|
#
|
@@ -15206,8 +15539,8 @@ module Aws::SSM
|
|
15206
15539
|
# levels.
|
15207
15540
|
#
|
15208
15541
|
# For additional information about valid values for parameter names,
|
15209
|
-
# see [
|
15210
|
-
#
|
15542
|
+
# see [Creating Systems Manager parameters][1] in the *AWS Systems
|
15543
|
+
# Manager User Guide*.
|
15211
15544
|
#
|
15212
15545
|
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
15213
15546
|
# additional system attributes that are not part of the name. The
|
@@ -15221,7 +15554,7 @@ module Aws::SSM
|
|
15221
15554
|
#
|
15222
15555
|
#
|
15223
15556
|
#
|
15224
|
-
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-
|
15557
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
|
15225
15558
|
# @return [String]
|
15226
15559
|
#
|
15227
15560
|
# @!attribute [rw] description
|
@@ -15280,8 +15613,7 @@ module Aws::SSM
|
|
15280
15613
|
# @return [String]
|
15281
15614
|
#
|
15282
15615
|
# @!attribute [rw] overwrite
|
15283
|
-
# Overwrite an existing parameter.
|
15284
|
-
# "false".
|
15616
|
+
# Overwrite an existing parameter. The default value is 'false'.
|
15285
15617
|
# @return [Boolean]
|
15286
15618
|
#
|
15287
15619
|
# @!attribute [rw] allowed_pattern
|
@@ -15587,6 +15919,14 @@ module Aws::SSM
|
|
15587
15919
|
# The targets to register with the maintenance window. In other words,
|
15588
15920
|
# the instances to run commands on when the maintenance window runs.
|
15589
15921
|
#
|
15922
|
+
# <note markdown="1"> If a single maintenance window task is registered with multiple
|
15923
|
+
# targets, its task invocations occur sequentially and not in
|
15924
|
+
# parallel. If your task must run on multiple targets at the same
|
15925
|
+
# time, register a task for each target individually and assign each
|
15926
|
+
# task the same priority level.
|
15927
|
+
#
|
15928
|
+
# </note>
|
15929
|
+
#
|
15590
15930
|
# You can specify targets using instance IDs, resource group names, or
|
15591
15931
|
# tags that have been applied to instances.
|
15592
15932
|
#
|
@@ -15942,7 +16282,7 @@ module Aws::SSM
|
|
15942
16282
|
# data as a hash:
|
15943
16283
|
#
|
15944
16284
|
# {
|
15945
|
-
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
|
16285
|
+
# resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
|
15946
16286
|
# resource_id: "ResourceId", # required
|
15947
16287
|
# tag_keys: ["TagKey"], # required
|
15948
16288
|
# }
|
@@ -15967,6 +16307,15 @@ module Aws::SSM
|
|
15967
16307
|
#
|
15968
16308
|
# PatchBaseline: pb-012345abcde
|
15969
16309
|
#
|
16310
|
+
# OpsMetadata object: `ResourceID` for tagging is created from the
|
16311
|
+
# Amazon Resource Name (ARN) for the object. Specifically,
|
16312
|
+
# `ResourceID` is created from the strings that come after the word
|
16313
|
+
# `opsmetadata` in the ARN. For example, an OpsMetadata object with an
|
16314
|
+
# ARN of
|
16315
|
+
# `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
|
16316
|
+
# has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
|
16317
|
+
# `/aws/ssm/MyGroup/appmanager`.
|
16318
|
+
#
|
15970
16319
|
# For the Document and Parameter values, use the name of the resource.
|
15971
16320
|
#
|
15972
16321
|
# <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
|
@@ -16005,7 +16354,9 @@ module Aws::SSM
|
|
16005
16354
|
#
|
16006
16355
|
# @!attribute [rw] setting_id
|
16007
16356
|
# The Amazon Resource Name (ARN) of the service setting to reset. The
|
16008
|
-
# setting ID can be `/ssm/
|
16357
|
+
# setting ID can be `/ssm/automation/customer-script-log-destination`,
|
16358
|
+
# `/ssm/automation/customer-script-log-group-name`,
|
16359
|
+
# `/ssm/parameter-store/default-parameter-tier`,
|
16009
16360
|
# `/ssm/parameter-store/high-throughput-enabled`, or
|
16010
16361
|
# `/ssm/managed-instance/activation-tier`. For example,
|
16011
16362
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
@@ -16402,6 +16753,7 @@ module Aws::SSM
|
|
16402
16753
|
# },
|
16403
16754
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
16404
16755
|
# include_future_regions: false,
|
16756
|
+
# enable_all_ops_data_sources: false,
|
16405
16757
|
# }
|
16406
16758
|
#
|
16407
16759
|
# @!attribute [rw] source_type
|
@@ -16425,13 +16777,27 @@ module Aws::SSM
|
|
16425
16777
|
# Regions when those Regions come online.
|
16426
16778
|
# @return [Boolean]
|
16427
16779
|
#
|
16780
|
+
# @!attribute [rw] enable_all_ops_data_sources
|
16781
|
+
# When you create a resource data sync, if you choose one of the AWS
|
16782
|
+
# Organizations options, then Systems Manager automatically enables
|
16783
|
+
# all OpsData sources in the selected AWS Regions for all AWS accounts
|
16784
|
+
# in your organization (or in the selected organization units). For
|
16785
|
+
# more information, see [About multiple account and Region resource
|
16786
|
+
# data syncs][1] in the *AWS Systems Manager User Guide*.
|
16787
|
+
#
|
16788
|
+
#
|
16789
|
+
#
|
16790
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html
|
16791
|
+
# @return [Boolean]
|
16792
|
+
#
|
16428
16793
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncSource AWS API Documentation
|
16429
16794
|
#
|
16430
16795
|
class ResourceDataSyncSource < Struct.new(
|
16431
16796
|
:source_type,
|
16432
16797
|
:aws_organizations_source,
|
16433
16798
|
:source_regions,
|
16434
|
-
:include_future_regions
|
16799
|
+
:include_future_regions,
|
16800
|
+
:enable_all_ops_data_sources)
|
16435
16801
|
SENSITIVE = []
|
16436
16802
|
include Aws::Structure
|
16437
16803
|
end
|
@@ -16488,6 +16854,19 @@ module Aws::SSM
|
|
16488
16854
|
# organization in AWS Organizations.
|
16489
16855
|
# @return [String]
|
16490
16856
|
#
|
16857
|
+
# @!attribute [rw] enable_all_ops_data_sources
|
16858
|
+
# When you create a resource data sync, if you choose one of the AWS
|
16859
|
+
# Organizations options, then Systems Manager automatically enables
|
16860
|
+
# all OpsData sources in the selected AWS Regions for all AWS accounts
|
16861
|
+
# in your organization (or in the selected organization units). For
|
16862
|
+
# more information, see [About multiple account and Region resource
|
16863
|
+
# data syncs][1] in the *AWS Systems Manager User Guide*.
|
16864
|
+
#
|
16865
|
+
#
|
16866
|
+
#
|
16867
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html
|
16868
|
+
# @return [Boolean]
|
16869
|
+
#
|
16491
16870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncSourceWithState AWS API Documentation
|
16492
16871
|
#
|
16493
16872
|
class ResourceDataSyncSourceWithState < Struct.new(
|
@@ -16495,7 +16874,8 @@ module Aws::SSM
|
|
16495
16874
|
:aws_organizations_source,
|
16496
16875
|
:source_regions,
|
16497
16876
|
:include_future_regions,
|
16498
|
-
:state
|
16877
|
+
:state,
|
16878
|
+
:enable_all_ops_data_sources)
|
16499
16879
|
SENSITIVE = []
|
16500
16880
|
include Aws::Structure
|
16501
16881
|
end
|
@@ -17605,6 +17985,8 @@ module Aws::SSM
|
|
17605
17985
|
# value: "TagValue", # required
|
17606
17986
|
# },
|
17607
17987
|
# ],
|
17988
|
+
# scheduled_end_time: Time.now,
|
17989
|
+
# change_details: "ChangeDetailsValue",
|
17608
17990
|
# }
|
17609
17991
|
#
|
17610
17992
|
# @!attribute [rw] scheduled_time
|
@@ -17667,6 +18049,18 @@ module Aws::SSM
|
|
17667
18049
|
# * `Key=Region,Value=us-east-2`
|
17668
18050
|
# @return [Array<Types::Tag>]
|
17669
18051
|
#
|
18052
|
+
# @!attribute [rw] scheduled_end_time
|
18053
|
+
# The time that the requester expects the runbook workflow related to
|
18054
|
+
# the change request to complete. The time is an estimate only that
|
18055
|
+
# the requester provides for reviewers.
|
18056
|
+
# @return [Time]
|
18057
|
+
#
|
18058
|
+
# @!attribute [rw] change_details
|
18059
|
+
# User-provided details about the change. If no details are provided,
|
18060
|
+
# content specified in the **Template information** section of the
|
18061
|
+
# associated change template is added.
|
18062
|
+
# @return [String]
|
18063
|
+
#
|
17670
18064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionRequest AWS API Documentation
|
17671
18065
|
#
|
17672
18066
|
class StartChangeRequestExecutionRequest < Struct.new(
|
@@ -17677,7 +18071,9 @@ module Aws::SSM
|
|
17677
18071
|
:change_request_name,
|
17678
18072
|
:client_token,
|
17679
18073
|
:runbooks,
|
17680
|
-
:tags
|
18074
|
+
:tags,
|
18075
|
+
:scheduled_end_time,
|
18076
|
+
:change_details)
|
17681
18077
|
SENSITIVE = []
|
17682
18078
|
include Aws::Structure
|
17683
18079
|
end
|
@@ -18102,6 +18498,9 @@ module Aws::SSM
|
|
18102
18498
|
# specified `tag:ServerRole`, you could specify `value:WebServer` to
|
18103
18499
|
# run a command on instances that include EC2 tags of
|
18104
18500
|
# `ServerRole,WebServer`.
|
18501
|
+
#
|
18502
|
+
# Depending on the type of `Target`, the maximum number of values for
|
18503
|
+
# a `Key` might be lower than the global maximum of 50.
|
18105
18504
|
# @return [Array<String>]
|
18106
18505
|
#
|
18107
18506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target AWS API Documentation
|
@@ -18266,6 +18665,55 @@ module Aws::SSM
|
|
18266
18665
|
include Aws::Structure
|
18267
18666
|
end
|
18268
18667
|
|
18668
|
+
# @note When making an API call, you may pass UnlabelParameterVersionRequest
|
18669
|
+
# data as a hash:
|
18670
|
+
#
|
18671
|
+
# {
|
18672
|
+
# name: "PSParameterName", # required
|
18673
|
+
# parameter_version: 1, # required
|
18674
|
+
# labels: ["ParameterLabel"], # required
|
18675
|
+
# }
|
18676
|
+
#
|
18677
|
+
# @!attribute [rw] name
|
18678
|
+
# The parameter name of which you want to delete one or more labels.
|
18679
|
+
# @return [String]
|
18680
|
+
#
|
18681
|
+
# @!attribute [rw] parameter_version
|
18682
|
+
# The specific version of the parameter which you want to delete one
|
18683
|
+
# or more labels from. If it is not present, the call will fail.
|
18684
|
+
# @return [Integer]
|
18685
|
+
#
|
18686
|
+
# @!attribute [rw] labels
|
18687
|
+
# One or more labels to delete from the specified parameter version.
|
18688
|
+
# @return [Array<String>]
|
18689
|
+
#
|
18690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersionRequest AWS API Documentation
|
18691
|
+
#
|
18692
|
+
class UnlabelParameterVersionRequest < Struct.new(
|
18693
|
+
:name,
|
18694
|
+
:parameter_version,
|
18695
|
+
:labels)
|
18696
|
+
SENSITIVE = []
|
18697
|
+
include Aws::Structure
|
18698
|
+
end
|
18699
|
+
|
18700
|
+
# @!attribute [rw] removed_labels
|
18701
|
+
# A list of all labels deleted from the parameter.
|
18702
|
+
# @return [Array<String>]
|
18703
|
+
#
|
18704
|
+
# @!attribute [rw] invalid_labels
|
18705
|
+
# The labels that are not attached to the given parameter version.
|
18706
|
+
# @return [Array<String>]
|
18707
|
+
#
|
18708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersionResult AWS API Documentation
|
18709
|
+
#
|
18710
|
+
class UnlabelParameterVersionResult < Struct.new(
|
18711
|
+
:removed_labels,
|
18712
|
+
:invalid_labels)
|
18713
|
+
SENSITIVE = []
|
18714
|
+
include Aws::Structure
|
18715
|
+
end
|
18716
|
+
|
18269
18717
|
# The calendar entry contained in the specified Systems Manager document
|
18270
18718
|
# is not supported.
|
18271
18719
|
#
|
@@ -18409,6 +18857,7 @@ module Aws::SSM
|
|
18409
18857
|
# compliance_severity: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, UNSPECIFIED
|
18410
18858
|
# sync_compliance: "AUTO", # accepts AUTO, MANUAL
|
18411
18859
|
# apply_only_at_cron_interval: false,
|
18860
|
+
# calendar_names: ["CalendarNameOrARN"],
|
18412
18861
|
# target_locations: [
|
18413
18862
|
# {
|
18414
18863
|
# accounts: ["Account"],
|
@@ -18553,6 +19002,17 @@ module Aws::SSM
|
|
18553
19002
|
# the interval specified.
|
18554
19003
|
# @return [Boolean]
|
18555
19004
|
#
|
19005
|
+
# @!attribute [rw] calendar_names
|
19006
|
+
# The names or Amazon Resource Names (ARNs) of the Systems Manager
|
19007
|
+
# Change Calendar type documents you want to gate your associations
|
19008
|
+
# under. The associations only run when that Change Calendar is open.
|
19009
|
+
# For more information, see [AWS Systems Manager Change Calendar][1].
|
19010
|
+
#
|
19011
|
+
#
|
19012
|
+
#
|
19013
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar
|
19014
|
+
# @return [Array<String>]
|
19015
|
+
#
|
18556
19016
|
# @!attribute [rw] target_locations
|
18557
19017
|
# A location is a combination of AWS Regions and AWS accounts where
|
18558
19018
|
# you want to run the association. Use this action to update an
|
@@ -18577,6 +19037,7 @@ module Aws::SSM
|
|
18577
19037
|
:compliance_severity,
|
18578
19038
|
:sync_compliance,
|
18579
19039
|
:apply_only_at_cron_interval,
|
19040
|
+
:calendar_names,
|
18580
19041
|
:target_locations)
|
18581
19042
|
SENSITIVE = []
|
18582
19043
|
include Aws::Structure
|
@@ -18765,10 +19226,10 @@ module Aws::SSM
|
|
18765
19226
|
# @return [String]
|
18766
19227
|
#
|
18767
19228
|
# @!attribute [rw] document_version
|
18768
|
-
#
|
18769
|
-
#
|
18770
|
-
#
|
18771
|
-
#
|
19229
|
+
# The version of the document that you want to update. Currently,
|
19230
|
+
# Systems Manager supports updating only the latest version of the
|
19231
|
+
# document. You can specify the version number of the latest version
|
19232
|
+
# or use the `$LATEST` variable.
|
18772
19233
|
# @return [String]
|
18773
19234
|
#
|
18774
19235
|
# @!attribute [rw] document_format
|
@@ -19951,6 +20412,7 @@ module Aws::SSM
|
|
19951
20412
|
# },
|
19952
20413
|
# source_regions: ["ResourceDataSyncSourceRegion"], # required
|
19953
20414
|
# include_future_regions: false,
|
20415
|
+
# enable_all_ops_data_sources: false,
|
19954
20416
|
# },
|
19955
20417
|
# }
|
19956
20418
|
#
|
@@ -19997,6 +20459,10 @@ module Aws::SSM
|
|
19997
20459
|
# `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
|
19998
20460
|
# The setting ID can be one of the following.
|
19999
20461
|
#
|
20462
|
+
# * `/ssm/automation/customer-script-log-destination`
|
20463
|
+
#
|
20464
|
+
# * `/ssm/automation/customer-script-log-group-name`
|
20465
|
+
#
|
20000
20466
|
# * `/ssm/parameter-store/default-parameter-tier`
|
20001
20467
|
#
|
20002
20468
|
# * `/ssm/parameter-store/high-throughput-enabled`
|
@@ -20018,6 +20484,12 @@ module Aws::SSM
|
|
20018
20484
|
# For the `/ssm/parameter-store/high-throughput-enabled`, and
|
20019
20485
|
# `/ssm/managed-instance/activation-tier` setting IDs, the setting
|
20020
20486
|
# value can be true or false.
|
20487
|
+
#
|
20488
|
+
# For the `/ssm/automation/customer-script-log-destination` setting
|
20489
|
+
# ID, the setting value can be CloudWatch.
|
20490
|
+
#
|
20491
|
+
# For the `/ssm/automation/customer-script-log-group-name` setting ID,
|
20492
|
+
# the setting value can be the name of a CloudWatch Logs log group.
|
20021
20493
|
# @return [String]
|
20022
20494
|
#
|
20023
20495
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation
|