aws-sdk-ssm 1.102.0 → 1.107.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -947,6 +948,7 @@ module Aws::SSM
947
948
  ResourceDataSyncCreatedTime = Shapes::TimestampShape.new(name: 'ResourceDataSyncCreatedTime')
948
949
  ResourceDataSyncDestinationDataSharing = Shapes::StructureShape.new(name: 'ResourceDataSyncDestinationDataSharing')
949
950
  ResourceDataSyncDestinationDataSharingType = Shapes::StringShape.new(name: 'ResourceDataSyncDestinationDataSharingType')
951
+ ResourceDataSyncEnableAllOpsDataSources = Shapes::BooleanShape.new(name: 'ResourceDataSyncEnableAllOpsDataSources')
950
952
  ResourceDataSyncIncludeFutureRegions = Shapes::BooleanShape.new(name: 'ResourceDataSyncIncludeFutureRegions')
951
953
  ResourceDataSyncInvalidConfigurationException = Shapes::StructureShape.new(name: 'ResourceDataSyncInvalidConfigurationException')
952
954
  ResourceDataSyncItem = Shapes::StructureShape.new(name: 'ResourceDataSyncItem')
@@ -1417,6 +1419,17 @@ module Aws::SSM
1417
1419
  AutomationStepNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1418
1420
  AutomationStepNotFoundException.struct_class = Types::AutomationStepNotFoundException
1419
1421
 
1422
+ BaselineOverride.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
1423
+ BaselineOverride.add_member(:global_filters, Shapes::ShapeRef.new(shape: PatchFilterGroup, location_name: "GlobalFilters"))
1424
+ BaselineOverride.add_member(:approval_rules, Shapes::ShapeRef.new(shape: PatchRuleGroup, location_name: "ApprovalRules"))
1425
+ BaselineOverride.add_member(:approved_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "ApprovedPatches"))
1426
+ BaselineOverride.add_member(:approved_patches_compliance_level, Shapes::ShapeRef.new(shape: PatchComplianceLevel, location_name: "ApprovedPatchesComplianceLevel"))
1427
+ BaselineOverride.add_member(:rejected_patches, Shapes::ShapeRef.new(shape: PatchIdList, location_name: "RejectedPatches"))
1428
+ BaselineOverride.add_member(:rejected_patches_action, Shapes::ShapeRef.new(shape: PatchAction, location_name: "RejectedPatchesAction"))
1429
+ BaselineOverride.add_member(:approved_patches_enable_non_security, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApprovedPatchesEnableNonSecurity"))
1430
+ BaselineOverride.add_member(:sources, Shapes::ShapeRef.new(shape: PatchSourceList, location_name: "Sources"))
1431
+ BaselineOverride.struct_class = Types::BaselineOverride
1432
+
1420
1433
  CalendarNameOrARNList.member = Shapes::ShapeRef.new(shape: CalendarNameOrARN)
1421
1434
 
1422
1435
  CancelCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location_name: "CommandId"))
@@ -1673,6 +1686,7 @@ module Aws::SSM
1673
1686
 
1674
1687
  CreateOpsMetadataRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: OpsMetadataResourceId, required: true, location_name: "ResourceId"))
1675
1688
  CreateOpsMetadataRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "Metadata"))
1689
+ CreateOpsMetadataRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1676
1690
  CreateOpsMetadataRequest.struct_class = Types::CreateOpsMetadataRequest
1677
1691
 
1678
1692
  CreateOpsMetadataResult.add_member(:ops_metadata_arn, Shapes::ShapeRef.new(shape: OpsMetadataArn, location_name: "OpsMetadataArn"))
@@ -2338,6 +2352,7 @@ module Aws::SSM
2338
2352
 
2339
2353
  GetDeployablePatchSnapshotForInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2340
2354
  GetDeployablePatchSnapshotForInstanceRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
2355
+ GetDeployablePatchSnapshotForInstanceRequest.add_member(:baseline_override, Shapes::ShapeRef.new(shape: BaselineOverride, location_name: "BaselineOverride"))
2341
2356
  GetDeployablePatchSnapshotForInstanceRequest.struct_class = Types::GetDeployablePatchSnapshotForInstanceRequest
2342
2357
 
2343
2358
  GetDeployablePatchSnapshotForInstanceResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
@@ -3869,6 +3884,7 @@ module Aws::SSM
3869
3884
  ResourceDataSyncSource.add_member(:aws_organizations_source, Shapes::ShapeRef.new(shape: ResourceDataSyncAwsOrganizationsSource, location_name: "AwsOrganizationsSource"))
3870
3885
  ResourceDataSyncSource.add_member(:source_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegionList, required: true, location_name: "SourceRegions"))
3871
3886
  ResourceDataSyncSource.add_member(:include_future_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncIncludeFutureRegions, location_name: "IncludeFutureRegions"))
3887
+ ResourceDataSyncSource.add_member(:enable_all_ops_data_sources, Shapes::ShapeRef.new(shape: ResourceDataSyncEnableAllOpsDataSources, location_name: "EnableAllOpsDataSources"))
3872
3888
  ResourceDataSyncSource.struct_class = Types::ResourceDataSyncSource
3873
3889
 
3874
3890
  ResourceDataSyncSourceRegionList.member = Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegion)
@@ -3878,6 +3894,7 @@ module Aws::SSM
3878
3894
  ResourceDataSyncSourceWithState.add_member(:source_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncSourceRegionList, location_name: "SourceRegions"))
3879
3895
  ResourceDataSyncSourceWithState.add_member(:include_future_regions, Shapes::ShapeRef.new(shape: ResourceDataSyncIncludeFutureRegions, location_name: "IncludeFutureRegions"))
3880
3896
  ResourceDataSyncSourceWithState.add_member(:state, Shapes::ShapeRef.new(shape: ResourceDataSyncState, location_name: "State"))
3897
+ ResourceDataSyncSourceWithState.add_member(:enable_all_ops_data_sources, Shapes::ShapeRef.new(shape: ResourceDataSyncEnableAllOpsDataSources, location_name: "EnableAllOpsDataSources"))
3881
3898
  ResourceDataSyncSourceWithState.struct_class = Types::ResourceDataSyncSourceWithState
3882
3899
 
3883
3900
  ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -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
@@ -1449,6 +1458,132 @@ module Aws::SSM
1449
1458
  include Aws::Structure
1450
1459
  end
1451
1460
 
1461
+ # Defines the basic information about a patch baseline override.
1462
+ #
1463
+ # @note When making an API call, you may pass BaselineOverride
1464
+ # data as a hash:
1465
+ #
1466
+ # {
1467
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
1468
+ # global_filters: {
1469
+ # patch_filters: [ # required
1470
+ # {
1471
+ # 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
1472
+ # values: ["PatchFilterValue"], # required
1473
+ # },
1474
+ # ],
1475
+ # },
1476
+ # approval_rules: {
1477
+ # patch_rules: [ # required
1478
+ # {
1479
+ # patch_filter_group: { # required
1480
+ # patch_filters: [ # required
1481
+ # {
1482
+ # 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
1483
+ # values: ["PatchFilterValue"], # required
1484
+ # },
1485
+ # ],
1486
+ # },
1487
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
1488
+ # approve_after_days: 1,
1489
+ # approve_until_date: "PatchStringDateTime",
1490
+ # enable_non_security: false,
1491
+ # },
1492
+ # ],
1493
+ # },
1494
+ # approved_patches: ["PatchId"],
1495
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
1496
+ # rejected_patches: ["PatchId"],
1497
+ # rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
1498
+ # approved_patches_enable_non_security: false,
1499
+ # sources: [
1500
+ # {
1501
+ # name: "PatchSourceName", # required
1502
+ # products: ["PatchSourceProduct"], # required
1503
+ # configuration: "PatchSourceConfiguration", # required
1504
+ # },
1505
+ # ],
1506
+ # }
1507
+ #
1508
+ # @!attribute [rw] operating_system
1509
+ # The operating system rule used by the patch baseline override.
1510
+ # @return [String]
1511
+ #
1512
+ # @!attribute [rw] global_filters
1513
+ # A set of patch filters, typically used for approval rules.
1514
+ # @return [Types::PatchFilterGroup]
1515
+ #
1516
+ # @!attribute [rw] approval_rules
1517
+ # A set of rules defining the approval rules for a patch baseline.
1518
+ # @return [Types::PatchRuleGroup]
1519
+ #
1520
+ # @!attribute [rw] approved_patches
1521
+ # A list of explicitly approved patches for the baseline.
1522
+ #
1523
+ # For information about accepted formats for lists of approved patches
1524
+ # and rejected patches, see [About package name formats for approved
1525
+ # and rejected patch lists][1] in the *AWS Systems Manager User
1526
+ # Guide*.
1527
+ #
1528
+ #
1529
+ #
1530
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
1531
+ # @return [Array<String>]
1532
+ #
1533
+ # @!attribute [rw] approved_patches_compliance_level
1534
+ # Defines the compliance level for approved patches. When an approved
1535
+ # patch is reported as missing, this value describes the severity of
1536
+ # the compliance violation.
1537
+ # @return [String]
1538
+ #
1539
+ # @!attribute [rw] rejected_patches
1540
+ # A list of explicitly rejected patches for the baseline.
1541
+ #
1542
+ # For information about accepted formats for lists of approved patches
1543
+ # and rejected patches, see [About package name formats for approved
1544
+ # and rejected patch lists][1] in the *AWS Systems Manager User
1545
+ # Guide*.
1546
+ #
1547
+ #
1548
+ #
1549
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-approved-rejected-package-name-formats.html
1550
+ # @return [Array<String>]
1551
+ #
1552
+ # @!attribute [rw] rejected_patches_action
1553
+ # The action for Patch Manager to take on patches included in the
1554
+ # RejectedPackages list. A patch can be allowed only if it is a
1555
+ # dependency of another package, or blocked entirely along with
1556
+ # packages that include it as a dependency.
1557
+ # @return [String]
1558
+ #
1559
+ # @!attribute [rw] approved_patches_enable_non_security
1560
+ # Indicates whether the list of approved patches includes non-security
1561
+ # updates that should be applied to the instances. The default value
1562
+ # is 'false'. Applies to Linux instances only.
1563
+ # @return [Boolean]
1564
+ #
1565
+ # @!attribute [rw] sources
1566
+ # Information about the patches to use to update the instances,
1567
+ # including target operating systems and source repositories. Applies
1568
+ # to Linux instances only.
1569
+ # @return [Array<Types::PatchSource>]
1570
+ #
1571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/BaselineOverride AWS API Documentation
1572
+ #
1573
+ class BaselineOverride < Struct.new(
1574
+ :operating_system,
1575
+ :global_filters,
1576
+ :approval_rules,
1577
+ :approved_patches,
1578
+ :approved_patches_compliance_level,
1579
+ :rejected_patches,
1580
+ :rejected_patches_action,
1581
+ :approved_patches_enable_non_security,
1582
+ :sources)
1583
+ SENSITIVE = []
1584
+ include Aws::Structure
1585
+ end
1586
+
1452
1587
  # @note When making an API call, you may pass CancelCommandRequest
1453
1588
  # data as a hash:
1454
1589
  #
@@ -2440,8 +2575,10 @@ module Aws::SSM
2440
2575
  # @return [Integer]
2441
2576
  #
2442
2577
  # @!attribute [rw] expiration_date
2443
- # The date by which this activation request should expire. The default
2444
- # value is 24 hours.
2578
+ # The date by which this activation request should expire, in
2579
+ # timestamp format, such as "2021-07-07T00:00:00". You can specify a
2580
+ # date up to 30 days in advance. If you don't provide an expiration
2581
+ # date, the activation code expires in 24 hours.
2445
2582
  # @return [Time]
2446
2583
  #
2447
2584
  # @!attribute [rw] tags
@@ -3506,6 +3643,12 @@ module Aws::SSM
3506
3643
  # value: "MetadataValueString",
3507
3644
  # },
3508
3645
  # },
3646
+ # tags: [
3647
+ # {
3648
+ # key: "TagKey", # required
3649
+ # value: "TagValue", # required
3650
+ # },
3651
+ # ],
3509
3652
  # }
3510
3653
  #
3511
3654
  # @!attribute [rw] resource_id
@@ -3516,11 +3659,25 @@ module Aws::SSM
3516
3659
  # Metadata for a new Application Manager application.
3517
3660
  # @return [Hash<String,Types::MetadataValue>]
3518
3661
  #
3662
+ # @!attribute [rw] tags
3663
+ # Optional metadata that you assign to a resource. You can specify a
3664
+ # maximum of five tags for an OpsMetadata object. Tags enable you to
3665
+ # categorize a resource in different ways, such as by purpose, owner,
3666
+ # or environment. For example, you might want to tag an OpsMetadata
3667
+ # object to identify an environment or target AWS Region. In this
3668
+ # case, you could specify the following key-value pairs:
3669
+ #
3670
+ # * `Key=Environment,Value=Production`
3671
+ #
3672
+ # * `Key=Region,Value=us-east-2`
3673
+ # @return [Array<Types::Tag>]
3674
+ #
3519
3675
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadataRequest AWS API Documentation
3520
3676
  #
3521
3677
  class CreateOpsMetadataRequest < Struct.new(
3522
3678
  :resource_id,
3523
- :metadata)
3679
+ :metadata,
3680
+ :tags)
3524
3681
  SENSITIVE = []
3525
3682
  include Aws::Structure
3526
3683
  end
@@ -3623,8 +3780,8 @@ module Aws::SSM
3623
3780
  # @return [Array<String>]
3624
3781
  #
3625
3782
  # @!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
3783
+ # Defines the compliance level for approved patches. When an approved
3784
+ # patch is reported as missing, this value describes the severity of
3628
3785
  # the compliance violation. The default value is UNSPECIFIED.
3629
3786
  # @return [String]
3630
3787
  #
@@ -3759,6 +3916,7 @@ module Aws::SSM
3759
3916
  # },
3760
3917
  # source_regions: ["ResourceDataSyncSourceRegion"], # required
3761
3918
  # include_future_regions: false,
3919
+ # enable_all_ops_data_sources: false,
3762
3920
  # },
3763
3921
  # }
3764
3922
  #
@@ -7478,12 +7636,14 @@ module Aws::SSM
7478
7636
  # @return [String]
7479
7637
  #
7480
7638
  # @!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.
7639
+ # The name of the plugin for which you want detailed results. If the
7640
+ # document contains only one plugin, you can omit the name and details
7641
+ # for that plugin are returned. If the document contains more than one
7642
+ # plugin, you must specify the name of the plugin for which you want
7643
+ # to view details.
7484
7644
  #
7485
- # Plugin names are also referred to as step names in Systems Manager
7486
- # documents.
7645
+ # Plugin names are also referred to as *step names* in Systems Manager
7646
+ # documents. For example, `aws:RunShellScript` is a plugin.
7487
7647
  # @return [String]
7488
7648
  #
7489
7649
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest AWS API Documentation
@@ -7520,8 +7680,8 @@ module Aws::SSM
7520
7680
  # @return [String]
7521
7681
  #
7522
7682
  # @!attribute [rw] plugin_name
7523
- # The name of the plugin for which you want detailed results. For
7524
- # example, aws:RunShellScript is a plugin.
7683
+ # The name of the plugin, or *step name*, for which details are
7684
+ # reported. For example, `aws:RunShellScript` is a plugin.
7525
7685
  # @return [String]
7526
7686
  #
7527
7687
  # @!attribute [rw] response_code
@@ -7753,6 +7913,47 @@ module Aws::SSM
7753
7913
  # {
7754
7914
  # instance_id: "InstanceId", # required
7755
7915
  # snapshot_id: "SnapshotId", # required
7916
+ # baseline_override: {
7917
+ # operating_system: "WINDOWS", # accepts WINDOWS, AMAZON_LINUX, AMAZON_LINUX_2, UBUNTU, REDHAT_ENTERPRISE_LINUX, SUSE, CENTOS, ORACLE_LINUX, DEBIAN, MACOS
7918
+ # global_filters: {
7919
+ # patch_filters: [ # required
7920
+ # {
7921
+ # 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
7922
+ # values: ["PatchFilterValue"], # required
7923
+ # },
7924
+ # ],
7925
+ # },
7926
+ # approval_rules: {
7927
+ # patch_rules: [ # required
7928
+ # {
7929
+ # patch_filter_group: { # required
7930
+ # patch_filters: [ # required
7931
+ # {
7932
+ # 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
7933
+ # values: ["PatchFilterValue"], # required
7934
+ # },
7935
+ # ],
7936
+ # },
7937
+ # compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
7938
+ # approve_after_days: 1,
7939
+ # approve_until_date: "PatchStringDateTime",
7940
+ # enable_non_security: false,
7941
+ # },
7942
+ # ],
7943
+ # },
7944
+ # approved_patches: ["PatchId"],
7945
+ # approved_patches_compliance_level: "CRITICAL", # accepts CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED
7946
+ # rejected_patches: ["PatchId"],
7947
+ # rejected_patches_action: "ALLOW_AS_DEPENDENCY", # accepts ALLOW_AS_DEPENDENCY, BLOCK
7948
+ # approved_patches_enable_non_security: false,
7949
+ # sources: [
7950
+ # {
7951
+ # name: "PatchSourceName", # required
7952
+ # products: ["PatchSourceProduct"], # required
7953
+ # configuration: "PatchSourceConfiguration", # required
7954
+ # },
7955
+ # ],
7956
+ # },
7756
7957
  # }
7757
7958
  #
7758
7959
  # @!attribute [rw] instance_id
@@ -7764,11 +7965,16 @@ module Aws::SSM
7764
7965
  # The user-defined snapshot ID.
7765
7966
  # @return [String]
7766
7967
  #
7968
+ # @!attribute [rw] baseline_override
7969
+ # Defines the basic information about a patch baseline override.
7970
+ # @return [Types::BaselineOverride]
7971
+ #
7767
7972
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceRequest AWS API Documentation
7768
7973
  #
7769
7974
  class GetDeployablePatchSnapshotForInstanceRequest < Struct.new(
7770
7975
  :instance_id,
7771
- :snapshot_id)
7976
+ :snapshot_id,
7977
+ :baseline_override)
7772
7978
  SENSITIVE = []
7773
7979
  include Aws::Structure
7774
7980
  end
@@ -9227,6 +9433,8 @@ module Aws::SSM
9227
9433
  #
9228
9434
  # @!attribute [rw] setting_id
9229
9435
  # The ID of the service setting to get. The setting ID can be
9436
+ # `/ssm/automation/customer-script-log-destination`,
9437
+ # `/ssm/automation/customer-script-log-group-name`,
9230
9438
  # `/ssm/parameter-store/default-parameter-tier`,
9231
9439
  # `/ssm/parameter-store/high-throughput-enabled`, or
9232
9440
  # `/ssm/managed-instance/activation-tier`.
@@ -9380,6 +9588,14 @@ module Aws::SSM
9380
9588
 
9381
9589
  # An S3 bucket where you want to store the results of this request.
9382
9590
  #
9591
+ # For the minimal permissions required to enable Amazon S3 output for an
9592
+ # association, see [Creating associations][1] in the *Systems Manager
9593
+ # User Guide*.
9594
+ #
9595
+ #
9596
+ #
9597
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-state-assoc.html
9598
+ #
9383
9599
  # @note When making an API call, you may pass InstanceAssociationOutputLocation
9384
9600
  # data as a hash:
9385
9601
  #
@@ -9684,6 +9900,11 @@ module Aws::SSM
9684
9900
  #
9685
9901
  # "InstanceIds"\|"AgentVersion"\|"PingStatus"\|"PlatformTypes"\|"ActivationIds"\|"IamRole"\|"ResourceType"\|"AssociationStatus"\|"Tag
9686
9902
  # Key"
9903
+ #
9904
+ # `Tag key` is not a valid filter. You must specify either `tag-key`
9905
+ # or `tag:keyname` and a string. Here are some valid examples:
9906
+ # tag-key, tag:123, tag:al!, tag:Windows. Here are some *invalid*
9907
+ # examples: tag-keys, Tag Key, tag:, tagKey, abc:keyname.
9687
9908
  # @return [String]
9688
9909
  #
9689
9910
  # @!attribute [rw] values
@@ -11631,13 +11852,19 @@ module Aws::SSM
11631
11852
  # @return [Array<Types::DocumentFilter>]
11632
11853
  #
11633
11854
  # @!attribute [rw] filters
11634
- # One or more DocumentKeyValuesFilter objects. Use a filter to return
11635
- # a more specific list of results. For keys, you can specify one or
11636
- # more key-value pair tags that have been applied to a document. Other
11637
- # valid keys include `Owner`, `Name`, `PlatformTypes`, `DocumentType`,
11638
- # and `TargetType`. For example, to return documents you own use
11639
- # `Key=Owner,Values=Self`. To specify a custom key-value pair, use the
11640
- # format `Key=tag:tagName,Values=valueName`.
11855
+ # One or more `DocumentKeyValuesFilter` objects. Use a filter to
11856
+ # return a more specific list of results. For keys, you can specify
11857
+ # one or more key-value pair tags that have been applied to a
11858
+ # document. Other valid keys include `Owner`, `Name`, `PlatformTypes`,
11859
+ # `DocumentType`, and `TargetType`. For example, to return documents
11860
+ # you own use `Key=Owner,Values=Self`. To specify a custom key-value
11861
+ # pair, use the format `Key=tag:tagName,Values=valueName`.
11862
+ #
11863
+ # <note markdown="1"> This API action only supports filtering documents by using a single
11864
+ # tag key and one or more tag values. For example:
11865
+ # `Key=tag:tagName,Values=valueName1,valueName2`
11866
+ #
11867
+ # </note>
11641
11868
  # @return [Array<Types::DocumentKeyValuesFilter>]
11642
11869
  #
11643
11870
  # @!attribute [rw] max_results
@@ -12013,7 +12240,7 @@ module Aws::SSM
12013
12240
  # data as a hash:
12014
12241
  #
12015
12242
  # {
12016
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
12243
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
12017
12244
  # resource_id: "ResourceId", # required
12018
12245
  # }
12019
12246
  #
@@ -14802,13 +15029,14 @@ module Aws::SSM
14802
15029
  # The number of days after the release date of each patch matched by
14803
15030
  # the rule that the patch is marked as approved in the patch baseline.
14804
15031
  # For example, a value of `7` means that patches are approved seven
14805
- # days after they are released. Not supported on Ubuntu Server.
15032
+ # days after they are released. Not supported on Debian Server or
15033
+ # Ubuntu Server.
14806
15034
  # @return [Integer]
14807
15035
  #
14808
15036
  # @!attribute [rw] approve_until_date
14809
15037
  # The cutoff date for auto approval of released patches. Any patches
14810
15038
  # released on or before this date are installed automatically. Not
14811
- # supported on Ubuntu Server.
15039
+ # supported on Debian Server or Ubuntu Server.
14812
15040
  #
14813
15041
  # Enter dates in the format `YYYY-MM-DD`. For example, `2020-12-31`.
14814
15042
  # @return [String]
@@ -15192,7 +15420,11 @@ module Aws::SSM
15192
15420
  # (case-insensitive).
15193
15421
  #
15194
15422
  # * Parameter names can include only the following symbols and
15195
- # letters: `a-zA-Z0-9_.-/`
15423
+ # letters: `a-zA-Z0-9_.-`
15424
+ #
15425
+ # In addition, the slash character ( / ) is used to delineate
15426
+ # hierarchies in parameter names. For example:
15427
+ # `/Dev/Production/East/Project-ABC/MyParameter`
15196
15428
  #
15197
15429
  # * A parameter name can't include spaces.
15198
15430
  #
@@ -15200,8 +15432,8 @@ module Aws::SSM
15200
15432
  # levels.
15201
15433
  #
15202
15434
  # For additional information about valid values for parameter names,
15203
- # see [About requirements and constraints for parameter names][1] in
15204
- # the *AWS Systems Manager User Guide*.
15435
+ # see [Creating Systems Manager parameters][1] in the *AWS Systems
15436
+ # Manager User Guide*.
15205
15437
  #
15206
15438
  # <note markdown="1"> The maximum length constraint listed below includes capacity for
15207
15439
  # additional system attributes that are not part of the name. The
@@ -15215,7 +15447,7 @@ module Aws::SSM
15215
15447
  #
15216
15448
  #
15217
15449
  #
15218
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html
15450
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html
15219
15451
  # @return [String]
15220
15452
  #
15221
15453
  # @!attribute [rw] description
@@ -15581,6 +15813,14 @@ module Aws::SSM
15581
15813
  # The targets to register with the maintenance window. In other words,
15582
15814
  # the instances to run commands on when the maintenance window runs.
15583
15815
  #
15816
+ # <note markdown="1"> If a single maintenance window task is registered with multiple
15817
+ # targets, its task invocations occur sequentially and not in
15818
+ # parallel. If your task must run on multiple targets at the same
15819
+ # time, register a task for each target individually and assign each
15820
+ # task the same priority level.
15821
+ #
15822
+ # </note>
15823
+ #
15584
15824
  # You can specify targets using instance IDs, resource group names, or
15585
15825
  # tags that have been applied to instances.
15586
15826
  #
@@ -15936,7 +16176,7 @@ module Aws::SSM
15936
16176
  # data as a hash:
15937
16177
  #
15938
16178
  # {
15939
- # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem
16179
+ # resource_type: "Document", # required, accepts Document, ManagedInstance, MaintenanceWindow, Parameter, PatchBaseline, OpsItem, OpsMetadata
15940
16180
  # resource_id: "ResourceId", # required
15941
16181
  # tag_keys: ["TagKey"], # required
15942
16182
  # }
@@ -15961,6 +16201,15 @@ module Aws::SSM
15961
16201
  #
15962
16202
  # PatchBaseline: pb-012345abcde
15963
16203
  #
16204
+ # OpsMetadata object: `ResourceID` for tagging is created from the
16205
+ # Amazon Resource Name (ARN) for the object. Specifically,
16206
+ # `ResourceID` is created from the strings that come after the word
16207
+ # `opsmetadata` in the ARN. For example, an OpsMetadata object with an
16208
+ # ARN of
16209
+ # `arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager`
16210
+ # has a `ResourceID` of either `aws/ssm/MyGroup/appmanager` or
16211
+ # `/aws/ssm/MyGroup/appmanager`.
16212
+ #
15964
16213
  # For the Document and Parameter values, use the name of the resource.
15965
16214
  #
15966
16215
  # <note markdown="1"> The ManagedInstance type for this API action is only for on-premises
@@ -15999,7 +16248,9 @@ module Aws::SSM
15999
16248
  #
16000
16249
  # @!attribute [rw] setting_id
16001
16250
  # The Amazon Resource Name (ARN) of the service setting to reset. The
16002
- # setting ID can be `/ssm/parameter-store/default-parameter-tier`,
16251
+ # setting ID can be `/ssm/automation/customer-script-log-destination`,
16252
+ # `/ssm/automation/customer-script-log-group-name`,
16253
+ # `/ssm/parameter-store/default-parameter-tier`,
16003
16254
  # `/ssm/parameter-store/high-throughput-enabled`, or
16004
16255
  # `/ssm/managed-instance/activation-tier`. For example,
16005
16256
  # `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
@@ -16396,6 +16647,7 @@ module Aws::SSM
16396
16647
  # },
16397
16648
  # source_regions: ["ResourceDataSyncSourceRegion"], # required
16398
16649
  # include_future_regions: false,
16650
+ # enable_all_ops_data_sources: false,
16399
16651
  # }
16400
16652
  #
16401
16653
  # @!attribute [rw] source_type
@@ -16419,13 +16671,27 @@ module Aws::SSM
16419
16671
  # Regions when those Regions come online.
16420
16672
  # @return [Boolean]
16421
16673
  #
16674
+ # @!attribute [rw] enable_all_ops_data_sources
16675
+ # When you create a resource data sync, if you choose one of the AWS
16676
+ # Organizations options, then Systems Manager automatically enables
16677
+ # all OpsData sources in the selected AWS Regions for all AWS accounts
16678
+ # in your organization (or in the selected organization units). For
16679
+ # more information, see [About multiple account and Region resource
16680
+ # data syncs][1] in the *AWS Systems Manager User Guide*.
16681
+ #
16682
+ #
16683
+ #
16684
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html
16685
+ # @return [Boolean]
16686
+ #
16422
16687
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncSource AWS API Documentation
16423
16688
  #
16424
16689
  class ResourceDataSyncSource < Struct.new(
16425
16690
  :source_type,
16426
16691
  :aws_organizations_source,
16427
16692
  :source_regions,
16428
- :include_future_regions)
16693
+ :include_future_regions,
16694
+ :enable_all_ops_data_sources)
16429
16695
  SENSITIVE = []
16430
16696
  include Aws::Structure
16431
16697
  end
@@ -16482,6 +16748,19 @@ module Aws::SSM
16482
16748
  # organization in AWS Organizations.
16483
16749
  # @return [String]
16484
16750
  #
16751
+ # @!attribute [rw] enable_all_ops_data_sources
16752
+ # When you create a resource data sync, if you choose one of the AWS
16753
+ # Organizations options, then Systems Manager automatically enables
16754
+ # all OpsData sources in the selected AWS Regions for all AWS accounts
16755
+ # in your organization (or in the selected organization units). For
16756
+ # more information, see [About multiple account and Region resource
16757
+ # data syncs][1] in the *AWS Systems Manager User Guide*.
16758
+ #
16759
+ #
16760
+ #
16761
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html
16762
+ # @return [Boolean]
16763
+ #
16485
16764
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncSourceWithState AWS API Documentation
16486
16765
  #
16487
16766
  class ResourceDataSyncSourceWithState < Struct.new(
@@ -16489,7 +16768,8 @@ module Aws::SSM
16489
16768
  :aws_organizations_source,
16490
16769
  :source_regions,
16491
16770
  :include_future_regions,
16492
- :state)
16771
+ :state,
16772
+ :enable_all_ops_data_sources)
16493
16773
  SENSITIVE = []
16494
16774
  include Aws::Structure
16495
16775
  end
@@ -18096,6 +18376,9 @@ module Aws::SSM
18096
18376
  # specified `tag:ServerRole`, you could specify `value:WebServer` to
18097
18377
  # run a command on instances that include EC2 tags of
18098
18378
  # `ServerRole,WebServer`.
18379
+ #
18380
+ # Depending on the type of `Target`, the maximum number of values for
18381
+ # a `Key` might be lower than the global maximum of 50.
18099
18382
  # @return [Array<String>]
18100
18383
  #
18101
18384
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Target AWS API Documentation
@@ -19945,6 +20228,7 @@ module Aws::SSM
19945
20228
  # },
19946
20229
  # source_regions: ["ResourceDataSyncSourceRegion"], # required
19947
20230
  # include_future_regions: false,
20231
+ # enable_all_ops_data_sources: false,
19948
20232
  # },
19949
20233
  # }
19950
20234
  #
@@ -19991,6 +20275,10 @@ module Aws::SSM
19991
20275
  # `arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled`.
19992
20276
  # The setting ID can be one of the following.
19993
20277
  #
20278
+ # * `/ssm/automation/customer-script-log-destination`
20279
+ #
20280
+ # * `/ssm/automation/customer-script-log-group-name`
20281
+ #
19994
20282
  # * `/ssm/parameter-store/default-parameter-tier`
19995
20283
  #
19996
20284
  # * `/ssm/parameter-store/high-throughput-enabled`
@@ -20012,6 +20300,12 @@ module Aws::SSM
20012
20300
  # For the `/ssm/parameter-store/high-throughput-enabled`, and
20013
20301
  # `/ssm/managed-instance/activation-tier` setting IDs, the setting
20014
20302
  # value can be true or false.
20303
+ #
20304
+ # For the `/ssm/automation/customer-script-log-destination` setting
20305
+ # ID, the setting value can be CloudWatch.
20306
+ #
20307
+ # For the `/ssm/automation/customer-script-log-group-name` setting ID,
20308
+ # the setting value can be the name of a CloudWatch Logs log group.
20015
20309
  # @return [String]
20016
20310
  #
20017
20311
  # @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest AWS API Documentation