aws-sdk-ssm 1.103.0 → 1.108.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.
@@ -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/master/CONTRIBUTING.md
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')
@@ -1417,6 +1425,17 @@ module Aws::SSM
1417
1425
  AutomationStepNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1418
1426
  AutomationStepNotFoundException.struct_class = Types::AutomationStepNotFoundException
1419
1427
 
1428
+ BaselineOverride.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1429
+ BaselineOverride.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
1430
+ BaselineOverride.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
1431
+ BaselineOverride.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
1432
+ BaselineOverride.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
1433
+ BaselineOverride.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
1434
+ BaselineOverride.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
1435
+ BaselineOverride.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity"))
1436
+ BaselineOverride.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
1437
+ BaselineOverride.struct_class = Types::BaselineOverride
1438
+
1420
1439
  CalendarNameOrARNList.member = Shapes::ShapeRef.new(shape: CalendarNameOrARN)
1421
1440
 
1422
1441
  CancelCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location_name: "CommandId"))
@@ -1673,6 +1692,7 @@ module Aws::SSM
1673
1692
 
1674
1693
  CreateOpsMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: OpsMetadataResourceId, required: true, location_name: "ResourceId"))
1675
1694
  CreateOpsMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "Metadata"))
1695
+ CreateOpsMetadataRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1676
1696
  CreateOpsMetadataRequest.struct_class = Types::CreateOpsMetadataRequest
1677
1697
 
1678
1698
  CreateOpsMetadataResult.add_member(:ops_metadata_arn, Shapes::ShapeRef.new(shape: OpsMetadataArn, location_name: "OpsMetadataArn"))
@@ -2093,6 +2113,9 @@ module Aws::SSM
2093
2113
  DescribePatchGroupStateResult.add_member(:instances_with_failed_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithFailedPatches"))
2094
2114
  DescribePatchGroupStateResult.add_member(:instances_with_not_applicable_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithNotApplicablePatches"))
2095
2115
  DescribePatchGroupStateResult.add_member(:instances_with_unreported_not_applicable_patches, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancesWithUnreportedNotApplicablePatches", metadata: {"box"=>true}))
2116
+ DescribePatchGroupStateResult.add_member(:instances_with_critical_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithCriticalNonCompliantPatches", metadata: {"box"=>true}))
2117
+ DescribePatchGroupStateResult.add_member(:instances_with_security_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithSecurityNonCompliantPatches", metadata: {"box"=>true}))
2118
+ DescribePatchGroupStateResult.add_member(:instances_with_other_non_compliant_patches, Shapes::ShapeRef.new(shape: InstancesCount, location_name: "InstancesWithOtherNonCompliantPatches", metadata: {"box"=>true}))
2096
2119
  DescribePatchGroupStateResult.struct_class = Types::DescribePatchGroupStateResult
2097
2120
 
2098
2121
  DescribePatchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PatchBaselineMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -2338,6 +2361,7 @@ module Aws::SSM
2338
2361
 
2339
2362
  GetDeployablePatchSnapshotForInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2340
2363
  GetDeployablePatchSnapshotForInstanceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
2364
+ GetDeployablePatchSnapshotForInstanceRequest.add_member(:baseline_override, Shapes::ShapeRef.new(shape: BaselineOverride, location_name: "BaselineOverride"))
2341
2365
  GetDeployablePatchSnapshotForInstanceRequest.struct_class = Types::GetDeployablePatchSnapshotForInstanceRequest
2342
2366
 
2343
2367
  GetDeployablePatchSnapshotForInstanceResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
@@ -2683,6 +2707,9 @@ module Aws::SSM
2683
2707
  InstancePatchState.add_member(:operation, Shapes::ShapeRef.new(shape: PatchOperationType, required: true, location_name: "Operation"))
2684
2708
  InstancePatchState.add_member(:last_no_reboot_install_operation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastNoRebootInstallOperationTime"))
2685
2709
  InstancePatchState.add_member(:reboot_option, Shapes::ShapeRef.new(shape: RebootOption, location_name: "RebootOption"))
2710
+ InstancePatchState.add_member(:critical_non_compliant_count, Shapes::ShapeRef.new(shape: PatchCriticalNonCompliantCount, location_name: "CriticalNonCompliantCount", metadata: {"box"=>true}))
2711
+ InstancePatchState.add_member(:security_non_compliant_count, Shapes::ShapeRef.new(shape: PatchSecurityNonCompliantCount, location_name: "SecurityNonCompliantCount", metadata: {"box"=>true}))
2712
+ InstancePatchState.add_member(:other_non_compliant_count, Shapes::ShapeRef.new(shape: PatchOtherNonCompliantCount, location_name: "OtherNonCompliantCount", metadata: {"box"=>true}))
2686
2713
  InstancePatchState.struct_class = Types::InstancePatchState
2687
2714
 
2688
2715
  InstancePatchStateFilter.add_member(:key, Shapes::ShapeRef.new(shape: InstancePatchStateFilterKey, required: true, location_name: "Key"))
@@ -3869,6 +3896,7 @@ module Aws::SSM
3869
3896
  ResourceDataSyncSource.add_member(:aws_organizations_source, Shapes::ShapeRef.new(shape: ResourceDataSyncAwsOrganizationsSource, location_name: "AwsOrganizationsSource"))
3870
3897
  ResourceDataSyncSource.add_member(:source_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegionList, required: true, location_name: "SourceRegions"))
3871
3898
  ResourceDataSyncSource.add_member(:include_future_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncIncludeFutureRegions, location_name: "IncludeFutureRegions"))
3899
+ ResourceDataSyncSource.add_member(:enable_all_ops_data_sources, Shapes::ShapeRef.new(shape: ResourceDataSyncEnableAllOpsDataSources, location_name: "EnableAllOpsDataSources"))
3872
3900
  ResourceDataSyncSource.struct_class = Types::ResourceDataSyncSource
3873
3901
 
3874
3902
  ResourceDataSyncSourceRegionList.member = Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegion)
@@ -3878,6 +3906,7 @@ module Aws::SSM
3878
3906
  ResourceDataSyncSourceWithState.add_member(:source_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegionList, location_name: "SourceRegions"))
3879
3907
  ResourceDataSyncSourceWithState.add_member(:include_future_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncIncludeFutureRegions, location_name: "IncludeFutureRegions"))
3880
3908
  ResourceDataSyncSourceWithState.add_member(:state, Shapes::ShapeRef.new(shape: ResourceDataSyncState, location_name: "State"))
3909
+ ResourceDataSyncSourceWithState.add_member(:enable_all_ops_data_sources, Shapes::ShapeRef.new(shape: ResourceDataSyncEnableAllOpsDataSources, location_name: "EnableAllOpsDataSources"))
3881
3910
  ResourceDataSyncSourceWithState.struct_class = Types::ResourceDataSyncSourceWithState
3882
3911
 
3883
3912
  ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -4039,6 +4068,8 @@ module Aws::SSM
4039
4068
  StartChangeRequestExecutionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
4040
4069
  StartChangeRequestExecutionRequest.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, required: true, location_name: "Runbooks"))
4041
4070
  StartChangeRequestExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
4071
+ StartChangeRequestExecutionRequest.add_member(:scheduled_end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledEndTime"))
4072
+ StartChangeRequestExecutionRequest.add_member(:change_details, Shapes::ShapeRef.new(shape: ChangeDetailsValue, location_name: "ChangeDetails"))
4042
4073
  StartChangeRequestExecutionRequest.struct_class = Types::StartChangeRequestExecutionRequest
4043
4074
 
4044
4075
  StartChangeRequestExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
@@ -4153,6 +4184,15 @@ module Aws::SSM
4153
4184
  TotalSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4154
4185
  TotalSizeLimitExceededException.struct_class = Types::TotalSizeLimitExceededException
4155
4186
 
4187
+ UnlabelParameterVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: PSParameterName, required: true, location_name: "Name"))
4188
+ UnlabelParameterVersionRequest.add_member(:parameter_version, Shapes::ShapeRef.new(shape: PSParameterVersion, required: true, location_name: "ParameterVersion", metadata: {"box"=>true}))
4189
+ UnlabelParameterVersionRequest.add_member(:labels, Shapes::ShapeRef.new(shape: ParameterLabelList, required: true, location_name: "Labels"))
4190
+ UnlabelParameterVersionRequest.struct_class = Types::UnlabelParameterVersionRequest
4191
+
4192
+ UnlabelParameterVersionResult.add_member(:removed_labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "RemovedLabels"))
4193
+ UnlabelParameterVersionResult.add_member(:invalid_labels, Shapes::ShapeRef.new(shape: ParameterLabelList, location_name: "InvalidLabels"))
4194
+ UnlabelParameterVersionResult.struct_class = Types::UnlabelParameterVersionResult
4195
+
4156
4196
  UnsupportedCalendarException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
4157
4197
  UnsupportedCalendarException.struct_class = Types::UnsupportedCalendarException
4158
4198
 
@@ -6029,6 +6069,18 @@ module Aws::SSM
6029
6069
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
6030
6070
  end)
6031
6071
 
6072
+ api.add_operation(:unlabel_parameter_version, Seahorse::Model::Operation.new.tap do |o|
6073
+ o.name = "UnlabelParameterVersion"
6074
+ o.http_method = "POST"
6075
+ o.http_request_uri = "/"
6076
+ o.input = Shapes::ShapeRef.new(shape: UnlabelParameterVersionRequest)
6077
+ o.output = Shapes::ShapeRef.new(shape: UnlabelParameterVersionResult)
6078
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
6079
+ o.errors << Shapes::ShapeRef.new(shape: TooManyUpdates)
6080
+ o.errors << Shapes::ShapeRef.new(shape: ParameterNotFound)
6081
+ o.errors << Shapes::ShapeRef.new(shape: ParameterVersionNotFound)
6082
+ end)
6083
+
6032
6084
  api.add_operation(:update_association, Seahorse::Model::Operation.new.tap do |o|
6033
6085
  o.name = "UpdateAssociation"
6034
6086
  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/master/CONTRIBUTING.md
5
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
6
  #
7
7
  # WARNING ABOUT GENERATED CODE
8
8
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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/master/CONTRIBUTING.md
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, but if you don't
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
@@ -1449,6 +1456,132 @@ module Aws::SSM
1449
1456
  include Aws::Structure
1450
1457
  end
1451
1458
 
1459
+ # Defines the basic information about a patch baseline override.
1460
+ #
1461
+ # @note When making an API call, you may pass BaselineOverride
1462
+ # data as a hash:
1463
+ #
1464
+ # {
1465
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
1466
+ # global_filters: {
1467
+ # patch_filters: [ # required
1468
+ # {
1469
+ # 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
1470
+ # values: ["PatchFilterValue"], # required
1471
+ # },
1472
+ # ],
1473
+ # },
1474
+ # approval_rules: {
1475
+ # patch_rules: [ # required
1476
+ # {
1477
+ # patch_filter_group: { # required
1478
+ # patch_filters: [ # required
1479
+ # {
1480
+ # 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
1481
+ # values: ["PatchFilterValue"], # required
1482
+ # },
1483
+ # ],
1484
+ # },
1485
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
1486
+ # approve_after_days: 1,
1487
+ # approve_until_date: "PatchStringDateTime",
1488
+ # enable_non_security: false,
1489
+ # },
1490
+ # ],
1491
+ # },
1492
+ # approved_patches: ["PatchId"],
1493
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
1494
+ # rejected_patches: ["PatchId"],
1495
+ # rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
1496
+ # approved_patches_enable_non_security: false,
1497
+ # sources: [
1498
+ # {
1499
+ # name: "PatchSourceName", # required
1500
+ # products: ["PatchSourceProduct"], # required
1501
+ # configuration: "PatchSourceConfiguration", # required
1502
+ # },
1503
+ # ],
1504
+ # }
1505
+ #
1506
+ # @!attribute [rw] operating_system
1507
+ # The operating system rule used by the patch baseline override.
1508
+ # @return [String]
1509
+ #
1510
+ # @!attribute [rw] global_filters
1511
+ # A set of patch filters, typically used for approval rules.
1512
+ # @return [Types::PatchFilterGroup]
1513
+ #
1514
+ # @!attribute [rw] approval_rules
1515
+ # A set of rules defining the approval rules for a patch baseline.
1516
+ # @return [Types::PatchRuleGroup]
1517
+ #
1518
+ # @!attribute [rw] approved_patches
1519
+ # A list of explicitly approved patches for the baseline.
1520
+ #
1521
+ # For information about accepted formats for lists of approved patches
1522
+ # and rejected patches, see [About package name formats for approved
1523
+ # and rejected patch lists][1] in the *AWS Systems Manager User
1524
+ # Guide*.
1525
+ #
1526
+ #
1527
+ #
1528
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
1529
+ # @return [Array<String>]
1530
+ #
1531
+ # @!attribute [rw] approved_patches_compliance_level
1532
+ # Defines the compliance level for approved patches. When an approved
1533
+ # patch is reported as missing, this value describes the severity of
1534
+ # the compliance violation.
1535
+ # @return [String]
1536
+ #
1537
+ # @!attribute [rw] rejected_patches
1538
+ # A list of explicitly rejected patches for the baseline.
1539
+ #
1540
+ # For information about accepted formats for lists of approved patches
1541
+ # and rejected patches, see [About package name formats for approved
1542
+ # and rejected patch lists][1] in the *AWS Systems Manager User
1543
+ # Guide*.
1544
+ #
1545
+ #
1546
+ #
1547
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
1548
+ # @return [Array<String>]
1549
+ #
1550
+ # @!attribute [rw] rejected_patches_action
1551
+ # The action for Patch Manager to take on patches included in the
1552
+ # RejectedPackages list. A patch can be allowed only if it is a
1553
+ # dependency of another package, or blocked entirely along with
1554
+ # packages that include it as a dependency.
1555
+ # @return [String]
1556
+ #
1557
+ # @!attribute [rw] approved_patches_enable_non_security
1558
+ # Indicates whether the list of approved patches includes non-security
1559
+ # updates that should be applied to the instances. The default value
1560
+ # is 'false'. Applies to Linux instances only.
1561
+ # @return [Boolean]
1562
+ #
1563
+ # @!attribute [rw] sources
1564
+ # Information about the patches to use to update the instances,
1565
+ # including target operating systems and source repositories. Applies
1566
+ # to Linux instances only.
1567
+ # @return [Array<Types::PatchSource>]
1568
+ #
1569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/BaselineOverride AWS API Documentation
1570
+ #
1571
+ class BaselineOverride < Struct.new(
1572
+ :operating_system,
1573
+ :global_filters,
1574
+ :approval_rules,
1575
+ :approved_patches,
1576
+ :approved_patches_compliance_level,
1577
+ :rejected_patches,
1578
+ :rejected_patches_action,
1579
+ :approved_patches_enable_non_security,
1580
+ :sources)
1581
+ SENSITIVE = []
1582
+ include Aws::Structure
1583
+ end
1584
+
1452
1585
  # @note When making an API call, you may pass CancelCommandRequest
1453
1586
  # data as a hash:
1454
1587
  #
@@ -2440,8 +2573,10 @@ module Aws::SSM
2440
2573
  # @return [Integer]
2441
2574
  #
2442
2575
  # @!attribute [rw] expiration_date
2443
- # The date by which this activation request should expire. The default
2444
- # value is 24 hours.
2576
+ # The date by which this activation request should expire, in
2577
+ # timestamp format, such as "2021-07-07T00:00:00". You can specify a
2578
+ # date up to 30 days in advance. If you don't provide an expiration
2579
+ # date, the activation code expires in 24 hours.
2445
2580
  # @return [Time]
2446
2581
  #
2447
2582
  # @!attribute [rw] tags
@@ -3506,6 +3641,12 @@ module Aws::SSM
3506
3641
  # value: "MetadataValueString",
3507
3642
  # },
3508
3643
  # },
3644
+ # tags: [
3645
+ # {
3646
+ # key: "TagKey", # required
3647
+ # value: "TagValue", # required
3648
+ # },
3649
+ # ],
3509
3650
  # }
3510
3651
  #
3511
3652
  # @!attribute [rw] resource_id
@@ -3516,11 +3657,25 @@ module Aws::SSM
3516
3657
  # Metadata for a new Application Manager application.
3517
3658
  # @return [Hash<String,Types::MetadataValue>]
3518
3659
  #
3660
+ # @!attribute [rw] tags
3661
+ # Optional metadata that you assign to a resource. You can specify a
3662
+ # maximum of five tags for an OpsMetadata object. Tags enable you to
3663
+ # categorize a resource in different ways, such as by purpose, owner,
3664
+ # or environment. For example, you might want to tag an OpsMetadata
3665
+ # object to identify an environment or target AWS Region. In this
3666
+ # case, you could specify the following key-value pairs:
3667
+ #
3668
+ # * `Key=Environment,Value=Production`
3669
+ #
3670
+ # * `Key=Region,Value=us-east-2`
3671
+ # @return [Array<Types::Tag>]
3672
+ #
3519
3673
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataRequest AWS API Documentation
3520
3674
  #
3521
3675
  class CreateOpsMetadataRequest < Struct.new(
3522
3676
  :resource_id,
3523
- :metadata)
3677
+ :metadata,
3678
+ :tags)
3524
3679
  SENSITIVE = []
3525
3680
  include Aws::Structure
3526
3681
  end
@@ -3623,8 +3778,8 @@ module Aws::SSM
3623
3778
  # @return [Array<String>]
3624
3779
  #
3625
3780
  # @!attribute [rw] approved_patches_compliance_level
3626
- # Defines the compliance level for approved patches. This means that
3627
- # if an approved patch is reported as missing, this is the severity of
3781
+ # Defines the compliance level for approved patches. When an approved
3782
+ # patch is reported as missing, this value describes the severity of
3628
3783
  # the compliance violation. The default value is UNSPECIFIED.
3629
3784
  # @return [String]
3630
3785
  #
@@ -3759,6 +3914,7 @@ module Aws::SSM
3759
3914
  # },
3760
3915
  # source_regions: ["ResourceDataSyncSourceRegion"], # required
3761
3916
  # include_future_regions: false,
3917
+ # enable_all_ops_data_sources: false,
3762
3918
  # },
3763
3919
  # }
3764
3920
  #
@@ -4724,7 +4880,7 @@ module Aws::SSM
4724
4880
  #
4725
4881
  # @!attribute [rw] reverse_order
4726
4882
  # A boolean that indicates whether to list step executions in reverse
4727
- # order by start time. The default value is false.
4883
+ # order by start time. The default value is 'false'.
4728
4884
  # @return [Boolean]
4729
4885
  #
4730
4886
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsRequest AWS API Documentation
@@ -6273,6 +6429,28 @@ module Aws::SSM
6273
6429
  # Inventory.
6274
6430
  # @return [Integer]
6275
6431
  #
6432
+ # @!attribute [rw] instances_with_critical_non_compliant_patches
6433
+ # The number of instances where patches that are specified as
6434
+ # "Critical" for compliance reporting in the patch baseline are not
6435
+ # installed. These patches might be missing, have failed installation,
6436
+ # were rejected, or were installed but awaiting a required instance
6437
+ # reboot. The status of these instances is `NON_COMPLIANT`.
6438
+ # @return [Integer]
6439
+ #
6440
+ # @!attribute [rw] instances_with_security_non_compliant_patches
6441
+ # The number of instances where patches that are specified as
6442
+ # "Security" in a patch advisory are not installed. These patches
6443
+ # might be missing, have failed installation, were rejected, or were
6444
+ # installed but awaiting a required instance reboot. The status of
6445
+ # these instances is `NON_COMPLIANT`.
6446
+ # @return [Integer]
6447
+ #
6448
+ # @!attribute [rw] instances_with_other_non_compliant_patches
6449
+ # The number of instances with patches installed that are specified as
6450
+ # other than "Critical" or "Security" but are not compliant with
6451
+ # the patch baseline. The status of these instances is NON\_COMPLIANT.
6452
+ # @return [Integer]
6453
+ #
6276
6454
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateResult AWS API Documentation
6277
6455
  #
6278
6456
  class DescribePatchGroupStateResult < Struct.new(
@@ -6284,7 +6462,10 @@ module Aws::SSM
6284
6462
  :instances_with_missing_patches,
6285
6463
  :instances_with_failed_patches,
6286
6464
  :instances_with_not_applicable_patches,
6287
- :instances_with_unreported_not_applicable_patches)
6465
+ :instances_with_unreported_not_applicable_patches,
6466
+ :instances_with_critical_non_compliant_patches,
6467
+ :instances_with_security_non_compliant_patches,
6468
+ :instances_with_other_non_compliant_patches)
6288
6469
  SENSITIVE = []
6289
6470
  include Aws::Structure
6290
6471
  end
@@ -7473,17 +7654,26 @@ module Aws::SSM
7473
7654
  #
7474
7655
  # @!attribute [rw] instance_id
7475
7656
  # (Required) The ID of the managed instance targeted by the command. A
7476
- # managed instance can be an EC2 instance or an instance in your
7477
- # hybrid environment that is configured for Systems Manager.
7657
+ # managed instance can be an Amazon Elastic Compute Cloud (Amazon EC2)
7658
+ # instance or an instance in your hybrid environment that is
7659
+ # configured for AWS Systems Manager.
7478
7660
  # @return [String]
7479
7661
  #
7480
7662
  # @!attribute [rw] plugin_name
7481
- # (Optional) The name of the plugin for which you want detailed
7482
- # results. If the document contains only one plugin, the name can be
7483
- # omitted and the details will be returned.
7663
+ # The name of the plugin for which you want detailed results. If the
7664
+ # document contains only one plugin, you can omit the name and details
7665
+ # for that plugin. If the document contains more than one plugin, you
7666
+ # must specify the name of the plugin for which you want to view
7667
+ # details.
7484
7668
  #
7485
- # Plugin names are also referred to as step names in Systems Manager
7486
- # documents.
7669
+ # Plugin names are also referred to as *step names* in Systems Manager
7670
+ # documents. For example, `aws:RunShellScript` is a plugin.
7671
+ #
7672
+ # To find the `PluginName`, check the document content and find the
7673
+ # name of the plugin. Alternatively, use ListCommandInvocations with
7674
+ # the `CommandId` and `Details` parameters. The `PluginName` is the
7675
+ # `Name` attribute of the `CommandPlugin` object in the
7676
+ # `CommandPlugins` list.
7487
7677
  # @return [String]
7488
7678
  #
7489
7679
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
@@ -7512,7 +7702,7 @@ module Aws::SSM
7512
7702
  #
7513
7703
  # @!attribute [rw] document_name
7514
7704
  # The name of the document that was run. For example,
7515
- # AWS-RunShellScript.
7705
+ # `AWS-RunShellScript`.
7516
7706
  # @return [String]
7517
7707
  #
7518
7708
  # @!attribute [rw] document_version
@@ -7520,13 +7710,13 @@ module Aws::SSM
7520
7710
  # @return [String]
7521
7711
  #
7522
7712
  # @!attribute [rw] plugin_name
7523
- # The name of the plugin for which you want detailed results. For
7524
- # example, aws:RunShellScript is a plugin.
7713
+ # The name of the plugin, or *step name*, for which details are
7714
+ # reported. For example, `aws:RunShellScript` is a plugin.
7525
7715
  # @return [String]
7526
7716
  #
7527
7717
  # @!attribute [rw] response_code
7528
7718
  # The error level response code for the plugin script. If the response
7529
- # code is -1, then the command has not started running on the
7719
+ # code is `-1`, then the command has not started running on the
7530
7720
  # instance, or it was not received by the instance.
7531
7721
  # @return [Integer]
7532
7722
  #
@@ -7543,11 +7733,11 @@ module Aws::SSM
7543
7733
  # @return [String]
7544
7734
  #
7545
7735
  # @!attribute [rw] execution_elapsed_time
7546
- # Duration since ExecutionStartDateTime.
7736
+ # Duration since `ExecutionStartDateTime`.
7547
7737
  # @return [String]
7548
7738
  #
7549
7739
  # @!attribute [rw] execution_end_date_time
7550
- # The date and time the plugin was finished running. Date and time are
7740
+ # The date and time the plugin finished running. Date and time are
7551
7741
  # written in ISO 8601 format. For example, June 7, 2017 is represented
7552
7742
  # as 2017-06-7. The following sample AWS CLI command uses the
7553
7743
  # `InvokedAfter` filter.
@@ -7560,17 +7750,17 @@ module Aws::SSM
7560
7750
  #
7561
7751
  # @!attribute [rw] status
7562
7752
  # The status of this invocation plugin. This status can be different
7563
- # than StatusDetails.
7753
+ # than `StatusDetails`.
7564
7754
  # @return [String]
7565
7755
  #
7566
7756
  # @!attribute [rw] status_details
7567
7757
  # A detailed status of the command execution for an invocation.
7568
- # StatusDetails includes more information than Status because it
7758
+ # `StatusDetails` includes more information than `Status` because it
7569
7759
  # includes states resulting from error and concurrency control
7570
- # parameters. StatusDetails can show different results than Status.
7571
- # For more information about these statuses, see [Understanding
7572
- # command statuses][1] in the *AWS Systems Manager User Guide*.
7573
- # StatusDetails can be one of the following values:
7760
+ # parameters. `StatusDetails` can show different results than
7761
+ # `Status`. For more information about these statuses, see
7762
+ # [Understanding command statuses][1] in the *AWS Systems Manager User
7763
+ # Guide*. `StatusDetails` can be one of the following values:
7574
7764
  #
7575
7765
  # * Pending: The command has not been sent to the instance.
7576
7766
  #
@@ -7588,20 +7778,20 @@ module Aws::SSM
7588
7778
  #
7589
7779
  # * Delivery Timed Out: The command was not delivered to the instance
7590
7780
  # before the delivery timeout expired. Delivery timeouts do not
7591
- # count against the parent command's MaxErrors limit, but they do
7781
+ # count against the parent command's `MaxErrors` limit, but they do
7592
7782
  # contribute to whether the parent command status is Success or
7593
7783
  # Incomplete. This is a terminal state.
7594
7784
  #
7595
7785
  # * Execution Timed Out: The command started to run on the instance,
7596
7786
  # but the execution was not complete before the timeout expired.
7597
- # Execution timeouts count against the MaxErrors limit of the parent
7598
- # command. This is a terminal state.
7787
+ # Execution timeouts count against the `MaxErrors` limit of the
7788
+ # parent command. This is a terminal state.
7599
7789
  #
7600
7790
  # * Failed: The command wasn't run successfully on the instance. For
7601
7791
  # a plugin, this indicates that the result code was not zero. For a
7602
7792
  # command invocation, this indicates that the result code for one or
7603
7793
  # more plugins was not zero. Invocation failures count against the
7604
- # MaxErrors limit of the parent command. This is a terminal state.
7794
+ # `MaxErrors` limit of the parent command. This is a terminal state.
7605
7795
  #
7606
7796
  # * Canceled: The command was terminated before it was completed. This
7607
7797
  # is a terminal state.
@@ -7609,11 +7799,11 @@ module Aws::SSM
7609
7799
  # * Undeliverable: The command can't be delivered to the instance.
7610
7800
  # The instance might not exist or might not be responding.
7611
7801
  # Undeliverable invocations don't count against the parent
7612
- # command's MaxErrors limit and don't contribute to whether the
7802
+ # command's `MaxErrors` limit and don't contribute to whether the
7613
7803
  # parent command status is Success or Incomplete. This is a terminal
7614
7804
  # state.
7615
7805
  #
7616
- # * Terminated: The parent command exceeded its MaxErrors limit and
7806
+ # * Terminated: The parent command exceeded its `MaxErrors` limit and
7617
7807
  # subsequent command invocations were canceled by the system. This
7618
7808
  # is a terminal state.
7619
7809
  #
@@ -7623,24 +7813,24 @@ module Aws::SSM
7623
7813
  # @return [String]
7624
7814
  #
7625
7815
  # @!attribute [rw] standard_output_content
7626
- # The first 24,000 characters written by the plugin to stdout. If the
7627
- # command has not finished running, if ExecutionStatus is neither
7628
- # Succeeded nor Failed, then this string is empty.
7816
+ # The first 24,000 characters written by the plugin to `stdout`. If
7817
+ # the command has not finished running, if `ExecutionStatus` is
7818
+ # neither Succeeded nor Failed, then this string is empty.
7629
7819
  # @return [String]
7630
7820
  #
7631
7821
  # @!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 specified, then this string is
7634
- # empty.
7822
+ # The URL for the complete text written by the plugin to `stdout` in
7823
+ # Amazon Simple Storage Service (Amazon S3). If an S3 bucket was not
7824
+ # specified, then this string is empty.
7635
7825
  # @return [String]
7636
7826
  #
7637
7827
  # @!attribute [rw] standard_error_content
7638
- # The first 8,000 characters written by the plugin to stderr. If the
7828
+ # The first 8,000 characters written by the plugin to `stderr`. If the
7639
7829
  # command has not finished running, then this string is empty.
7640
7830
  # @return [String]
7641
7831
  #
7642
7832
  # @!attribute [rw] standard_error_url
7643
- # The URL for the complete text written by the plugin to stderr. If
7833
+ # The URL for the complete text written by the plugin to `stderr`. If
7644
7834
  # the command has not finished running, then this string is empty.
7645
7835
  # @return [String]
7646
7836
  #
@@ -7753,6 +7943,47 @@ module Aws::SSM
7753
7943
  # {
7754
7944
  # instance_id: "InstanceId", # required
7755
7945
  # snapshot_id: "SnapshotId", # required
7946
+ # baseline_override: {
7947
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
7948
+ # global_filters: {
7949
+ # patch_filters: [ # required
7950
+ # {
7951
+ # 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
7952
+ # values: ["PatchFilterValue"], # required
7953
+ # },
7954
+ # ],
7955
+ # },
7956
+ # approval_rules: {
7957
+ # patch_rules: [ # required
7958
+ # {
7959
+ # patch_filter_group: { # required
7960
+ # patch_filters: [ # required
7961
+ # {
7962
+ # 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
7963
+ # values: ["PatchFilterValue"], # required
7964
+ # },
7965
+ # ],
7966
+ # },
7967
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
7968
+ # approve_after_days: 1,
7969
+ # approve_until_date: "PatchStringDateTime",
7970
+ # enable_non_security: false,
7971
+ # },
7972
+ # ],
7973
+ # },
7974
+ # approved_patches: ["PatchId"],
7975
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
7976
+ # rejected_patches: ["PatchId"],
7977
+ # rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
7978
+ # approved_patches_enable_non_security: false,
7979
+ # sources: [
7980
+ # {
7981
+ # name: "PatchSourceName", # required
7982
+ # products: ["PatchSourceProduct"], # required
7983
+ # configuration: "PatchSourceConfiguration", # required
7984
+ # },
7985
+ # ],
7986
+ # },
7756
7987
  # }
7757
7988
  #
7758
7989
  # @!attribute [rw] instance_id
@@ -7764,11 +7995,16 @@ module Aws::SSM
7764
7995
  # The user-defined snapshot ID.
7765
7996
  # @return [String]
7766
7997
  #
7998
+ # @!attribute [rw] baseline_override
7999
+ # Defines the basic information about a patch baseline override.
8000
+ # @return [Types::BaselineOverride]
8001
+ #
7767
8002
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceRequest AWS API Documentation
7768
8003
  #
7769
8004
  class GetDeployablePatchSnapshotForInstanceRequest < Struct.new(
7770
8005
  :instance_id,
7771
- :snapshot_id)
8006
+ :snapshot_id,
8007
+ :baseline_override)
7772
8008
  SENSITIVE = []
7773
8009
  include Aws::Structure
7774
8010
  end
@@ -9227,6 +9463,8 @@ module Aws::SSM
9227
9463
  #
9228
9464
  # @!attribute [rw] setting_id
9229
9465
  # The ID of the service setting to get. The setting ID can be
9466
+ # `/ssm/automation/customer-script-log-destination`,
9467
+ # `/ssm/automation/customer-script-log-group-name`,
9230
9468
  # `/ssm/parameter-store/default-parameter-tier`,
9231
9469
  # `/ssm/parameter-store/high-throughput-enabled`, or
9232
9470
  # `/ssm/managed-instance/activation-tier`.
@@ -9380,6 +9618,14 @@ module Aws::SSM
9380
9618
 
9381
9619
  # An S3 bucket where you want to store the results of this request.
9382
9620
  #
9621
+ # For the minimal permissions required to enable Amazon S3 output for an
9622
+ # association, see [Creating associations][1] in the *Systems Manager
9623
+ # User Guide*.
9624
+ #
9625
+ #
9626
+ #
9627
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-state-assoc.html
9628
+ #
9383
9629
  # @note When making an API call, you may pass InstanceAssociationOutputLocation
9384
9630
  # data as a hash:
9385
9631
  #
@@ -9684,6 +9930,11 @@ module Aws::SSM
9684
9930
  #
9685
9931
  # "InstanceIds"\|"AgentVersion"\|"PingStatus"\|"PlatformTypes"\|"ActivationIds"\|"IamRole"\|"ResourceType"\|"AssociationStatus"\|"Tag
9686
9932
  # Key"
9933
+ #
9934
+ # `Tag key` is not a valid filter. You must specify either `tag-key`
9935
+ # or `tag:keyname` and a string. Here are some valid examples:
9936
+ # tag-key, tag:123, tag:al!, tag:Windows. Here are some *invalid*
9937
+ # examples: tag-keys, Tag Key, tag:, tagKey, abc:keyname.
9687
9938
  # @return [String]
9688
9939
  #
9689
9940
  # @!attribute [rw] values
@@ -9834,6 +10085,28 @@ module Aws::SSM
9834
10085
  # patches might not be in effect until a reboot is performed.
9835
10086
  # @return [String]
9836
10087
  #
10088
+ # @!attribute [rw] critical_non_compliant_count
10089
+ # The number of instances where patches that are specified as
10090
+ # "Critical" for compliance reporting in the patch baseline are not
10091
+ # installed. These patches might be missing, have failed installation,
10092
+ # were rejected, or were installed but awaiting a required instance
10093
+ # reboot. The status of these instances is `NON_COMPLIANT`.
10094
+ # @return [Integer]
10095
+ #
10096
+ # @!attribute [rw] security_non_compliant_count
10097
+ # The number of instances where patches that are specified as
10098
+ # "Security" in a patch advisory are not installed. These patches
10099
+ # might be missing, have failed installation, were rejected, or were
10100
+ # installed but awaiting a required instance reboot. The status of
10101
+ # these instances is `NON_COMPLIANT`.
10102
+ # @return [Integer]
10103
+ #
10104
+ # @!attribute [rw] other_non_compliant_count
10105
+ # The number of instances with patches installed that are specified as
10106
+ # other than "Critical" or "Security" but are not compliant with
10107
+ # the patch baseline. The status of these instances is NON\_COMPLIANT.
10108
+ # @return [Integer]
10109
+ #
9837
10110
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchState AWS API Documentation
9838
10111
  #
9839
10112
  class InstancePatchState < Struct.new(
@@ -9855,7 +10128,10 @@ module Aws::SSM
9855
10128
  :operation_end_time,
9856
10129
  :operation,
9857
10130
  :last_no_reboot_install_operation_time,
9858
- :reboot_option)
10131
+ :reboot_option,
10132
+ :critical_non_compliant_count,
10133
+ :security_non_compliant_count,
10134
+ :other_non_compliant_count)
9859
10135
  SENSITIVE = [:owner_information]
9860
10136
  include Aws::Structure
9861
10137
  end
@@ -11226,7 +11502,7 @@ module Aws::SSM
11226
11502
  #
11227
11503
  # @!attribute [rw] details
11228
11504
  # (Optional) If set this returns the response of the command
11229
- # executions and any command output. By default this is set to False.
11505
+ # executions and any command output. The default value is 'false'.
11230
11506
  # @return [Boolean]
11231
11507
  #
11232
11508
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsRequest AWS API Documentation
@@ -12019,7 +12295,7 @@ module Aws::SSM
12019
12295
  # data as a hash:
12020
12296
  #
12021
12297
  # {
12022
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
12298
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
12023
12299
  # resource_id: "ResourceId", # required
12024
12300
  # }
12025
12301
  #
@@ -14808,13 +15084,14 @@ module Aws::SSM
14808
15084
  # The number of days after the release date of each patch matched by
14809
15085
  # the rule that the patch is marked as approved in the patch baseline.
14810
15086
  # For example, a value of `7` means that patches are approved seven
14811
- # days after they are released. Not supported on Ubuntu Server.
15087
+ # days after they are released. Not supported on Debian Server or
15088
+ # Ubuntu Server.
14812
15089
  # @return [Integer]
14813
15090
  #
14814
15091
  # @!attribute [rw] approve_until_date
14815
15092
  # The cutoff date for auto approval of released patches. Any patches
14816
15093
  # released on or before this date are installed automatically. Not
14817
- # supported on Ubuntu Server.
15094
+ # supported on Debian Server or Ubuntu Server.
14818
15095
  #
14819
15096
  # Enter dates in the format `YYYY-MM-DD`. For example, `2020-12-31`.
14820
15097
  # @return [String]
@@ -15198,7 +15475,11 @@ module Aws::SSM
15198
15475
  # (case-insensitive).
15199
15476
  #
15200
15477
  # * Parameter names can include only the following symbols and
15201
- # letters: `a-zA-Z0-9_.-/`
15478
+ # letters: `a-zA-Z0-9_.-`
15479
+ #
15480
+ # In addition, the slash character ( / ) is used to delineate
15481
+ # hierarchies in parameter names. For example:
15482
+ # `/Dev/Production/East/Project-ABC/MyParameter`
15202
15483
  #
15203
15484
  # * A parameter name can't include spaces.
15204
15485
  #
@@ -15206,8 +15487,8 @@ module Aws::SSM
15206
15487
  # levels.
15207
15488
  #
15208
15489
  # For additional information about valid values for parameter names,
15209
- # see [About requirements and constraints for parameter names][1] in
15210
- # the *AWS Systems Manager User Guide*.
15490
+ # see [Creating Systems Manager parameters][1] in the *AWS Systems
15491
+ # Manager User Guide*.
15211
15492
  #
15212
15493
  # <note markdown="1"> The maximum length constraint listed below includes capacity for
15213
15494
  # additional system attributes that are not part of the name. The
@@ -15221,7 +15502,7 @@ module Aws::SSM
15221
15502
  #
15222
15503
  #
15223
15504
  #
15224
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html
15505
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
15225
15506
  # @return [String]
15226
15507
  #
15227
15508
  # @!attribute [rw] description
@@ -15280,8 +15561,7 @@ module Aws::SSM
15280
15561
  # @return [String]
15281
15562
  #
15282
15563
  # @!attribute [rw] overwrite
15283
- # Overwrite an existing parameter. If not specified, will default to
15284
- # "false".
15564
+ # Overwrite an existing parameter. The default value is 'false'.
15285
15565
  # @return [Boolean]
15286
15566
  #
15287
15567
  # @!attribute [rw] allowed_pattern
@@ -15587,6 +15867,14 @@ module Aws::SSM
15587
15867
  # The targets to register with the maintenance window. In other words,
15588
15868
  # the instances to run commands on when the maintenance window runs.
15589
15869
  #
15870
+ # <note markdown="1"> If a single maintenance window task is registered with multiple
15871
+ # targets, its task invocations occur sequentially and not in
15872
+ # parallel. If your task must run on multiple targets at the same
15873
+ # time, register a task for each target individually and assign each
15874
+ # task the same priority level.
15875
+ #
15876
+ # </note>
15877
+ #
15590
15878
  # You can specify targets using instance IDs, resource group names, or
15591
15879
  # tags that have been applied to instances.
15592
15880
  #
@@ -15942,7 +16230,7 @@ module Aws::SSM
15942
16230
  # data as a hash:
15943
16231
  #
15944
16232
  # {
15945
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
16233
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
15946
16234
  # resource_id: "ResourceId", # required
15947
16235
  # tag_keys: ["TagKey"], # required
15948
16236
  # }
@@ -15967,6 +16255,15 @@ module Aws::SSM
15967
16255
  #
15968
16256
  # PatchBaseline: pb-012345abcde
15969
16257
  #
16258
+ # OpsMetadata object: `ResourceID` for tagging is created from the
16259
+ # Amazon Resource Name (ARN) for the object. Specifically,
16260
+ # `ResourceID` is created from the strings that come after the word
16261
+ # `opsmetadata` in the ARN. For example, an OpsMetadata object with an
16262
+ # ARN of
16263
+ # `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
16264
+ # has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
16265
+ # `/aws/ssm/MyGroup/appmanager`.
16266
+ #
15970
16267
  # For the Document and Parameter values, use the name of the resource.
15971
16268
  #
15972
16269
  # <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
@@ -16005,7 +16302,9 @@ module Aws::SSM
16005
16302
  #
16006
16303
  # @!attribute [rw] setting_id
16007
16304
  # The Amazon Resource Name (ARN) of the service setting to reset. The
16008
- # setting ID can be `/ssm/parameter-store/default-parameter-tier`,
16305
+ # setting ID can be `/ssm/automation/customer-script-log-destination`,
16306
+ # `/ssm/automation/customer-script-log-group-name`,
16307
+ # `/ssm/parameter-store/default-parameter-tier`,
16009
16308
  # `/ssm/parameter-store/high-throughput-enabled`, or
16010
16309
  # `/ssm/managed-instance/activation-tier`. For example,
16011
16310
  # `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
@@ -16402,6 +16701,7 @@ module Aws::SSM
16402
16701
  # },
16403
16702
  # source_regions: ["ResourceDataSyncSourceRegion"], # required
16404
16703
  # include_future_regions: false,
16704
+ # enable_all_ops_data_sources: false,
16405
16705
  # }
16406
16706
  #
16407
16707
  # @!attribute [rw] source_type
@@ -16425,13 +16725,27 @@ module Aws::SSM
16425
16725
  # Regions when those Regions come online.
16426
16726
  # @return [Boolean]
16427
16727
  #
16728
+ # @!attribute [rw] enable_all_ops_data_sources
16729
+ # When you create a resource data sync, if you choose one of the AWS
16730
+ # Organizations options, then Systems Manager automatically enables
16731
+ # all OpsData sources in the selected AWS Regions for all AWS accounts
16732
+ # in your organization (or in the selected organization units). For
16733
+ # more information, see [About multiple account and Region resource
16734
+ # data syncs][1] in the *AWS Systems Manager User Guide*.
16735
+ #
16736
+ #
16737
+ #
16738
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html
16739
+ # @return [Boolean]
16740
+ #
16428
16741
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncSource AWS API Documentation
16429
16742
  #
16430
16743
  class ResourceDataSyncSource < Struct.new(
16431
16744
  :source_type,
16432
16745
  :aws_organizations_source,
16433
16746
  :source_regions,
16434
- :include_future_regions)
16747
+ :include_future_regions,
16748
+ :enable_all_ops_data_sources)
16435
16749
  SENSITIVE = []
16436
16750
  include Aws::Structure
16437
16751
  end
@@ -16488,6 +16802,19 @@ module Aws::SSM
16488
16802
  # organization in AWS Organizations.
16489
16803
  # @return [String]
16490
16804
  #
16805
+ # @!attribute [rw] enable_all_ops_data_sources
16806
+ # When you create a resource data sync, if you choose one of the AWS
16807
+ # Organizations options, then Systems Manager automatically enables
16808
+ # all OpsData sources in the selected AWS Regions for all AWS accounts
16809
+ # in your organization (or in the selected organization units). For
16810
+ # more information, see [About multiple account and Region resource
16811
+ # data syncs][1] in the *AWS Systems Manager User Guide*.
16812
+ #
16813
+ #
16814
+ #
16815
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html
16816
+ # @return [Boolean]
16817
+ #
16491
16818
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncSourceWithState AWS API Documentation
16492
16819
  #
16493
16820
  class ResourceDataSyncSourceWithState < Struct.new(
@@ -16495,7 +16822,8 @@ module Aws::SSM
16495
16822
  :aws_organizations_source,
16496
16823
  :source_regions,
16497
16824
  :include_future_regions,
16498
- :state)
16825
+ :state,
16826
+ :enable_all_ops_data_sources)
16499
16827
  SENSITIVE = []
16500
16828
  include Aws::Structure
16501
16829
  end
@@ -17605,6 +17933,8 @@ module Aws::SSM
17605
17933
  # value: "TagValue", # required
17606
17934
  # },
17607
17935
  # ],
17936
+ # scheduled_end_time: Time.now,
17937
+ # change_details: "ChangeDetailsValue",
17608
17938
  # }
17609
17939
  #
17610
17940
  # @!attribute [rw] scheduled_time
@@ -17667,6 +17997,18 @@ module Aws::SSM
17667
17997
  # * `Key=Region,Value=us-east-2`
17668
17998
  # @return [Array<Types::Tag>]
17669
17999
  #
18000
+ # @!attribute [rw] scheduled_end_time
18001
+ # The time that the requester expects the runbook workflow related to
18002
+ # the change request to complete. The time is an estimate only that
18003
+ # the requester provides for reviewers.
18004
+ # @return [Time]
18005
+ #
18006
+ # @!attribute [rw] change_details
18007
+ # User-provided details about the change. If no details are provided,
18008
+ # content specified in the **Template information** section of the
18009
+ # associated change template is added.
18010
+ # @return [String]
18011
+ #
17670
18012
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecutionRequest AWS API Documentation
17671
18013
  #
17672
18014
  class StartChangeRequestExecutionRequest < Struct.new(
@@ -17677,7 +18019,9 @@ module Aws::SSM
17677
18019
  :change_request_name,
17678
18020
  :client_token,
17679
18021
  :runbooks,
17680
- :tags)
18022
+ :tags,
18023
+ :scheduled_end_time,
18024
+ :change_details)
17681
18025
  SENSITIVE = []
17682
18026
  include Aws::Structure
17683
18027
  end
@@ -18102,6 +18446,9 @@ module Aws::SSM
18102
18446
  # specified `tag:ServerRole`, you could specify `value:WebServer` to
18103
18447
  # run a command on instances that include EC2 tags of
18104
18448
  # `ServerRole,WebServer`.
18449
+ #
18450
+ # Depending on the type of `Target`, the maximum number of values for
18451
+ # a `Key` might be lower than the global maximum of 50.
18105
18452
  # @return [Array<String>]
18106
18453
  #
18107
18454
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target AWS API Documentation
@@ -18266,6 +18613,55 @@ module Aws::SSM
18266
18613
  include Aws::Structure
18267
18614
  end
18268
18615
 
18616
+ # @note When making an API call, you may pass UnlabelParameterVersionRequest
18617
+ # data as a hash:
18618
+ #
18619
+ # {
18620
+ # name: "PSParameterName", # required
18621
+ # parameter_version: 1, # required
18622
+ # labels: ["ParameterLabel"], # required
18623
+ # }
18624
+ #
18625
+ # @!attribute [rw] name
18626
+ # The parameter name of which you want to delete one or more labels.
18627
+ # @return [String]
18628
+ #
18629
+ # @!attribute [rw] parameter_version
18630
+ # The specific version of the parameter which you want to delete one
18631
+ # or more labels from. If it is not present, the call will fail.
18632
+ # @return [Integer]
18633
+ #
18634
+ # @!attribute [rw] labels
18635
+ # One or more labels to delete from the specified parameter version.
18636
+ # @return [Array<String>]
18637
+ #
18638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersionRequest AWS API Documentation
18639
+ #
18640
+ class UnlabelParameterVersionRequest < Struct.new(
18641
+ :name,
18642
+ :parameter_version,
18643
+ :labels)
18644
+ SENSITIVE = []
18645
+ include Aws::Structure
18646
+ end
18647
+
18648
+ # @!attribute [rw] removed_labels
18649
+ # A list of all labels deleted from the parameter.
18650
+ # @return [Array<String>]
18651
+ #
18652
+ # @!attribute [rw] invalid_labels
18653
+ # The labels that are not attached to the given parameter version.
18654
+ # @return [Array<String>]
18655
+ #
18656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersionResult AWS API Documentation
18657
+ #
18658
+ class UnlabelParameterVersionResult < Struct.new(
18659
+ :removed_labels,
18660
+ :invalid_labels)
18661
+ SENSITIVE = []
18662
+ include Aws::Structure
18663
+ end
18664
+
18269
18665
  # The calendar entry contained in the specified Systems Manager document
18270
18666
  # is not supported.
18271
18667
  #
@@ -18765,10 +19161,10 @@ module Aws::SSM
18765
19161
  # @return [String]
18766
19162
  #
18767
19163
  # @!attribute [rw] document_version
18768
- # (Required) The latest version of the document that you want to
18769
- # update. The latest document version can be specified using the
18770
- # $LATEST variable or by the version number. Updating a previous
18771
- # version of a document is not supported.
19164
+ # The version of the document that you want to update. Currently,
19165
+ # Systems Manager supports updating only the latest version of the
19166
+ # document. You can specify the version number of the latest version
19167
+ # or use the `$LATEST` variable.
18772
19168
  # @return [String]
18773
19169
  #
18774
19170
  # @!attribute [rw] document_format
@@ -19951,6 +20347,7 @@ module Aws::SSM
19951
20347
  # },
19952
20348
  # source_regions: ["ResourceDataSyncSourceRegion"], # required
19953
20349
  # include_future_regions: false,
20350
+ # enable_all_ops_data_sources: false,
19954
20351
  # },
19955
20352
  # }
19956
20353
  #
@@ -19997,6 +20394,10 @@ module Aws::SSM
19997
20394
  # `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
19998
20395
  # The setting ID can be one of the following.
19999
20396
  #
20397
+ # * `/ssm/automation/customer-script-log-destination`
20398
+ #
20399
+ # * `/ssm/automation/customer-script-log-group-name`
20400
+ #
20000
20401
  # * `/ssm/parameter-store/default-parameter-tier`
20001
20402
  #
20002
20403
  # * `/ssm/parameter-store/high-throughput-enabled`
@@ -20018,6 +20419,12 @@ module Aws::SSM
20018
20419
  # For the `/ssm/parameter-store/high-throughput-enabled`, and
20019
20420
  # `/ssm/managed-instance/activation-tier` setting IDs, the setting
20020
20421
  # value can be true or false.
20422
+ #
20423
+ # For the `/ssm/automation/customer-script-log-destination` setting
20424
+ # ID, the setting value can be CloudWatch.
20425
+ #
20426
+ # For the `/ssm/automation/customer-script-log-group-name` setting ID,
20427
+ # the setting value can be the name of a CloudWatch Logs log group.
20021
20428
  # @return [String]
20022
20429
  #
20023
20430
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation